ConstructionCalculators

Raised Bed Soil Calculator

Enter the bed size and how many beds, pick a soil mix, and get the cubic feet and bags of each part to buy.

Width 4 ftLength 8 ft12 in
Bed
ft
ft
in

You need

35.2cu ft

1.3 cu yd · includes 10% for settling

Topsoil, 70%: 24.6 cu ft in 0.75 cu ft bags
33 bags
Compost30%: 10.6 cu ft in 1 cu ft bags
11 bags
Cost in bags
$181.50

How Much Soil for a Raised Bed?

A 4 × 8 ft bed filled 12 inches deep holds 32 cubic feet of soil. With 10% for settling, buy 35.2 cubic feet, 1.30 cubic yards. Mixed 70% topsoil and 30% compost, that is 33 bags of 0.75 cubic foot topsoil and 11 bags of 1 cubic foot compost, about $181.50.

BedCu ft1.5 cu ft bags2 cu ft bags
2 × 4 ft, 12 in864
4 × 4 ft, 12 in16118
3 × 6 ft, 12 in18129
4 × 8 ft, 6 in16118
4 × 8 ft, 11 in29.32015
4 × 8 ft, 12 in322216
4 × 8 ft, 18 in483224
4 × 12 ft, 12 in483224

No allowance for settling. Bags hold their labeled volume loose, so a bed filled to the rim will sink an inch or two as it settles.

How to Calculate Raised Bed Soil

Multiply length by width in feet and by depth in inches, divide by 12 for cubic feet, add the settling allowance, then split the total by the mix:

Cubic feet = length (ft) × width (ft) × depth (in) ÷ 128 × 4 × 12 ÷ 12 = 32 cu ft32 × 1.10 settling = 35.2 cu ftTopsoil 70% = 24.6 cu ft; compost 30% = 10.6 cu ft24.6 ÷ 0.75 = 33 bags of topsoil; 10.6 ÷ 1 = 11 bags of compost

Measure the depth inside the bed, from the ground to where the soil will stop, not the board height on the outside. Divide cubic feet by 27 for cubic yards when you order in bulk.

Bed Depth by Board Size

Lumber is sold by its nominal size, but a dry 2 × 6 is 5 1/2 inches wide, so stacked boards make a shallower bed than the names suggest. Depth and soil for a 4 × 8 ft bed:

BoardsDepthSoil1.5 cu ft bags
One 2 × 65.5 in14.7 cu ft10
One 2 × 87.25 in19.3 cu ft13
One 2 × 109.25 in24.7 cu ft17
Two 2 × 611 in29.3 cu ft20
One 2 × 1211.25 in30.0 cu ft20
Three 2 × 616.5 in44.0 cu ft30
Two 2 × 1018.5 in49.3 cu ft33
Two 2 × 1222.5 in60.0 cu ft40

A bed of two 2 × 6 boards in section:

5-1/2 in11 insettles 1–2 in

How Deep Should a Raised Bed Be?

BedDepthSource
Any raised bed, at least6–12 inIllinois; Utah State
Vegetables12–18 inTexas A&M
Greens on a hard surface8 in or moreUniversity of Maryland
Tomatoes, peppers, squash on a hard surface12–24 inUniversity of Maryland
Compost-rich mix over pavement16 in or moreUniversity of Maryland

How deep vegetable roots reach in open soil, by UC Cooperative Extension:

RootsVegetables
Shallow, 12–18 inLettuce, spinach, onion, garlic, leek, radish, potato, broccoli, cabbage, strawberry
Moderately deep, 18–24 inBeans, beet, carrot, cucumber, eggplant, peas, peppers, summer squash, kale, chard
Deep, over 24 inTomato, asparagus, sweet potato, pumpkin, winter squash, watermelon, okra

A bed on open ground doesn't have to hold all of that: roots go on down into the soil under it, so loosen it before you fill. Over a patio or with a solid bottom, the bed depth is all the roots get, which is why Maryland asks 12 to 24 inches for tomatoes there. Plant spacing in a bed is closer than in rows because nobody walks between the plants; the plant spacing calculator has the in-row spacing for common vegetables.

Raised Bed Soil Mix

