Earthwork10 min read

How Much Dirt Do I Need? Raised Bed, Topsoil & Fill Dirt Guide

Calculate how much dirt you need for raised beds, grading, and landscaping. Covers topsoil vs fill dirt, cubic feet, settling, and bag vs bulk cost.

Quick answer

To calculate how much dirt you need, multiply length × width × depth (all in feet) for cubic feet, then divide by 27 for cubic yards. A 10 × 8 raised bed at 12 inches deep needs 80 cubic feet = 2.96 cubic yards. Add 15–25% for settling (topsoil settles 20–30%; fill dirt 10–15%). Multiply by density (1.0–1.25 tons/cu yd) for weight, or by price per cubic yard for cost.

The dirt calculation formula

The formula for calculating dirt volume is:

Cubic yards = (Length × Width × Depth in feet) ÷ 27

Convert depth from inches to feet by dividing by 12. A 6-inch depth is 0.5 feet; a 12-inch depth is 1 foot. The shortcut formula combines both steps:

Cubic yards = Square feet × Depth (inches) ÷ 324

For weight: US tons = Cubic yards × Density (tons per cubic yard)

For settling allowance: Order volume = Base volume × (1 + Settling %)

Step-by-step: How much dirt do I need?

  1. Measure the length and width of your project area in feet.
  2. Determine the depth needed (typically 4–12 inches depending on project).
  3. Calculate cubic feet: length × width × (depth ÷ 12).
  4. Convert to cubic yards: divide by 27.
  5. Add 15–25% for settling (topsoil settles more than fill dirt).
  6. Multiply by density for weight, or by price per cubic yard for cost.

Worked example: 10 × 8 raised bed at 12 inches deep, topsoil:

  • Cubic feet: 10 × 8 × 1 = 80 cu ft
  • Cubic yards: 80 ÷ 27 = 2.96 cu yd
  • With 25% settling: 2.96 × 1.25 = 3.70 cu yd to order
  • Weight at 1.0 tons/cu yd: ~3.0 US tons (loose topsoil)
  • Cost at $30/cu yd: 3.70 × $30 = $111

How to calculate cubic feet of dirt

Cubic feet is the most useful unit for smaller dirt projects — raised beds, container gardens, and bagged-soil calculations. To calculate cubic feet:

Cubic feet = Length (ft) × Width (ft) × Depth (ft)

If your depth is in inches, convert to feet first by dividing by 12. A 4 × 8 raised bed that is 1 foot deep: 4 × 8 × 1 = 32 cubic feet. A 6-inch depth is 0.5 feet.

To convert cubic feet to cubic yards (for bulk orders), divide by 27. To convert to bags, divide by the bag size in cubic feet.

Raised bed dirt calculator

Raised beds are one of the most common dirt projects. Measure the bed's interior dimensions (not the exterior — the boards take up space) and multiply length × width × depth in feet.

Bed size (ft)DepthCubic feetCubic yardsBags (1.5 cu ft)
4 × 412 in160.5911 bags
4 × 812 in321.1921 bags
8 × 410 in26.70.9918 bags
10 × 812 in802.9653 bags
4 × 418 in240.8916 bags

Most raised beds perform best with a blended mix, not pure topsoil. A common recipe is 60% topsoil, 30% compost, and 10% aeration (perlite or vermiculite). Calculate the total volume first, then split it across the ingredients. Add 10–15% for settling in the first season.

Topsoil vs. fill dirt

Choosing the right dirt matters as much as calculating the right quantity:

FactorTopsoilFill dirt
What it isOrganic-rich surface layerSubsoil (clay, sand, rock)
Best forLawns, gardens, raised bedsGrading, leveling, filling holes
CompactionSettles 20–30%Settles 10–15%
Cost (bulk)$10–$50/cu yd$5–$15/cu yd
Plant growthExcellentPoor — little organic matter
Under pavementNot recommendedYes — compacts well

Use fill dirt under paved surfaces (driveways, patios) and topsoil where plants will grow. Never use fill dirt in raised beds — it lacks the organic matter and structure plants need.

Dirt density and weight

To convert dirt volume to weight (for delivery truck limits or tonnage pricing), multiply cubic yards by the material's density:

Materiallb/cu ydUS tons/cu ydNotes
Topsoil (loose, dry)2,0001.00Settles 20–30%
Topsoil (loose, moist)2,2001.10Heavier when wet
Fill dirt (loose)2,2001.10Settles 10–15%
Fill dirt (compacted)2,5001.25After settling
Clay (loose)2,2001.10Heavy when wet
Sandy loam2,4001.20Drains well

