Soil, Dirt & Earthworks Dirt/Soil Volume Calculator

Whether you’re filling a raised bed, leveling a lawn, or excavating for a patio, knowing how much soil or dirt you need saves time, money, and frustration. Buying too little means another trip to the garden center; buying too much leaves you with a pile of leftover material. This calculator helps you accurately estimate volume in cubic yards, cubic feet, or even bags, taking into account compaction, moisture, and delivery costs. Learn how to measure irregular shapes, convert between units, and choose the right type of soil for your project.



Why Accurate Volume Calculation Matters

Soil and dirt are sold by volume (cubic yards or cubic feet) or by weight (tons). Misestimating can lead to:

  • Cost overruns – Extra delivery fees, excess material you can’t return.
  • Project delays – Running out mid‑job means waiting for another delivery.
  • Improper soil depth – Gardens need 6–12 inches of quality soil; too little and plants struggle.
  • Wasted effort – Moving extra dirt is hard work, and disposing of it can be expensive.

A precise volume estimate lets you order exactly what you need, schedule deliveries efficiently, and budget accurately.

Basic Volume Formulas

For simple rectangular or circular areas, volume is:

Rectangular area (raised bed, trench):

Volume = Length × Width × Depth

Circular area (tree ring, round planter):

Volume = π × Radius² × Depth   (π ≈ 3.1416)

Triangular area (sloped beds):

Volume = ½ × Base × Height × Depth

All measurements must be in the same units (feet, yards, inches). Our calculator handles these shapes and more—you can even combine multiple shapes for complex landscapes.

Converting Between Units

Soil is typically sold in cubic yards (yd³) for bulk deliveries and cubic feet (ft³) for bagged products. Conversion is straightforward:

1 cubic yard = 27 cubic feet
1 cubic foot = 0.037 cubic yards

Bagged soil: Most bags are labeled in cubic feet (e.g., 1.5 ft³). To find how many bags you need:

Bags Needed = Total Volume (ft³) ÷ Bag Size (ft³)

Bulk soil: Delivery trucks usually carry 10–20 cubic yards. To convert your volume to cubic yards:

Cubic Yards = Total Volume (ft³) ÷ 27

Weight considerations: Soil weight varies by moisture and composition. A cubic yard of dry topsoil weighs about 2,000 lbs (1 ton); wet clay can exceed 3,000 lbs. If ordering by weight, use the supplier’s conversion factor.

Step‑by‑Step Example: Raised Bed

You’re building a raised bed that is 8 feet long, 4 feet wide, and you want 10 inches of soil.

Step 1: Convert depth to feet – 10 inches ÷ 12 = 0.833 feet.

Step 2: Calculate volume in cubic feet – 8 × 4 × 0.833 = 26.66 ft³.

Step 3: Convert to cubic yards – 26.66 ÷ 27 = 0.99 yd³ (about 1 cubic yard).

Step 4: Decide on bags or bulk – If buying 1.5 ft³ bags: 26.66 ÷ 1.5 = 17.8 bags → round up to 18 bags.

Step 5: Adjust for compaction – Fresh soil settles about 10–15%. Add 15% to your volume: 26.66 × 1.15 = 30.66 ft³ → 21 bags.

Our calculator includes a compaction adjustment slider so you don’t have to do the math.

Soil Volume Table for Common Projects

The table below gives quick estimates for typical projects (assuming 6‑inch depth unless noted).

Project Dimensions (ft) Volume (cubic feet) Volume (cubic yards) Bags (1.5 ft³)
Small raised bed 4×8×0.5 16 0.6 11
Large raised bed 12×4×1.0 48 1.8 32
Lawn leveling (1,000 sq ft) 50×20×0.167 (2″) 167 6.2 112
Tree ring (3 ft radius) radius 3, depth 0.5 14.1 0.52 10
Vegetable garden (20×10) 20×10×0.5 100 3.7 67
French trench (30×1×2) 30×1×2 60 2.2 40
Potting bench mix 3×2×0.25 1.5 0.056 1

Note: Depth is in feet (6 inches = 0.5 ft). Adjust for your specific depth.

