Home › Topsoil Calculator

Topsoil Calculator

By · Updated Nov 10, 2026 · Editorial policy

On this page
  1. Topsoil and soil calculator
  2. The formula
  3. Coverage by depth (one cubic yard)
  4. Raised bed soil volumes
  5. Worked examples
  6. Settling and "how much extra"
  7. Topsoil, garden soil, fill dirt: same math
  8. Related calculators and guides
  9. FAQ

Topsoil and soil calculator

Starts at 0. Enter your supplier’s or your own figure.

Cubic feet0cu ft
Cubic yards0cubic yards
Bags—enter a bag size

Volume is geometry: sq ft × inches ÷ 12 = cu ft, ÷ 27 = cubic yards. Bags are rounded up. Measure a raised bed’s actual inside height: nominal lumber is shorter than its name.

Whether it's topsoil for a new lawn, garden soil for a raised bed or fill dirt for a low spot, the question is the same: how many cubic yards, or how many bags? Soil is sold by volume, so the answer comes from the space you're filling.

The formula

Spreading over an area: cubic feet = area (sq ft) × depth (in) ÷ 12
Filling a raised bed: cubic feet = length (ft) × width (ft) × height (in) ÷ 12
Cubic yards = cubic feet ÷ 27
Bags = cubic feet ÷ bag size (cu ft), rounded up

How to calculate cubic yards: a step-by-step guide with a coverage table, bag counts and worked examples for gravel, topsoil, mulch and concrete.

Coverage by depth (one cubic yard)

Geometry: 27 cu ft spread to each depth.

DepthSq ft covered by 1 cubic yard
1 in324
2 in162
3 in108
4 in81
6 in54
8 in40.5
12 in27

Raised bed soil volumes

Geometry, filled level to the top of the bed. Bag counts are rounded up.

Bed (L × W)Fill heightCubic feetCubic yards1 cu ft bags1.5 cu ft bags2 cu ft bags
4 × 4 ft12 in160.5916118
4 × 8 ft6 in160.5916118
4 × 8 ft10 in26.670.99271814
4 × 8 ft12 in321.19322216
3 × 6 ft12 in180.6718129
4 × 12 ft12 in481.78483224

Lumber sizes are nominal. A bed built from two "2 × 6" boards is about 11 inches tall inside, not 12, so measure the actual inside height and use that.

Worked examples

Raised bed, 4 × 8 ft, filled 12 in

Topdressing a 20 × 30 ft lawn area, 2 in

Filling a low spot: a 10 ft circle, average 4 in deep

Settling and "how much extra"

Loose soil settles after it's placed and watered, so a bed filled exactly level will usually sit lower a few weeks later. How much depends on the soil, its moisture and how much organic matter it contains. There's no single figure that applies to every product, so the calculator includes an "extra for settling %" field that starts at 0. Enter whatever your supplier or your past experience suggests. To keep a bed full, plan on topping it up rather than overfilling it on day one.

Topsoil, garden soil, fill dirt: same math

The volume calculation doesn't care what's in the bag. What changes is what you're buying:

Ask the supplier what the product contains and whether it has been screened. The product sheet or the yard can tell you more than any calculator.

FAQ

How much topsoil do I need for a 4 × 8 raised bed?

For a 12-inch fill, 32 cu ft or 1.19 cubic yards. That's 32 bags of 1 cu ft or 22 bags of 1.5 cu ft. A 6-inch fill needs half that.

How many square feet does a yard of topsoil cover?

At 1 inch, 324 sq ft. At 2 inches, 162 sq ft. At 4 inches, 81 sq ft. At 6 inches, 54 sq ft.

How many bags of soil make a cubic yard?

27 bags of 1 cu ft, 36 of 0.75 cu ft, 18 of 1.5 cu ft, or 13.5 of 2 cu ft.

Should I order extra topsoil?

Soil settles, so many people do. The calculator lets you add a settling percentage you choose. It doesn't assume one.

Is a "yard of dirt" the same as a cubic yard?

Yes. Landscape suppliers mean a cubic yard: 3 × 3 × 3 ft, or 27 cu ft.

This site is owned and operated by calcsqft.com.

Sources

Cite this page: Pierre Mentor, “Topsoil Calculator,” CalcSqft.com, updated Nov 10, 2026, https://calcsqft.com/topsoil-calculator/