Calcist

Style

Buttons

Spacing

How much to show

Decimal places

Text size

Raised bed soil calculator

Enter the bed's size and how deep the soil goes to get cubic feet, cubic yards and bags, split into a suggested topsoil and compost mix.

Private: calculated on your device. Nothing you type is sent anywhere.

Next: Ready to plant? Count plants with the plant spacing calculator. Just topping up? See the compost calculator.

How much soil fills a raised bed?

Cubic feet = length (ft) × width (ft) × depth (in) ÷ 12 × number of beds
Cubic yards = cubic feet ÷ 27
Each ingredient = total × its share of the mix

Worked example

One 8 × 4 ft bed filled 12 in deep holds 8 × 4 × 12 ÷ 12 = 32 cubic feet, or 1.19 cubic yards. That's 32 bags of 1 cu ft or 16 bags of 2 cu ft. A 70/30 mix is 22.4 cu ft of topsoil and 9.6 cu ft of compost; equal thirds is about 10.7 cu ft each of topsoil, compost and coarse sand.

What soil mix to use

These are suggestions, not rules. Iowa State University Extension suggests either equal parts topsoil, organic matter (well-rotted manure, compost or peat) and coarse sand, or roughly 70% topsoil and 30% compost. Bagged "raised bed mixes" are another option; follow their labels.

Getting a realistic number

  • Soil settles. Freshly filled beds sink, often by an inch or more in the first season, so many gardeners overfill a little and top up later.
  • Tall beds: for beds deeper than about 18 in, some people fill the bottom with coarse material to save soil, but plant roots and drainage still need good soil in the top 12 in or so.
  • Bulk vs bags: above about a cubic yard, bulk soil and compost are usually much cheaper per cubic foot.

Sources

How we checked this

Before every update, this calculator is run in a real browser with these known answers, and it must match all of them:

  • 8 × 4 ft bed, 12 in deep: 32 cu ft ✓
  • Same: 1.19 cubic yards ✓
  • Same, 70/30 mix: 22.4 cu ft topsoil ✓
  • Equal thirds: 10.67 cu ft each ✓
  • Three beds: 96 cu ft ✓
  • Edge: 1.5 beds asks for a whole number ✓

Last checked October 26, 2026. Spotted something wrong? The math is done in your browser with the formula shown on this page, so you can check any result by hand.

Add this calculator to your website (free)

Paste this code into any web page. The calculator works on your page, resizes itself, has no ads and no tracking cookies, and nothing your visitors type is sent anywhere. More about embedding.

Questions people ask

How many bags of soil for a 4 × 8 raised bed?

Filled 12 in deep it holds 32 cubic feet: 32 bags of 1 cu ft, 22 bags of 1.5 cu ft or 16 bags of 2 cu ft. At 10 in deep, 26.7 cu ft.

How much soil for a 4 × 4 raised bed?

16 cubic feet at 12 in deep, or 8 cubic feet at 6 in.

How many cubic yards in a 4 × 8 × 1 ft bed?

32 ÷ 27 = 1.19 cubic yards.

What is the best soil for a raised bed?

A loose, well-drained mix with plenty of organic matter. Iowa State suggests equal parts topsoil, compost and coarse sand, or about 70% topsoil and 30% compost.

Should I fill a raised bed to the top?

Usually to within an inch or two of the top, and expect it to settle. Top up with compost each season.

Related calculators