All The Calculations

Building materials

Topsoil and Dirt Calculator

Work out how many cubic yards, tons, or bags of topsoil, dirt, fill dirt, or compost to order for a lawn, bed, or fill, with depths from university extension services.

Maintained by Austin Witherow · Updated

Soil to order

2.72 yd³ (2.93 tons)

Measure the area

Enter the area and depth, then the material and bag size; yards, tons, and bags update as you type.

Cubic yards, with extra
2.72 yd³
Bulk order, in half yards
3 yd³
Weight in tons
2.93 tons
Weight in pounds
5,867 lb
Metric tonnes
2.66 t
Bags
98 bags of 0.75 cu ft
One cubic yard covers
81 sq ft
Cost
Add a price
Cubic meters, with extra
2.08 m³
Area
200 sq ft

Formula

Area (sq ft) = Length × Width, π × (Diameter ÷ 2)², or Base × Height ÷ 2Cubic yards = Area × (Depth ÷ 12) × (1 + Extra ÷ 100) ÷ 27Pounds = Cubic yards × 27 × Pounds per cubic footLoose yards for compacted fill = Pounds at 110 lb/ft³ ÷ (76 to 78 lb/ft³) ÷ 27Bags = Cubic yards × 27 ÷ Bag size, rounded up

Key caveat

Weights are published averages; moisture changes them. Engineering ToolBox lists loose dirt at 76 lb/ft³ dry and 78 moist.

What this calculator is for

Dirt, soil, and topsoil are sold by the cubic yard or the ton and in bags by the cubic foot, so the job is turning an area and a depth into the right volume and weight. This calculator does that for screened topsoil, loose dirt or fill, compacted fill, and compost, with depths from university extension services for new lawns, topdressing, and beds.

“A yard” of soil means a cubic yard, 27 cubic feet: about 36 bags of 40 lb topsoil at 0.75 cu ft each (an MSU Extension Ask Extension answer). At 4 in deep, a cubic yard covers 81 sq ft. The volume here is loose soil, so allow extra for it to settle to a firmed depth.

How it works

Area is length times width, π times the radius squared for a circle, or half the base times the height for a triangle.

Volume is area times depth (inches ÷ 12), plus the extra percentage for settling and spillage. Divide by 27 for cubic yards, and round up to the next half yard for a bulk order.

Weight is the volume times the material's pounds per cubic foot: loam 80 and loose dirt 76 to 78 (Engineering ToolBox), compacted soil 110 (Nebraska DOT), compost 600 lb per cubic yard (EPA).

For compacted fill, the depth you enter is after compaction. The calculator weighs that volume at 110 lb/ft³, then divides by loose dirt's 76 to 78 lb/ft³ for the loose yards the truck brings: about 1.41 to 1.45 times the compacted volume. It is an estimate from two sources: 110 lb/ft³ is a highway estimating figure, and fill tamped by hand will be less dense and need less. A supplier's or engineer's figure is better.

Bags are the volume divided by the bag size, rounded up to whole bags.

What a yard weighs, loose and compacted

Pounds per cubic yard: Compost 600; Loose dirt 2052 to 2106; Loam topsoil 2160; Compacted soil 297001,0002,0003,000pounds per cubic yardCompostLoose dirtLoam topsoilCompacted soilEstimate: about 1.41 to 1.45 cubic yards of loose dirt, at 76 to 78 pounds per cubic foot, compact to one cubic yard at 110 pounds per cubic foot1.41 to 1.45 yd³loose, 76 to 78 lb/ft³1 yd³compacted, 110 lb/ft³Same weight. An estimate from two sources.

Top: pounds per cubic yard for the calculator's materials: compost 600 (EPA, archived rough estimate), loose dirt 2,052 to 2,106 dry to moist and loam 2,160 (Engineering ToolBox), soil compacted in place 2,970 (Nebraska DOT). Bottom: because compacted soil is denser, a compacted yard of fill takes about 1.41 to 1.45 yards of loose dirt. That is an estimate from those two sources at a highway compaction weight; fill tamped by hand needs less.

Quick calculator insights

Quick numbers

40 lb bags in a yard
36
At about 0.75 cu ft a bag (MSU Ask Extension).
A yard at 4 in
81 sq ft
108 sq ft at 3 in, 162 at 2 in.
A yard of loose dirt
2,052 to 2,106 lb
Dry to moist (Engineering ToolBox).

Loose, compacted, and in the ground

