Soil Calculator

How much soil do you need — in cubic yards, cubic feet, soil-sized bags and bulk tons. For topsoil, garden dirt, fill and raised-bed soil: pick the shape, the depth and the material, and order in whichever unit your supplier uses.

To find how much soil you need, multiply the bed’s length × width × depth in feet and divide by 27 for cubic yards (or divide cubic feet by 27). Raised beds need a little extra because soil settles after the first season.

Units
What are you filling?
Loaded from the soil type; edit to match your supplier.
Common soil-bag sizes (smaller than mulch bags).
Raised beds 6–12″; new gardens 4–6″.
For several beds the same size. Mixed sizes? Add beds above.
Raised beds settle 10–20% the first season — 15% is a safe buffer.
Editable example only — not a quote.

Volume × density only. Soil densities are typical published bulk-density figures for loose material and vary a lot with moisture and compaction — wet or compacted soil is heavier, so confirm with your supplier and edit the field. Cost figures are editable examples, not a quote. For grading or structural fill near a building, this is an estimate only — verify with local code or a professional.

[ Ad slot — replace with AdSense / Ezoic code ]

What this soil calculator does — and its lane

This tool is for the soil family: topsoil, garden soil, raised-bed soil mix, screened loam, black dirt, fill dirt, compost, potting mix and peat. It turns a bed’s dimensions into cubic yards, cubic feet and cubic metres, a count of soil-sized bags, and bulk weight in tons and tonnes, with raised-bed and settling smarts that a plain volume calculator skips. It is not a mulch calculator (organic ground cover sold by the bag and bale), not a gravel calculator (mineral aggregate sold by the ton), and not a concrete calculator (poured volume) — those are linked above. For pure unit math, use the cubic-yards calculator.

How much soil do I need?

The honest friction this fixes: most people measure a bed in feet and inches, then have to juggle the divide-by-27 step, a bag size that differs from mulch, and the fact that soil settles. Get the volume first, in cubic feet, then convert.

cubic feet = lengthft × widthft × (depthin ÷ 12)
cubic yards = cubic feet ÷ 27  ·  cubic metres = cubic feet × 0.0283168
bags = cubic feet ÷ bag size (round up)  ·  coverageft² = 324 ÷ depthin per yd³

A bed of 100 ft² filled 6″ deep is 50 ft³, about 1.85 cubic yards. The single most common mistake is dividing by 3 (that is linear) or by 9 (that is area) instead of 27 for volume — this calculator does the conversion for you and shows yards, feet, bags and tons together.

Topsoil, dirt and fill dirt by the cubic yard

Topsoil, top soil, garden dirt and fill dirt are all priced and delivered by the cubic yard once you pass a couple of yards, and by the bag below that. The difference that matters for ordering is weight, because some suppliers quote by the ton: a cubic yard of loose topsoil is roughly 1.0–1.35 tons, fill dirt a little heavier at about 1.25 tons, while airy compost and potting mix are far lighter. Pick the soil type below and a representative density loads, which you can edit to a supplier’s figure.

Soil typeTypical density (tons/yd³)Common use
Topsoil1.10General beds, lawns, grading
Garden / screened soil1.10Planting beds
Raised-bed soil mix0.80Raised beds, large planters
Screened loam1.20Lawns, fine grading
Black dirt1.15Beds, top-dressing
Fill dirt1.25Backfill, leveling, grading
Compost0.50Amendment, raised-bed blend
Potting / container mix0.40Pots, containers
Peat0.30Soilless amendment

Typical published bulk densities; wet or compacted soil is heavier — confirm with your supplier and edit the density field.

Raised bed soil — and why beds need topping off

Use the Raised bed(s) mode for a garden bed or planter. Measure the inside length and width (the outside frame overstates the soil space), set the fill depth, and if you are filling several identical beds just raise the quantity; for mixed sizes, add another bed and the totals sum across all of them. Two extras matter here. First, you can choose to leave a gap below the rim — an inch or two stops soil washing over when you water — by entering the rim height and a smaller fill height. Second, fresh soil mix is full of air and settles 10–20% in the first season as it is watered in and organic matter breaks down, so a settling top-off allowance (15% is a safe middle) is added on top so the bed starts full and stays full. A common raised-bed mix is roughly ⅓ compost, ⅓ topsoil and ⅓ an aeration material; that is guidance, not a forced calculation.

Round beds, rings and irregular shapes

