Raised Bed Soil Calculator

Enter your bed size, depth and soil mix. You get how much topsoil, compost and other amendments to buy, in cubic feet, cubic yards and bags, with an allowance for settling.

Your beds Inside size
ft
ft
Ignored for round beds.
in
beds
%
Share of the depth. 0 for none.
%
Soil mix
%
%
%
$
$
Soil to buy0
Bed volume–
Filler at the bottom–
Soil incl. settling–
Topsoil–
Compost–
Other–
Total bags–
Cost in bags–
Cost in bulk–

Share your results: Facebook Pinterest Email
Embed this calculator on your website

Free for blogs, builders and lumber yards. Paste this code into your page. The calculator resizes itself to fit.

How to calculate raised bed soil

Multiply the inside length, width and depth of the bed to get its volume. Use feet for all three (divide inches by 12). Fresh soil and compost settle by roughly 10 to 20% in the first season, so add a little extra. A cubic yard is 27 cubic feet.

volume (cu ft) = length × width × depth (in) ÷ 12 round bed = π × (diameter ÷ 2)² × depth (in) ÷ 12 soil to buy = volume × (1 − filler %) × (1 + settling %) cubic yards = cubic feet ÷ 27

Example

One 4 × 8 ft bed filled 12 in deep holds 4 × 8 × 1 = 32 cu ft. With 10% extra for settling, buy 35.2 cu ft, which is 1.30 cu yd. A 60/40 mix of topsoil and compost is 21.1 cu ft of topsoil and 14.1 cu ft of compost. In 1.5 cu ft bags that is 15 bags of topsoil and 10 of compost, 25 bags in all.

Use the inside size of the bed. A bed built from 2× lumber loses 3 in from its outside length and width, so a 4 × 8 ft bed measured outside is about 3 ft 9 in × 7 ft 9 in inside.

Common raised bed mixes

MixRecipeGood for
Topsoil and compost60% topsoil, 40% compostMost vegetables; cheapest in bulk
Half and half50% topsoil, 50% compostHeavy feeders like squash and tomatoes
Square foot mix⅓ compost, ⅓ coir or peat, ⅓ vermiculiteShallow beds and small spaces; light but costly

Bags or bulk?

Bags are easy to carry and fine for one or two small beds. Above about 1 cubic yard, bulk delivery from a landscape yard is usually much cheaper, even with a delivery fee. Enter both prices above to compare.

Filling deep beds for less

For beds deeper than about 18 in, many gardeners fill the bottom third with logs, branches or leaves (a method often called hugelkultur) and put good soil on top. Enter the share of the depth in the filler box. The filler breaks down over time, so expect the soil level to drop and top up each spring.

Common questions

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

About 32 cu ft (1.2 cu yd) for a bed 12 in deep, or 35 cu ft (1.3 cu yd) with 10% extra for settling. At 18 in deep it is 48 cu ft before settling.

How many bags of soil fill a raised bed?

Divide the cubic feet by the bag size. A 4×8 ft bed 12 in deep with 10% extra needs about 24 bags of 1.5 cu ft, or 18 bags of 2 cu ft.

What is the best soil mix for raised beds?

A simple, proven mix is about 60% screened topsoil and 40% compost. For a lighter mix, use equal parts compost, coir and vermiculite.

How deep should raised bed soil be?

Most vegetables grow well in 8 to 12 in of good soil, and root crops like carrots prefer 12 in or more. Beds on top of hard ground or concrete need at least 12 in.

Related calculators

Last updated December 2026. Results are estimates. Check product labels and your local building code before you buy or build.