How to Calculate Cubic Feet of Dirt
Use this premium dirt volume calculator to estimate how much soil, fill dirt, compost, or topsoil you need for a garden bed, grading project, raised planter, or landscaping job. Enter your dimensions, choose the shape, and get cubic feet, cubic yards, bag counts, and an estimated weight range instantly.
The calculator supports rectangle and circle layouts, multiple measurement units, and an optional waste allowance to help you buy enough material the first time.
Dirt Volume Calculator
For circles, enter the diameter here.
Useful for settling, spillage, uneven grade, and compaction.
Bag Comparison Chart
Expert Guide: How to Calculate Cubic Feet of Dirt Accurately
If you are planning a landscaping or gardening project, one of the most practical skills you can learn is how to calculate cubic feet of dirt. This single number tells you how much soil, compost, topsoil, fill dirt, or blended growing media you need to buy or move. Whether you are filling a raised bed, leveling low spots in a yard, backfilling around a foundation, or preparing a planting area, understanding cubic feet helps you avoid two expensive problems: buying too little material and having to reorder, or buying too much and paying for excess delivery.
In simple terms, cubic feet measure volume, not area. Square feet tell you how much surface is covered, while cubic feet tell you how much three dimensional space is filled. Dirt has depth, so any proper estimate needs length, width, and depth. Once those three dimensions are expressed in feet, the formula becomes straightforward.
That formula works perfectly for rectangular or square areas, which covers many projects such as raised garden beds, trench backfill, retaining wall fill zones, and planting strips. If the area is circular, the formula changes slightly because you need the area of the circle first, then multiply by depth.
Why cubic feet matter when buying dirt
Bagged soil and bulk soil are commonly sold in different units. Small bags often list capacity in cubic feet. Bulk orders are frequently sold in cubic yards. Delivery companies may ask how many yards you need, while the label on a garden center bag may say 0.75 cubic foot or 1.5 cubic feet. Because of this, it helps to know the most important exact conversion in soil estimating:
| Volume Conversion | Exact Value | Why It Matters |
|---|---|---|
| 1 cubic yard | 27 cubic feet | Standard conversion used by soil suppliers, mulch yards, and landscape contractors |
| 1 foot | 12 inches | Needed when your project depth is measured in inches |
| 1 yard | 3 feet | Helpful when project dimensions are measured with long tape or contractor plans |
| 1 cubic meter | 35.3147 cubic feet | Useful when plans or supplier data are listed in metric units |
For example, suppose a raised bed is 12 feet long, 8 feet wide, and needs 4 inches of soil. Depth in inches must be converted to feet first. Since 4 inches is 4 ÷ 12 = 0.333 feet, the calculation becomes 12 × 8 × 0.333 = about 32 cubic feet. If you prefer cubic yards, divide by 27, which gives about 1.19 cubic yards.
Step by step method for rectangular areas
- Measure the length of the area.
- Measure the width of the area.
- Measure the depth of dirt needed.
- Convert all measurements to feet.
- Multiply length × width × depth.
- Add a small allowance if the surface is uneven or the material will settle.
This process works well for garden beds, soil replacement zones, trench fills, and many grading applications. If your measurements are irregular, divide the area into smaller rectangles, calculate each section separately, then add the volumes together.
How to handle depth measured in inches
Depth is often the place where people make mistakes. In many landscaping projects, the depth is not a whole foot. You might spread 2 inches of compost, 3 inches of topsoil, or 6 inches of fill dirt. To use the cubic feet formula correctly, convert those depths into feet:
- 2 inches = 0.167 feet
- 3 inches = 0.25 feet
- 4 inches = 0.333 feet
- 6 inches = 0.5 feet
- 8 inches = 0.667 feet
- 12 inches = 1 foot
As a practical example, imagine a lawn repair area measuring 20 feet by 15 feet where you want to add 3 inches of topsoil. The area is 300 square feet. Multiply by the depth in feet, 0.25. That yields 75 cubic feet of soil. Divide by 27 for bulk ordering and you get about 2.78 cubic yards.
How to calculate cubic feet of dirt for circular areas
Circular beds and tree rings require a different area formula. Instead of length times width, you use the area of a circle. Start with the diameter, divide by two to get the radius, then square the radius, multiply by 3.1416, and finally multiply by depth in feet.
Suppose a circular flower bed has a diameter of 10 feet and needs 5 inches of soil. The radius is 5 feet. Area is 3.1416 × 5 × 5 = 78.54 square feet. Depth is 5 ÷ 12 = 0.417 feet. Volume is 78.54 × 0.417 = about 32.75 cubic feet.
Bagged soil versus bulk soil
Once you know the total cubic feet required, the next decision is whether to buy bagged material or order in bulk. Bagged soil is convenient for small projects, but bulk delivery usually becomes more cost effective on medium and large jobs. A quick way to compare is to divide the total cubic feet needed by the cubic foot size printed on each bag.
| Common Bag Size | Volume per Bag | Bags Needed for 27 Cubic Feet | Bags Needed for 54 Cubic Feet |
|---|---|---|---|
| Small bag | 0.5 cubic foot | 54 bags | 108 bags |
| Standard garden bag | 0.75 cubic foot | 36 bags | 72 bags |
| Large bag | 1 cubic foot | 27 bags | 54 bags |
| Contractor size bag | 1.5 cubic foot | 18 bags | 36 bags |
| Extra large bag | 2 cubic feet | 14 bags | 27 bags |
This table shows why larger jobs are often better suited for bulk ordering. One cubic yard equals 27 cubic feet, so even a seemingly modest landscaping job may require dozens of bags.
Estimated weight of dirt
Volume tells you how much space the material occupies, but weight affects transportation and labor. Soil weight varies based on moisture, mineral content, and organic matter. Dry blended soils can be significantly lighter than wet topsoil or dense fill dirt. A useful field estimate is that many soils weigh roughly 75 to 100 pounds per cubic foot, though actual numbers can vary. That means 30 cubic feet of dirt may weigh around 2,250 to 3,000 pounds. Your calculator results include a range so you can think about truck payload, wheelbarrow loads, and delivery access.
For technical background on soil properties and physical behavior, useful references include the USDA Natural Resources Conservation Service, soil texture and management materials from University of Minnesota Extension, and stormwater or grading guidance published by agencies such as the U.S. Environmental Protection Agency. These resources help explain why compaction, drainage, and soil structure matter in addition to simple volume math.
Common mistakes when estimating dirt
- Using inches directly in the formula instead of converting depth to feet
- Measuring a sloped or uneven site as if it were perfectly level
- Ignoring the difference between loose soil and compacted fill
- Forgetting to subtract space occupied by edging, pavers, or structural elements
- Rounding too aggressively on large projects
- Assuming every bag contains exactly the same settled volume after storage
- Ordering no extra material for raking, grading, and touch ups
- Confusing square feet with cubic feet
Best practices for a more accurate estimate
- Take multiple depth readings if the ground is uneven and use the average depth.
- Divide irregular spaces into simple rectangles or circles.
- Convert every dimension into the same unit before calculating.
- Round final purchase quantities up, not down.
- Add 5 percent to 15 percent extra for most real world projects.
- Verify whether the supplier sells by loose volume or compacted in place volume.
Examples by project type
Raised bed: A bed 10 feet by 4 feet filled to a depth of 1 foot needs 40 cubic feet. That equals about 1.48 cubic yards.
Topdressing a lawn: A 500 square foot area covered with 2 inches of compost needs 500 × 0.167 = 83.5 cubic feet, or about 3.09 cubic yards.
Circular planting bed: A 6 foot diameter bed with 6 inches of soil requires 3.1416 × 3 × 3 × 0.5 = about 14.14 cubic feet.
Backfill trench: A trench 30 feet long, 1.5 feet wide, and 1 foot deep requires 45 cubic feet.
When to think beyond volume alone
Knowing how to calculate cubic feet of dirt is the starting point, but not the only factor in a successful project. The right soil type matters. Topsoil is commonly used for planting and surface improvement. Fill dirt is often used to change grade or fill voids because it contains less organic matter. Compost is used to improve fertility and structure. Raised bed mixes are designed for drainage and root growth. If you choose the wrong material, even a perfect volume estimate may not produce the outcome you want.
You should also think about drainage, compaction, and settlement. Freshly placed soil often settles over time, especially if it contains air pockets or is watered in. Some contractors intentionally overfill slightly to account for this. Likewise, very dry soils may fluff up in the truck but compact after spreading. This is one reason an allowance percentage is so helpful in a calculator.
Final takeaway
The most reliable way to calculate cubic feet of dirt is to measure the area carefully, convert every dimension into feet, apply the correct volume formula, and then add a sensible allowance. For rectangular areas, multiply length by width by depth. For circular areas, calculate the area of the circle and multiply by depth. Once you have cubic feet, convert to cubic yards for bulk orders or divide by bag size for retail purchases.
If you use the calculator above, you can estimate your dirt needs in seconds, compare bag sizes visually, and plan for delivery or pickup with greater confidence. That combination of simple math and practical planning is what keeps landscaping jobs efficient, cost conscious, and much less stressful.