Loose
What a truck brings: dirt at 76 to 78 lb/ft³.
Compacted
Soil compacted in place weighs 110 lb/ft³ (Nebraska DOT's estimating figure), so by our estimate it takes about 1.41 to 1.45 loose yards to fill one compacted yard; light hand tamping takes less.
In the ground
NRCS puts the ideal dry bulk density of loam below 1.40 g/cm³ (87 lb/ft³ dry) and root-restricting above 1.80 (112 lb/ft³ dry). These are dry weights, so they do not compare directly with the field weights above, which are not dry bulk densities.
Highway plans
NDDOT adds a project-specific shrinkage percentage (25% in its example) to compacted fill to express it as in-ground (bank) yards. That is not a loose-to-compacted factor.

Depth by use

Published depths from university extension services.

UseDepthSource
New lawn4 to 6 in of topsoil after firming; 4 in is the absolute minimumNMSU Extension
Topdressing a lawnNo more than ½ in at a timeClemson Extension
Compost on an existing lawnAbout ¼ inOregon State Extension
Compost for a new lawn1 to 2 in, worked inOregon State Extension
Compost for a new vegetable bed3 to 4 in, worked into the top 8 to 12 inOregon State Extension
Compost for an existing bed¼ to 1 in a yearOregon State Extension
Raised bedAt least 6 to 8 in deepKansas State Extension

Weight of a cubic yard

Pounds per cubic foot × 27. Moisture changes the weight; your supplier's figure is better.

MaterialLb per cubic footLb per cubic yardTons per cubic yardSource
Loam (screened topsoil)802,1601.08Engineering ToolBox
Dirt, loose, dry762,0521.03Engineering ToolBox
Dirt, loose, moist782,1061.05Engineering ToolBox
Soil compacted in place1102,9701.49Nebraska DOT
Finished compost22.26000.30EPA (archived, rough estimate)

How far soil goes at each depth

Area covered before any extra. One cubic yard is 27 cubic feet; a 40 lb bag is about 0.75.

Depth1 cubic yard40 lb bag (0.75 cu ft)2 cubic yards3 cubic yards
½ in648 sq ft18 sq ft1296 sq ft1944 sq ft
1 in324 sq ft9 sq ft648 sq ft972 sq ft
2 in162 sq ft4.5 sq ft324 sq ft486 sq ft
3 in108 sq ft3 sq ft216 sq ft324 sq ft
4 in81 sq ft2.25 sq ft162 sq ft243 sq ft
6 in54 sq ft1.5 sq ft108 sq ft162 sq ft

Bags in one cubic yard

27 cubic feet divided by the bag size. Buy the whole number above it.

Bag sizeBags per cubic yard
0.75 cu ft (40 lb)36
1 cu ft27
1.5 cu ft18
2 cu ft13.5

How to use this calculator

  1. 01Measure the area in feet, or enter the total square feet.
  2. 02Enter the finished depth: 4 to 6 in for a new lawn, no more than ½ in at a time to topdress, the depth after compaction for fill. Set the extra to cover settling.
  3. 03Pick the material and the bag size printed on the bag.
  4. 04Order the cubic yards or tons from a bulk supplier, or the bags.

Inputs explained

Area shape and size
The area in feet: a rectangle, a circle, a triangle, or a total area you already know.
Depth
The finished depth in inches. The volume is loose soil, which settles, so the extra covers the difference. For compacted fill, the depth after compaction.
Material
Sets the weight, and for compacted fill the loose volume to order.
Supplier density
Only for Custom: the tons per cubic yard your supplier bills from.
Extra for settling and spillage
A percentage added to the volume. Use your supplier's settling allowance; set it to 0 to see the exact volume.
Bag size
The cubic feet printed on the bag; a 40 lb bag of topsoil is about 0.75 cu ft. A 40 lb bag of compost or potting mix holds a different volume.
Prices
Optional. A bulk price per cubic yard and a price per bag, to compare the two.

Outputs explained

Soil to order
Cubic yards with the extra and the weight in tons. For compacted fill, the loose yards the truck brings.
Bulk order, in half yards
The cubic yards rounded up to the next half yard, for suppliers that sell in half or whole yards.
Weight
For hauling and for suppliers that sell by the ton. Wet soil is heavier: Engineering ToolBox lists loose dirt at 76 lb/ft³ dry and 78 moist.
Bags
Whole bags at your bag size. Not counted for compacted fill.
One cubic yard covers
Square feet per cubic yard at your depth, before the extra. For compacted fill, per compacted yard.
Cost
Cubic yards times the bulk price (also at the half-yard order when that is larger), and bags times their price, with which costs less, before delivery.

Worked examples

Garden area, 20 × 10 ft at 4 in of topsoil

  • Volume = 20 × 10 × 4 ÷ 12 = 66.67 cu ft, plus 10% = 73.33 cu ft, or 2.72 cubic yards: 3 yd³ from a supplier that sells in half yards.
  • Weight at 80 lb/ft³ = 5,867 lb, or 2.93 tons.
  • In 40 lb bags (0.75 cu ft): 73.33 ÷ 0.75 = 97.8, so 98 bags.

New lawn, 1,000 sq ft at NMSU's 4 to 6 in

  • At 4 in: 333.33 cu ft, or 12.35 cubic yards before any extra; 13.58 with 10%.
  • At 6 in: 500 cu ft, or 18.52 cubic yards before any extra; 20.37 with 10%.

Topdressing a 1,000 sq ft lawn

  • At Clemson's ½ in limit: 41.67 cu ft, plus 10% = 45.83 cu ft, or 1.70 cubic yards: 62 bags of 40 lb.
  • With compost at OSU's ¼ in for existing lawns: 20.83 cu ft, or 0.77 cubic yards before any extra, about 463 lb.

Compacted fill, 10 × 10 ft raised 6 in

  • Compacted volume = 100 × 6 ÷ 12 = 50 cu ft, plus 10% = 55 cu ft.
  • Weight at Nebraska DOT's 110 lb/ft³ = 6,050 lb, or 3.03 tons.
  • Loose, at 76 to 78 lb/ft³, that weight is 77.56 to 79.61 cu ft: 2.87 to 2.95 cubic yards on the truck. Order the larger figure, or your supplier's.

Raised bed, 4 × 8 ft at 12 in

  • Volume = 32 cu ft, plus 10% = 35.2 cu ft, or 1.30 cubic yards: 47 bags of 40 lb.
  • Kansas State calls for a bed at least 6 to 8 in deep; at 8 in the same bed is 21.33 cu ft before any extra.

When to use it

  • Ordering topsoil for a new lawn or to cover subsoil after grading.
  • Topdressing an existing lawn.
  • Filling a low spot or raising grade with fill dirt.
  • Adding compost to beds, or filling a raised bed.
  • Comparing a bulk delivery with bags.

Tips

  • Level a lawn in thin layers: Clemson says no more than ½ in of topdressing at a time.
  • Fill a deep hole with fill dirt and finish with topsoil: run each layer here with its own depth.
  • Check your trailer's or truck's payload against the weight, not just the volume.
  • For a big job, compare the bulk price per yard with 36 times the price of a 40 lb bag.

Limitations

  • Weights are published averages; moisture changes them. Engineering ToolBox lists loose dirt at 76 lb/ft³ dry and 78 moist.
  • Settling has no figure here: we could not verify one from an agency or extension service, so the extra percentage is yours to set.
  • The compacted-fill factor combines two sources (Nebraska DOT's compacted soil and Engineering ToolBox's loose dirt). Real fill varies with the soil and the compaction; highway plans use a factor set for each project.
  • The compost weight comes from an archived EPA table built from 1988 to 1991 sources, which it calls rough estimates.
  • The area is flat with an even depth. Slopes, holes, and mounds take more or less.
  • Cost covers the material only, not delivery or tax.

Methodology & assumptions

  • Volumes use 12 inches per foot and 27 cubic feet per cubic yard; tons are US tons of 2,000 lb.
  • Depths come from NMSU, Clemson, Oregon State, and Kansas State extension publications; settling to grade from Anne Arundel County's topsoil specification.
  • Weights: Engineering ToolBox (loam 80, loose dirt 76 to 78 lb/ft³), Nebraska DOT (soil compacted in place 110 lb/ft³), and EPA's archived Appendix D (finished compost 600 lb per cubic yard).
  • Bags: 0.75 cu ft for a 40 lb bag of topsoil, from an MSU Extension Ask Extension answer.
  • NRCS bulk densities convert at 62.43 lb/ft³ per g/cm³.

Sources

Last reviewed 2026-10-07

FAQs

How do I calculate how much dirt or topsoil I need?+

Multiply length × width in feet by the depth in inches, divide by 12 for cubic feet, and divide by 27 for cubic yards. A 20 × 10 ft area at 4 in is 66.67 cu ft, or 2.47 cubic yards before any extra.

How many 40 lb bags of topsoil are in a yard?+

About 36. A 40 lb bag of topsoil is about 0.75 cubic feet, according to an MSU Extension Ask Extension answer, and a cubic yard is 27 cubic feet. The volume of a 40 lb bag varies with moisture, so check the cubic feet printed on the bag.

How much does a 40 lb bag of topsoil cover?+

About 9 sq ft at 1 in deep, 4.5 sq ft at 2 in, 3 sq ft at 3 in, or 2.25 sq ft at 4 in, at 0.75 cubic feet a bag.

How much does a yard of dirt weigh?+

Loose dirt is 2,052 lb dry to 2,106 lb moist per cubic yard (76 to 78 lb/ft³, Engineering ToolBox), about 1.03 to 1.05 tons. Loam topsoil is about 2,160 lb, and soil compacted in place about 2,970 lb (Nebraska DOT).

How much does a yard of topsoil weigh?+

About 2,160 lb, or 1.08 tons, at Engineering ToolBox's 80 lb/ft³ for loam. Wet topsoil weighs more.

How many yards is 3,000 lb of dirt?+

About 1.42 to 1.46 cubic yards of loose dirt, at 78 and 76 lb/ft³.

How much does a yard of dirt cover?+

324 sq ft at 1 in deep, 162 sq ft at 2 in, 108 sq ft at 3 in, 81 sq ft at 4 in, and 54 sq ft at 6 in.

How much will 2 or 3 yards of dirt cover?+

2 yards cover 162 sq ft at 4 in deep or 216 sq ft at 3 in. 3 yards cover 243 sq ft at 4 in or 324 sq ft at 3 in.

How much does 1 ton of fill dirt cover?+

Loose, about 77 to 79 sq ft at 4 in deep (25.6 to 26.3 cubic feet a ton at 76 to 78 lb/ft³). Compacted at 110 lb/ft³, a ton fills 18.2 cubic feet, about 55 sq ft at 4 in.

How much loose fill dirt do I need to fill a compacted area?+

More than the hole's volume. Soil compacted in place weighs 110 lb/ft³ (Nebraska DOT) against 76 to 78 loose (Engineering ToolBox), so one compacted yard takes about 1.41 to 1.45 loose yards. It is an estimate, and fill tamped by hand needs less. Highway plans set their own factor for each project; NDDOT's 25% example is a different conversion, compacted fill back to in-ground yards. Choose Fill dirt, compacted in place.

Will 1 or 2 yards of dirt fit in a pickup?+

Check the weight first, then the volume. A bed 6.5 × 5 ft filled level 1.5 ft high holds 48.75 cu ft, or 1.81 cubic yards, but that much loose dirt weighs about 3,705 to 3,803 lb. Measure your bed (length × width × fill height ÷ 27) and check the payload in the truck's manual.

How many wheelbarrows are in a yard of dirt?+

Divide 27 by the wheelbarrow's capacity in cubic feet: 4.5 loads with a 6 cu ft wheelbarrow.

Is it cheaper to buy topsoil in bags or bulk?+

Compare the bulk price per cubic yard, plus delivery, with 36 times the price of a 40 lb bag. Enter both prices above: the cost line shows bulk at the exact yards and at the half-yard order, and which is cheaper.

How much is a yard of dirt or topsoil?+

Prices vary by product and region, so we do not list one. A yard is 36 bags of 40 lb, which lets you compare a yard price with bag prices; enter both above.

How much does topsoil settle?+

We could not verify a figure from an agency or extension service; supplier estimates vary. Anne Arundel County's topsoil specification places topsoil to a depth that meets grade after natural settlement, so spread it a little high. Set the extra for settling to your supplier's allowance.

How do I calculate the amount of mulch I need?+

The same way, by area and depth: the mulch calculator does it in cubic yards and bags, with depths for beds, trees, and playgrounds.

How deep should topsoil be for a new lawn?+

NMSU Extension calls 4 in the absolute minimum soil depth for a lawn and recommends 6 in or more for deep roots; where the soil is shallow, add topsoil to 4 to 6 in after firming. That is a firmed depth, so order extra for the loose soil to settle.

Can I put topsoil over grass?+

Only thinly. Clemson Extension says topdressing should be no more than ½ in of material at a time; thicker layers can stunt or shade the grass.

Can I level my lawn with topsoil?+

Yes, in thin layers: Clemson's limit is ½ in at a time, so fill a deeper low spot over several applications. Enter the depth of one application here.

How much compost should I add?+

Oregon State Extension says about ¼ in on an existing lawn, 1 to 2 in for a new lawn, 3 to 4 in for a new vegetable bed, and ¼ to 1 in a year for an existing bed, worked into the top 8 to 12 in. Choose Compost.

How much soil do I need for a raised bed?+

Length × width × depth. A 4 × 8 ft bed at 12 in is 32 cubic feet, or 1.19 cubic yards before any extra: 43 bags of 40 lb. Kansas State Extension calls for a bed at least 6 to 8 in deep.

How many cubic feet are in a bag of soil?+

It is printed on the bag, since bagged soil is labeled by volume. A 40 lb bag of topsoil is about 0.75 cubic feet, according to an MSU Extension Ask Extension answer; potting mix and compost hold a different volume per pound.

This calculator gives planning estimates. Confirm the depth, the material's weight, and the compaction allowance with your supplier or engineer before ordering.