Mix by volumeSource
70% soil, 30% compostPenn State Extension
60% topsoil, 30% compost, 10% soilless mixIllinois Extension
1/3 topsoil, 1/3 peat moss, 1/3 sand or coarse perliteTexas A&M
Compost 10–20% of the totalClemson Extension
Compost and topsoil 1:2 or 1:1 over clayUniversity of Maryland

Oregon State advises against filling a bed with compost alone. Over a hard surface, the University of Maryland suggests compost and soilless mix 1:1 with no more than 20% topsoil, in beds at least 16 inches deep. Beds sink as the compost breaks down; Oregon State tops them up with 1/4 to 1 inch of compost a year, and you can figure the compost for a top-up by area and depth.

Whatever the recipe, Maryland aims for 25 to 50% organic matter by volume and a pH of 6.2 to 6.8 for most vegetables and flowers. If the fill includes native soil from an urban yard, test it for lead: Maryland advises against growing vegetables where the total lead is over 400 ppm.

What to Put in the Bottom of a Raised Bed

Over a lawn, smother the grass first. The University of Maryland lays plain cardboard or several overlapping layers of newspaper on the turf and covers it with 2 to 4 inches of compost before the bed is filled. On bare soil there is nothing to smother; loosening it, as above, is enough.

On concrete or a patio, Maryland skips topsoil-heavy fills and uses compost and soilless mix 1:1 in a bed at least 16 inches deep. Count the cardboard-and-compost layer in the depth you enter; the calculator fills the whole depth you give it.

Raised Bed Soil vs. Potting Mix and Topsoil

  • Topsoil is mineral soil, the base of the 70/30 and 60/30/10 mixes; price bulk topsoil loads by the yard.
  • Potting or soilless mix holds little or no soil. Maryland uses it 1:1 with compost in beds on pavement, and Illinois puts 10% of it in its mix.
  • Bagged "organic soil" usually holds wood waste, bark fines, compost and peat moss and, Maryland notes, typically no topsoil at all. Check the bag before counting it as soil.

Do You Need to Replace Raised Bed Soil?

No. The soil stays; what you replace is the organic matter that breaks down. Clemson Extension replenishes beds with compost regularly, and Oregon State's yearly dose is a quarter inch to an inch. For the 4 × 8 ft bed an inch is 2.7 cubic feet, three bags of 1 cubic foot, and it also makes up the inch or two the bed settles.

How Many Beds Does a Yard Fill?

A cubic yard is 27 cubic feet, enough for a 4 × 8 ft bed about 10 inches deep, or three-quarters of the default 12 in bed with its settling allowance. A 3 yard delivery, a common minimum, fills about two and a quarter of those beds; a 2 × 4 ft bed 12 inches deep takes only 8 cubic feet, so a yard fills three of them.

  • Measure inside: use the inside length and width and the depth you will fill to, not the board height outside.
  • Allow for settling: beds filled to the rim sink an inch or two; the calculator adds 10%.
  • Not compost alone: a bed of pure compost shrinks and stays too wet; mix it with soil.

Raised Bed Soil in Liters

For beds measured in meters and soil sold in liters, one cubic meter is 1,000 liters:

BedWith settling50 L bags
1.2 × 1.2 m, 30 cm475 L10
1.2 × 2.4 m, 30 cm950 L20
1 × 2 m, 40 cm880 L18
1.2 × 3.6 m, 30 cm1,426 L29

A 4 × 8 ft bed 12 inches deep, 32 cubic feet, is 906 liters before settling.

Soil for Pots and Grow Bags

Each gallon of container holds 231 cubic inches of soil: 0.134 cubic feet, about 3.8 liters. Containers filled to the rim:

ContainerSoil1.5 cu ft bags
5 gallon0.67 cu ft1
10 gallon1.34 cu ft1
15 gallon2.01 cu ft2
20 gallon2.67 cu ft2
30 gallon4.01 cu ft3

Bags or Bulk?

Cost to fill the 4 × 8 ft bed 12 inches deep with 10% for settling, in bags, by mix:

70/30
$181.50
60/30/10
$228.08
Thirds
$283.92
Cost in bags, in dollars

