Last reviewed: November 2, 2026. Formulas checked against standard industry conversions. How we calculate.
Dirt Calculator
Work out how many cubic yards of dirt, topsoil, fill, garden mix, mulch or gravel you need. Get volume, weight, bags and cost for rectangles, circles and triangles, in feet, inches, yards, meters or centimeters.
Your project
Depth has its own unit, so you can measure a 20 ft bed and a 4 inch layer without converting.
That depth is over 5 feet. Check that the depth unit is correct.
Weights are planning estimates and change with moisture and blend. Use your supplier’s figure when you have it.
Bags and cost (optional)
How to Calculate How Much Dirt You Need
Measure the area, choose the depth you want, then multiply. Convert everything to feet first, because a cubic yard is 3 ft × 3 ft × 3 ft.
Cubic feet = Length × Width × Depth (all in feet)
Cubic yards = Cubic feet ÷ 27
For a circle, use Cubic feet = π × radius² × depth and for a triangle use Cubic feet = ½ × base × height × depth. The radius is half the diameter. For an irregular area, split it into rectangles, circles and triangles and add the volumes together.
Dirt calculator example
A garden bed is 10 ft long, 8 ft wide and the new soil layer is 6 inches deep.
- Convert the depth: 6 ÷ 12 = 0.5 ft.
- Volume: 10 × 8 × 0.5 = 40 cubic feet.
- Cubic yards: 40 ÷ 27 = 1.48.
- Add 5% for settling: 1.48 × 1.05 = 1.56 cubic yards.
Many suppliers sell in quarter- or half-yard steps, so you would likely order 1.75 cubic yards. Always confirm the increments and the minimum order.
How Many Cubic Feet Are in a Yard of Soil?
One cubic yard is exactly 27 cubic feet. To convert cubic feet to cubic yards, divide by 27. To go the other way, multiply by 27. One cubic yard is also about 0.7646 cubic meters.
| Cubic yards | Cubic feet | 2 cu ft bags | 0.75 cu ft bags |
|---|---|---|---|
| 0.5 | 13.5 | 7 | 18 |
| 1 | 27 | 14 | 36 |
| 2 | 54 | 27 | 72 |
| 3 | 81 | 41 | 108 |
| 5 | 135 | 68 | 180 |
Bag counts are rounded up. Labeled bag volumes can differ slightly from what is inside, so a few extra bags is sensible.
How Much Does a Yard of Dirt, Mulch or Topsoil Cover?
One cubic yard covers 324 square feet at 1 inch deep. Divide 324 by the depth in inches to find the coverage at any other depth.
| Depth | 1 cubic yard covers | Typical use |
|---|---|---|
| 1 inch | 324 sq ft | Lawn top-dressing |
| 2 inches | 162 sq ft | Mulch refresh, thin topsoil layer |
| 3 inches | 108 sq ft | New mulch beds |
| 4 inches | 81 sq ft | Topsoil for seeding or sod |
| 6 inches | 54 sq ft | New planting beds, grading |
| 12 inches | 27 sq ft | Raised beds |
How Much Does a Yard of Dirt Weigh?
It varies a lot. Moisture, particle size and organic content all change density. Planning figures often fall in these ranges, and the calculator’s presets use a single value from each range.
| Material | Calculator preset (lb per cubic yard) | Common range |
|---|---|---|
| Topsoil | 2,000 | about 1,800–2,700 |
| Fill dirt | 2,400 | about 2,200–3,000 |
| Garden or raised-bed mix | 1,500 | about 1,200–1,800 |
| Compost | 1,000 | about 800–1,300 |
| Wood mulch | 600 | about 400–800 |
| Sand | 2,700 | about 2,500–3,000 |
| Gravel or crushed stone | 2,800 | about 2,600–3,000 |
Weight (lb) = Cubic yards × lb per cubic yard US tons = lb ÷ 2,000
How Much Soil Do You Need for a Raised Garden Bed?
Use the bed’s inside length, inside width and the depth you will actually fill. A 4 ft × 8 ft bed filled 12 inches deep is 4 × 8 × 1 = 32 cubic feet, or 1.19 cubic yards. A 4 ft × 2 ft bed at 1 ft deep is 8 cubic feet, or 0.30 cubic yards.
For several matching beds, enter one bed and set “Number of identical areas”. For round pots, choose Circle and enter the inside diameter and soil depth. For growing vegetables, pick a garden or raised-bed mix rather than plain fill dirt.
Topsoil, Garden Soil, Fill Dirt and Compost: What’s the Difference?
- Topsoil: used for lawns and planting areas. Quality and organic content vary by supplier.
- Garden or raised-bed mix: a blend meant for growing, often soil mixed with compost. Check the ingredients.
- Fill dirt: used to raise or level ground. It usually has little organic matter, so it is not ideal for planting.
- Compost and mulch: much lighter than soil, so the same volume weighs far less.
Ask whether the quoted volume is loose or compacted, and choose the material for the job, not just the lowest price per yard.
Frequently Asked Questions
How do I calculate cubic yards of dirt?
Multiply length × width × depth in feet to get cubic feet, then divide by 27. If the depth is in inches, divide it by 12 first.
How much dirt do I need for a 10 × 10 area?
At 6 inches deep, a 10 × 10 ft area needs 50 cubic feet, or 1.85 cubic yards, before any allowance. At 4 inches it needs about 1.23 cubic yards.
How many cubic feet are in a yard of soil?
27 cubic feet.
How much will a yard of topsoil cover?
About 162 square feet at 2 inches deep, 108 at 3 inches, 81 at 4 inches and 54 at 6 inches.
How much does a yard of mulch cover?
About 108 square feet at 3 inches deep or 162 square feet at 2 inches. A 2 cubic foot bag covers roughly 12 square feet at 2 inches.
How do I use this as a potting mix or raised garden soil calculator?
Choose “Garden or raised-bed mix”, enter the inside size of the bed or pot and the fill depth, and pick your bag size. The calculator shows cubic feet, cubic yards and the number of bags.
Should I add extra to my estimate?
A 5–10% allowance is common for uneven ground and spillage. Use more if the material will be compacted, because it settles after it is spread. Use 0% to see the exact calculated volume.
Is fill dirt the same as topsoil?
No. Fill dirt is for filling and grading. Topsoil is the upper layer used for lawns and planting.
Can I use this calculator for gravel, sand or mulch?
Yes. Pick the material to load a typical weight, then adjust it if your supplier gives a different figure. For tons-to-yards conversions with gravel, see the Gravel Calculator.
Plan Your Next Outdoor Project
Accurate measurements reduce waste and surprise delivery costs. Use the numbers above to get quotes, then confirm density, order increments and delivery charges with your supplier. Explore the ExactYard calculator directory for other materials.
How Much Dirt Do I Need?
Use this plain-English dirt calculator formula. First work out cubic feet: length × width × depth, with all measurements in feet. Then convert: cubic feet ÷ 27 = cubic yards. If you already know the area in square feet and the depth in inches, use the shortcut: square feet × depth in inches ÷ 324 = cubic yards.
Worked example: 500 sq ft at 6 inches deep = 500 × 6 ÷ 324 = 9.26 cubic yards. Add a little extra for settling, as explained below, before you order.
How Much Does a Yard of Dirt Cover?
So, how much will a yard of dirt cover? One cubic yard covers 324 square feet at 1 inch deep. Divide 324 by the depth in inches for any other depth.
| Depth | 1 cubic yard covers |
|---|---|
| 1 inch | 324 sq ft |
| 2 inches | 162 sq ft |
| 3 inches | 108 sq ft |
| 4 inches | 81 sq ft |
| 6 inches | 54 sq ft |
| 12 inches | 27 sq ft |
How Much Does a Yard of Fill Dirt Weigh?
One cubic yard of fill dirt weighs about 1.25 tons (2,500 lb). That is the density used on this site. To convert a volume to weight for any material, use the Cubic Yards to Tons Calculator. For planting areas, use the Topsoil Calculator.
Fill Dirt vs Topsoil
Fill dirt is subsoil used for grading and filling low spots, raising ground level and backfilling. It usually has little organic matter, so it is not the best choice for planting. Topsoil is the screened surface layer used for lawns and gardens, where plants need organic matter and a finer, more workable soil.
Compaction and Settling
Fill dirt settles and compacts after placement, so ordering a little extra (around 10%) is common practice. Measure the depth in several places if the ground is uneven, and confirm the delivered volume and whether it is loose or compacted with your supplier.
Dirt Calculator FAQs
How much dirt do I need?
Multiply length × width × depth in feet to get cubic feet, then divide by 27 for cubic yards. Or use square feet × depth in inches ÷ 324. For example, 500 sq ft at 6 inches needs 9.26 cubic yards before any settling allowance.
How do I calculate fill dirt for a hole or low spot?
Measure the length, width and average depth of the hole or low spot in feet, multiply them to get cubic feet, and divide by 27 for cubic yards. For an irregular hole, split it into rectangles, add the volumes together, and add around 10% for settling and compaction.
How many yards of soil are in a ton?
At 1.25 tons per cubic yard for fill dirt, 1 ton is about 0.8 cubic yards (1 ÷ 1.25 = 0.8). The answer changes with the material, because topsoil, gravel, sand and mulch have different densities.
How much will a yard of dirt cover?
One cubic yard of dirt covers 324 sq ft at 1 inch, 162 sq ft at 2 inches, 108 sq ft at 3 inches, 81 sq ft at 4 inches, 54 sq ft at 6 inches and 27 sq ft at 12 inches.
Related calculators
For stone projects, try the crushed stone calculator, and convert volumes with the cubic yard calculator.