The Round / ring mode uses π × radius² × depth for a circular bed or planter, and for a ring or border bed it subtracts the inner circle from the outer. The Irregular mode lets you add several sub-areas — an L-shaped bed, a curved end, beds of different sizes — and sums them into one total.

Top-dressing and fill / grading

Top-dressing is a thin layer (about ¼–½″) of compost or soil spread over a lawn or bed; the mode keeps the depth small so the volume stays realistic. Fill / grading covers leveling and backfill with an average depth, and adds a compaction allowance (about 10–25%) because loose fill dirt loses volume once it is tamped down. For grading or structural fill close to a building, treat the result as an estimate only and verify the plan with local code or a professional.

Bags or bulk: which is cheaper?

Below roughly two cubic yards (about 54 ft³), bagged soil is usually the practical choice and many suppliers will not deliver bulk in small amounts. Past that, loose soil by the cubic yard is almost always cheaper per cubic foot. This calculator shows the bag count (at a soil-bag size you choose — 0.75, 1, 1.5 or 2 ft³, smaller than mulch bags) right next to the cubic-yard figure, and lets you enter an optional price by the yard, the ton or the bag so you can compare on your own numbers.

Soil weight: cubic yards to tons

To convert soil volume to weight, multiply cubic yards by the density in tons per cubic yard. The 1.85 cubic yards of topsoil from earlier, at 1.1 tons/yd³, is about 2.0 tons (or roughly 1.85 tonnes). Because moisture and compaction swing soil weight widely, the density here is editable; for a pure volume-to-tons conversion across any material, the cubic-yards calculator has a dedicated converter.

[ Ad slot — replace with AdSense / Ezoic code ]

Frequently asked questions

How much soil do I need for a raised bed?

Multiply the bed’s inside length × width × fill depth in feet, then divide by 27 for cubic yards (or divide cubic feet by 27). A 4×8′ bed filled 10″ deep is about 26.7 ft³, just under 1 cubic yard. Add a settling top-off of 10–20% because fresh mix sinks in the first season. This calculator’s raised-bed mode does all of that, including several beds at once.

Why do I always seem to underestimate how much soil I need?

Two reasons. First, depth adds volume fast — doubling a thin depth doubles the soil — and it is easy to forget the divide-by-27 step or divide by 3 or 9 by mistake. Second, soil settles: loose mix is full of air and drops 10–20% as it is watered in and compost breaks down, so a bed filled exactly to calculation looks low within weeks. The settling allowance in this tool covers exactly that, which is the friction it is built to fix.

How many cubic feet are in a yard of soil?

One cubic yard is 27 cubic feet (a 3′×3′×3′ cube). So a yard of soil fills about 27 of the 1 ft³ bags, 18 of the 1.5 ft³ bags or roughly 13–14 of the 2 ft³ bags. For more unit conversions, see the cubic-yards calculator.

How much does a yard of topsoil or dirt weigh?

A cubic yard of loose topsoil is roughly 1.0–1.35 US tons (about 2,000–2,700 lb), with fill dirt a little heavier near 1.25 tons and airy compost or potting mix much lighter. Wet or compacted soil weighs noticeably more. To get tons, multiply cubic yards by the density; the calculator shows tons and tonnes, and the density field is editable to your supplier’s number.

How much potting mix do I need for containers?

Measure each pot as a rough rectangle or use the round mode (diameter and depth), then read the cubic feet. Potting and container mix is light and sold mostly by the bag, so the bag count is the figure to watch; set the bag size to the one on your bag. Leave an inch or two below the rim so watering does not overflow.

How much top dressing do I need for a lawn?

Top-dressing is thin — about ¼ to ½ inch. Use the top-dressing mode, enter the lawn area and the thin depth, and the volume stays small: a yard of soil spread ¼″ deep covers about 1,300 ft² (324 ÷ depth in inches per cubic yard). Spread it in a light layer and rake it into the grass.

How much fill dirt do I need, and what about compaction?

Use the fill / grading mode: enter the area and an average fill depth. Loose fill dirt loses volume when it is tamped down, so add a compaction allowance of about 10–25% on top. For grading or structural fill near a foundation or building, treat the number as an estimate only and confirm the plan with local code or a professional.

Is this different from a mulch, gravel or concrete calculator?

Yes. This soil calculator covers topsoil, dirt, fill and raised-bed soil, sold by the cubic yard, the bag or the ton. Mulch is organic ground cover sold by the bag and bale; gravel is mineral aggregate sold by the ton; concrete is poured volume. For the raw volume math and a cubic-yards-to-tons converter for any material, use the cubic-yards calculator.