How to Calculate Cubic Feet of Dirt
Use this premium dirt volume calculator to estimate cubic feet, cubic yards, and approximate weight for soil, fill dirt, topsoil, compost, or garden mix. Enter your dimensions, choose units, and calculate the amount you need before ordering.
Expert Guide: How to Calculate Cubic Feet of Dirt Accurately
Knowing how to calculate cubic feet of dirt is one of the most useful skills for homeowners, landscapers, gardeners, and contractors. Dirt is usually bought by volume, often in cubic feet or cubic yards, and if your estimate is off, you can easily under-order or pay for more material than you need. Whether you are filling raised beds, leveling a yard, building planting areas, or preparing a foundation for landscaping, a correct volume calculation saves time, labor, delivery fees, and unnecessary waste.
At its core, dirt volume is simply the amount of three-dimensional space you need to fill. That means you need three measurements: length, width, and depth. Once you know those numbers in the same unit, you multiply them together to get cubic feet. If your project is circular instead of rectangular, you use the area of a circle first, then multiply by depth. The calculator above automates that process, but it is still important to understand the math so you can verify quotes, compare bulk delivery options, and avoid mistakes in the field.
The Basic Formula for Cubic Feet of Dirt
For a rectangular or square area, the standard formula is straightforward:
Cubic feet = Length × Width × DepthAll three measurements must be expressed in feet if you want the final answer in cubic feet. If you measure in inches, yards, or meters, you need to convert them first or use a calculator that does the conversion automatically. For example, if you have a flower bed that is 12 feet long, 4 feet wide, and 0.5 feet deep, the total volume is:
12 × 4 × 0.5 = 24 cubic feet
That means you need 24 cubic feet of dirt to fill that bed to a depth of 6 inches, because 6 inches is equal to 0.5 feet.
How to Convert Common Measurements Into Feet
Many measuring tapes and landscaping plans do not use decimal feet. Instead, you may have dimensions in inches, yards, or even meters. Conversion accuracy matters because a small mistake in depth can create a large error in the final volume. Use these standard conversions:
- Inches to feet: divide inches by 12
- Yards to feet: multiply yards by 3
- Meters to feet: multiply meters by 3.28084
Depth is where people most often go wrong. A bed that is 3 inches deep is not 0.3 feet; it is 3 ÷ 12 = 0.25 feet. A bed that is 8 inches deep is 0.667 feet. If you skip this conversion or estimate loosely, your dirt order can be significantly off.
Pro tip: Always convert all dimensions into the same unit before calculating. Mixed units are one of the most common sources of ordering errors.
Step-by-Step Example for a Rectangular Area
- Measure the length of the area.
- Measure the width of the area.
- Measure the intended depth of dirt.
- Convert every measurement into feet if needed.
- Multiply length × width × depth.
- Add a small extra allowance for settling, grading, uneven ground, and handling losses.
Suppose you are filling a raised garden bed measuring 10 feet long, 5 feet wide, and 8 inches deep. First convert 8 inches to feet:
8 ÷ 12 = 0.667 feet
Then calculate:
10 × 5 × 0.667 = 33.35 cubic feet
If you add 10% extra to account for settling and leveling, your adjusted total becomes about 36.69 cubic feet.
How to Calculate Cubic Feet of Dirt for Circular Areas
Not every landscaping job is a rectangle. Tree rings, circular planters, and round pads require a different formula because you need the area of a circle first. The formula for a circular area is:
Cubic feet = 3.1416 × Radius × Radius × DepthIf you only know the diameter, divide it by 2 to get the radius. For example, imagine a circular bed with a diameter of 8 feet and a soil depth of 0.5 feet. The radius is 4 feet, so:
3.1416 × 4 × 4 × 0.5 = 25.13 cubic feet
This is why the calculator above includes a shape selector. It changes the required dimensions so you can estimate dirt correctly for both rectangular and circular projects.
Cubic Feet vs Cubic Yards
Retail bags of soil are commonly labeled in cubic feet, while bulk landscape suppliers usually quote in cubic yards. Since many dirt delivery orders are placed by the yard, it helps to know the relationship:
1 cubic yard = 27 cubic feetTo convert cubic feet to cubic yards, divide by 27. For example, 54 cubic feet is exactly 2 cubic yards. If your project needs 81 cubic feet, then:
81 ÷ 27 = 3 cubic yards
This conversion is useful when deciding whether to buy bagged soil or schedule a truck delivery. Smaller projects may be easier with bags. Larger jobs usually become more economical in bulk.
| Volume Needed | Cubic Feet | Cubic Yards | Typical Use Case |
|---|---|---|---|
| Small planter refresh | 3 to 8 ft³ | 0.11 to 0.30 yd³ | Container gardening, spot patching, small decorative beds |
| Raised garden bed | 20 to 40 ft³ | 0.74 to 1.48 yd³ | Vegetable beds, herb gardens, modest border beds |
| Medium landscaping project | 40 to 108 ft³ | 1.48 to 4.00 yd³ | Yard leveling, planting strips, new soil installation |
| Large fill project | 108+ ft³ | 4.00+ yd³ | Grade correction, broad fill areas, major bed construction |
Why Weight Matters When Ordering Dirt
Volume tells you how much space the dirt occupies, but weight affects transportation, labor, and equipment needs. The same cubic foot of material can weigh very differently depending on moisture and composition. Compost can be much lighter than clay-heavy fill dirt. Wet soil is usually heavier than dry soil. Because truck capacity and trailer ratings are based on weight, not just volume, this is a critical detail when planning delivery or hauling material yourself.
The calculator estimates weight using common average densities expressed in pounds per cubic foot. These are practical planning numbers, not exact laboratory values, but they are useful for deciding whether your pickup, trailer, wheelbarrow, or skid steer can safely handle the load.
| Soil Material | Approximate Density | Estimated Weight per Cubic Yard | Planning Insight |
|---|---|---|---|
| Compost | 45 lb/ft³ | 1,215 lb/yd³ | Lighter, easier to move, often blended with topsoil rather than used alone for deep fills |
| Dry topsoil | 75 lb/ft³ | 2,025 lb/yd³ | Common for garden beds and grading in dry conditions |
| Moist topsoil | 85 lb/ft³ | 2,295 lb/yd³ | Typical delivered material after rainfall or storage exposure |
| Fill dirt | 90 lb/ft³ | 2,430 lb/yd³ | Useful for structural fill and rough grading, but often not ideal for planting |
| Clay-rich soil | 100 lb/ft³ | 2,700 lb/yd³ | Heavier, denser, and more demanding on hauling equipment |
How Many Bags of Dirt Do You Need?
If you are not buying in bulk, you may be purchasing bagged soil. Bags are commonly sold in sizes like 0.5 cubic feet, 0.75 cubic feet, 1 cubic foot, 1.5 cubic feet, or 2 cubic feet. To estimate the number of bags, divide your required cubic feet by the bag size.
For example, if your project needs 24 cubic feet and you are buying 1.5 cubic foot bags:
24 ÷ 1.5 = 16 bags
If you are buying 2 cubic foot bags:
24 ÷ 2 = 12 bags
Always round up. It is better to have a little extra than to stop mid-project because you came up short. Also remember that some packaged soils settle in the bag, and not all products perform the same after watering and compaction.
When to Add an Extra Allowance
Professionals rarely order the exact mathematical minimum. Real-world sites are uneven, and dirt often settles after watering, tamping, or natural consolidation. A practical extra allowance is usually 5% to 15%, depending on the job. The calculator includes this option because it reflects how soil ordering works in actual projects.
- 5% extra: flat surfaces with clean measurements and minimal waste
- 10% extra: common default for landscaping and raised bed work
- 15% extra: uneven terrain, rough grading, or uncertain measurements
If you are trying to build a perfectly level final grade, especially across a broad area, that extra allowance can prevent delays and re-delivery charges.
Common Mistakes People Make
- Using inches for depth without converting to feet first
- Measuring a sloped or irregular area as if it were perfectly flat
- Ignoring compaction and settling after watering
- Confusing cubic feet with square feet
- Ordering by volume without checking the weight for transport
- Using planting soil where structural fill dirt is needed, or the opposite
Square feet measures surface area. Cubic feet measures volume. This distinction matters. A 100 square foot bed filled to a depth of 6 inches needs 50 cubic feet of material, not 100 cubic feet, because the depth is half a foot.
Real-World Planning Example
Imagine you want to refresh a 15 foot by 8 foot garden area with 4 inches of topsoil. First convert 4 inches to feet:
4 ÷ 12 = 0.333 feet
Now calculate the volume:
15 × 8 × 0.333 = 39.96 cubic feet
Convert to cubic yards:
39.96 ÷ 27 = 1.48 cubic yards
If the soil is moist topsoil at about 85 pounds per cubic foot, the weight is:
39.96 × 85 = 3,396.6 pounds
With a 10% allowance, you would target about 43.96 cubic feet, or 1.63 cubic yards. This example shows why even a moderate landscaping project may exceed the safe payload of many personal vehicles.
How Professionals Measure Irregular Areas
Not every yard or bed is a perfect geometric shape. For irregular spaces, professionals often break the area into smaller rectangles and circles, calculate each part separately, then add them together. Another common method is to average several width measurements across the length of the site. For rough grading, crews may use elevation stakes, string lines, or laser levels to estimate average fill depth before ordering.
If your terrain varies significantly, calculate the project in sections rather than relying on one simple measurement. That approach produces a much more reliable dirt estimate and helps reduce costly guesswork.
Reliable Reference Sources
For measurement standards, soil properties, and gardening guidance, these authoritative sources are useful references:
- USDA Natural Resources Conservation Service
- University of Maryland Extension
- U.S. Environmental Protection Agency
Final Takeaway
If you want to calculate cubic feet of dirt, remember the core rule: measure the space, convert all dimensions into the same unit, and multiply area by depth. For rectangular spaces, use length × width × depth. For circular spaces, use pi × radius² × depth. Then convert to cubic yards if needed and estimate weight based on soil type. Finally, add a practical allowance for settling and field conditions.
With that process, you can order dirt more confidently, compare supplier quotes more accurately, and avoid the most common material estimation mistakes. Use the calculator above whenever you need a quick, reliable estimate for landscaping, topsoil installation, raised beds, or general fill work.