Factors Affecting Soil Volume

Compaction

Loose soil can settle 10–30% over time, especially when wet. For permanent installations, add 15–20% to your calculated volume.

Moisture Content

Wet soil is heavier and more compact. If you’re moving soil by hand, consider ordering slightly less to reduce weight.

Soil Type

  • Topsoil – Typically sold loose; settles moderately.
  • Fill dirt – Often contains clay and rocks; settles less but is harder to spread.
  • Compost – Very light and fluffy; can settle up to 50% over a few months.
  • Sand – Heavy, minimal settling.

Slope and Terrain

On sloped ground, average the depth across the area. For irregular terrain, break the area into smaller rectangles or triangles.

Delivery Minimums

Many suppliers have a minimum delivery (e.g., 5 cubic yards). If your project needs less, you may need to buy bags or pay a “short‑load” fee.

Best Practices for Ordering Soil

  1. Measure twice, order once – Use a tape measure, not pacing. For large areas, use a measuring wheel or GPS app.
  2. Sketch the area – Draw a simple diagram with dimensions and depths; this helps the supplier confirm your estimate.
  3. Ask about composition – “Topsoil” can mean different things. Ask for a blend that matches your purpose (e.g., garden mix vs. lawn mix).
  4. Consider access – Ensure the delivery truck can reach your site; otherwise, you’ll need to move the soil by wheelbarrow—factor in extra labor.
  5. Order a little extra – It’s better to have 5% left over than to run short. Leftover soil can be used for potted plants or minor fill.
  6. Check for contaminants – If you’re growing edibles, ask for soil test results or buy certified organic mixes.
  7. Schedule delivery wisely – Don’t have soil delivered right before rain; wet soil is harder to spread and can compact unevenly.

Common Mistakes to Avoid

  • Forgetting to convert units – Mixing feet and inches leads to wildly wrong numbers.
  • Ignoring compaction – Fresh soil looks like more than it is; account for settling.
  • Underestimating depth – Gardens need at least 6–8 inches of quality soil; 2–3 inches won’t support healthy roots.
  • Overlooking existing soil – You may not need to fill the entire depth if you’re improving existing soil. Till in compost instead of replacing.
  • Assuming all soil is the same – Fill dirt is cheap but terrible for planting. Match the soil type to the project.
  • Not checking local regulations – Some areas restrict soil import/export due to invasive species or contamination.

Frequently Asked Questions

How do I measure an irregular shape?

Break it into rectangles, triangles, or circles. Measure each, calculate volume separately, and add them together. Our calculator has an “add shape” feature for this.

What’s the difference between dirt and soil?

“Dirt” often refers to subsoil or fill material—low in organic matter, may contain rocks and clay. “Soil” typically means topsoil or garden mix enriched with organic matter. Use dirt for fill, soil for planting.

Can I mix my own soil?

Yes. A common recipe is 50% topsoil, 30% compost, 20% sand or perlite. Mix thoroughly before spreading.

How much does a yard of soil cover?

One cubic yard spread 3 inches deep covers 108 square feet. Spread 6 inches deep covers 54 square feet. Use the formula:

Coverage Area (sq ft) = (27 × 12) ÷ Depth (inches)

Should I buy bagged or bulk?

Bagged is convenient for small projects (<1 yd³) and easier to handle. Bulk is cheaper per yard for larger projects but requires a place to dump and more labor.

How do I calculate soil for a sloped area?

Use the average depth. Measure depth at several points, add them together, divide by the number of points.

What about soil for pots and containers?

Use the same volume formulas (treat round pots as cylinders). Remember containers need drainage, so use potting mix, not garden soil.


Ready to Order the Right Amount?

Our Dirt/Soil Volume Calculator does the heavy lifting. Enter your shapes, dimensions, and desired depth—the tool instantly gives you volume in cubic yards, cubic feet, and number of bags. You can even compare prices between bulk and bagged options.

Tip: Bookmark this page for any landscaping, gardening, or construction project. Accurate volume estimates save money, reduce waste, and ensure your plants get the depth they need to thrive.