A typical pickup truck safely carries about 1 cubic yard of dirt — larger loads require delivery. Wet dirt can weigh 20–30% more than dry.

Settling and compaction allowance

Loose dirt delivered by truck takes up more volume than the same dirt after it settles. Always add a settling allowance to avoid under-ordering — the most common dirt-project mistake.

MaterialTypical settlingOrder extra
Topsoil (loose)20–30%+25%
Fill dirt (loose)10–15%+10–15%
Compost / amended mix25–35%+30%
Sandy loam10–15%+10–15%

If your project specifies a final compacted depth (for example, a 6-inch raised bed after settling), order enough loose material to reach that depth after settling.

Dirt for common projects

ProjectTypical depthMaterial
Raised beds10–18 inTopsoil + compost blend
Lawn topdressing¼–½ inCompost or fine topsoil
Grading and leveling4–12 inFill dirt
New lawn (sod base)4–6 inTopsoil
New garden bed6–12 inTopsoil + compost
Filling holesAs neededCompacted fill dirt

Bagged dirt calculator

For small raised beds and container gardens, bagged soil is convenient but more expensive. Divide your total cubic feet by the bag size:

Bag sizeBags per cubic yard
1.0 cu ft27
1.5 cu ft18
2.0 cu ft13.5

Bagged soil costs $2–$8 per bag ($30–$200+ per cubic yard) — significantly more than bulk ($10–$50 per cubic yard). For projects over about 2 cubic yards, bulk delivery is far more economical.

Dirt cost calculator

OptionTypical priceNotes
Fill dirt (bulk)$5–$15/cu ydPlus $50–$150 delivery
Topsoil (bulk)$10–$50/cu ydPrice depends on quality/screening
Bagged soil$2–$8/bag$30–$200+/cu yd equivalent
Delivery fee$50–$150 flatDistance-dependent

Example: A raised bed needing 3.70 cubic yards of topsoil at $30/cu yd = $111 material + $75 delivery = $186 total. The same project bagged (about 53 bags at $5 each) would cost $265.

Dirt removal calculation

For dirt removal, calculate the volume being excavated: length × width × depth ÷ 27 for cubic yards. For a 20 × 10 excavation at 2 feet deep: 20 × 10 × 2 = 400 cubic feet ÷ 27 = 14.8 cubic yards. Add 10–20% for swell — excavated (loose) dirt takes up more volume than compacted dirt.

Dirt removal costs $20–$60 per cubic yard (including hauling and disposal), or $200–$500 per dump truck load. Clean fill dirt can often be given away for free on local listing sites, saving disposal fees. Contaminated soil costs more to dispose of.

Backfill dirt calculation

Backfill is the dirt used to fill an excavation around a foundation, trench, or structure. Calculate the void volume: (trench length × width × depth) − (structure volume) ÷ 27. For a 30-foot trench at 2 ft wide × 4 ft deep with a 1-ft footing: (30 × 2 × 4) − (30 × 1 × 4) = 120 cubic feet ÷ 27 = 4.44 cubic yards. Add 15% for compaction. Use fill dirt (not topsoil) for backfill.

Black dirt calculation

Black dirt (also called topsoil or loam) is the dark, organic-rich surface soil used for lawns, gardens, and planting beds. It uses the standard formula: area × depth ÷ 27 for cubic yards. For a 500 sq ft lawn at 4 inches: 500 × 0.333 = 166.7 cubic feet ÷ 27 = 6.17 cubic yards. Add 20–25% for settling. Black dirt costs $20–$50 per cubic yard bulk.

Dirt weight calculation

To calculate dirt weight, multiply cubic yards by the material’s density. Loose, dry topsoil weighs about 2,000 lb per cubic yard (1.0 US tons). Moist topsoil: 2,200 lb. Fill dirt: 2,200–2,500 lb per cubic yard. Wet dirt can weigh 3,000+ lb per cubic yard.

A typical pickup truck safely carries about 1 cubic yard of dry dirt (2,000 lb) — wet dirt may exceed payload capacity. For delivery, a single-axle dump truck holds 2–5 cubic yards, and a tandem axle holds 10–16 cubic yards.

Frequently asked questions

Related calculators & guides

Instant estimates: dirt calculator. Step-by-step yardage: how to calculate yards of dirt. Fill / grading focus: fill dirt calculator guide. Volume math: cubic yard calculator. Area: square footage calculator. Driveway base: gravel calculator.

Use the Dirt Calculator

Skip the manual math. Enter your measurements and get instant, accurate results with a full calculation breakdown.

Open Dirt Calculator