The 70/30 mix takes 33 bags of topsoil and 11 of compost; the 60/30/10 mix 29 topsoil, 11 compost and 2 soilless mix; the thirds 16 topsoil, 4 peat and 24 sand. At $3.50 for 0.75 cubic foot of topsoil, $6 for 1 cubic foot of compost, $30.29 for a 2.8 cubic foot bag of soilless mix, $23.98 for a 3 cubic foot bale of peat moss and $5.50 for a 0.5 cubic foot bag of sand.

Bagged soil is easy for one or two beds. For more, bulk garden mix at about $50 a cubic yard plus delivery usually costs less, but many yards deliver no less than 2 to 3 cubic yards; price a bulk soil delivery before you order. Finish the planted bed with 2 to 3 inches of mulch, and work out how much mulch that takes.

Frequently Asked Questions

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

32 cubic feet at 12 inches deep, 1.19 cubic yards; with 10% for settling, 35.2 cubic feet. At 6 inches it is 16 cubic feet, at 18 inches 48.

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

At 12 inches deep: 22 bags of 1.5 cubic feet, 16 bags of 2 cubic feet or 43 bags of 0.75 cubic feet, before any allowance for settling.

What is the best soil mix for a raised bed?

Extension guides differ. Penn State suggests 70% soil and 30% compost; Illinois Extension 60% topsoil, 30% compost and 10% soilless mix; Texas A&M one-third each of topsoil, peat moss and sand or coarse perlite. Oregon State warns against filling beds with compost alone.

How deep should a raised bed be?

At least 6 to 12 inches, by Illinois and Utah State; Texas A&M says 12 to 18 inches for vegetables. Over a hard surface, the University of Maryland suggests at least 8 inches for greens and 12 to 24 for tomatoes, peppers and squash.

How much does a raised bed settle?

Beds sink over time as the compost decomposes, Oregon State notes. The calculator adds 10%; top up with compost each season.

How deep should a raised bed be for tomatoes?

About 12 to 18 inches for most vegetables, by Texas A&M. On a hard surface such as a patio, the University of Maryland suggests 12 to 24 inches for tomatoes, peppers and squash and at least 8 for greens.

How much does it cost to fill a raised bed?

A 4 × 8 ft bed 12 inches deep, mixed 70% topsoil and 30% compost in bags, costs about $181.50 with 10% for settling. Bulk garden mix costs less per yard but usually comes with a 2 to 3 yard delivery minimum.

What do you put in the bottom of a raised bed?

On a lawn, the University of Maryland smothers the grass under plain cardboard or overlapping layers of newspaper covered with 2 to 4 inches of compost, then fills the bed. On open soil nothing else is needed; loosen the ground so roots can go on down.

Do you need to replace raised bed soil every year?

No. Top it up instead: Clemson Extension replenishes raised beds with compost regularly; Oregon State's yearly dose is a quarter inch to an inch. An inch on a 4 × 8 ft bed is 2.7 cubic feet, three 1 cubic foot bags.

How deep is a bed made of two 2 × 6 boards?

About 11 inches: a 2 × 6 is 5 1/2 inches wide when dry, so two stacked boards make 11 inches. A 4 × 8 bed that deep holds 29.3 cubic feet.

Sources

  • Chawner, M. (2026). Soil health in raised beds. Penn State Extension.
  • Clemson Cooperative Extension. (2017). Raised beds (HGIC 1257).
  • Files, P., Arnold, M., Welsh, D., & Dainello, F. (2009). Building a raised bed garden (E-560). Texas AgriLife Extension Service.
  • Miller, C. (2016). Raised bed checklist. University of Illinois Extension.
  • Miller, W., & Mann, J. (2021). How to use compost in gardens and landscapes (EM 9308). Oregon State University Extension Service.
  • Southern Pine Inspection Bureau. (n.d.). Nominal vs. actual lumber sizes.
  • Traunfeld, J. (2024). Soil to fill raised beds. University of Maryland Extension.
  • University of California Cooperative Extension, Placer and Nevada Counties. (n.d.). Vegetable characteristics [Fact sheet]. UC Agriculture and Natural Resources.

Updated .

Cite this page as:

Daniel, P. Raised Bed Soil Calculator. Available at: https://constructioncalculators.com/raised-bed-soil-calculator/. Accessed: October 28, 2026.