Raised Bed Soil Calculator

Add your beds, pick a soil mix and see how many bags of topsoil, compost and the rest to buy, or how much blended mix to order. Tall beds can save soil with logs and leaves in the bottom.

Your beds

Shape
  • Lettuce and herbs 6–8 in
  • Most vegetables 12 in or more
  • Carrots, beets and peppers 18–24 in

60% topsoil, 30% compost and 10% perlite or vermiculite. Vego Garden’s recipe, and a common place to start.

Tall beds can be part-filled with logs, branches and leaves to save soil. We keep at least 12 in of soil on top, so beds 12 in tall or less stay all soil.

Enter your pricesUsing example prices

The defaults are example prices. Enter what your garden center or soil yard charges.

You need about

35
cubic feet of soil mix
1.30
cubic yards
Beds
1 bed · 32 sq ft
Soil depth
12 in
Logs and leaves
None
Compost to top up each year
2.7–5.3 cu ft
Your mix
  • Topsoil29 bags$116

    60% of the mix: 21.1 cu ft, in 0.75 cu ft bags.

  • Compost11 bags$77

    30% of the mix: 10.6 cu ft, in 1 cu ft bags.

  • Perlite or vermiculite1 bag$45

    10% of the mix: 3.5 cu ft, in 4 cu ft bags.

Bags or bulk?
Mixing your own from bags$238
Raised bed mix, delivered$188

Bulk raised bed mix is cheaper, by about $50.

Using example prices. Open “Enter your prices” to use your own.

Find soil and compost suppliers near you to compare prices.

Your plan

Drawing of 1 area1

Drawn to scale. Each grid square is 1 foot across.

  1. Rectangle, 1 bed, 8 × 4 ft, 12 in tall · 32 sq ft

Side view

Side view of a 12 in bed: 12 in of soil mixSoil mix12 in deepGround

The tallest bed, drawn to scale. Soil all the way down.

35 cubic feet of soil mix1.30 cubic yards

See details

Soil for common bed sizes

Filled to the top, including your 10% for settling. A cubic yard is 27 cubic feet.

Bed6 in tall12 in tall18 in tall24 in tall
4 × 4 ft8.8 cu ft17.6 cu ft26.4 cu ft35.2 cu ft
4 × 8 ft17.6 cu ft35.2 cu ft52.8 cu ft70.4 cu ft
3 × 6 ft9.9 cu ft19.8 cu ft29.7 cu ft39.6 cu ft
2 × 8 ft8.8 cu ft17.6 cu ft26.4 cu ft35.2 cu ft

Key numbers

A 4 × 8 ft bed, 12 in deep, holds
32 cubic feet of soil, about 1.19 cubic yards
Bags for that bed
22 bags of 1.5 cu ft, or 43 bags of 0.75 cu ft, before settling
A classic mix
60% topsoil, 30% compost and 10% perlite or vermiculite
Soil depth
6–8 in for lettuce and herbs, 12 in or more for most vegetables
Settling
the soil can drop 2–4 in in the first season; top up with 1–2 in of compost

How the calculator works

  1. Each bed: length × width (or 3.1416 × radius² for a round bed) × height in feet (inches ÷ 12), times the number of beds that size.
  2. Logs and leaves: in beds taller than 12 in you can fill up to a third or half of the height with logs, branches and leaves. We always keep at least 12 in of soil on top.
  3. Extra: we add the percentage you choose for settling. Fresh soil can drop 2–4 in in the first season.
  4. The mix: the soil is split by the shares in your mix, then each part is divided by its bag size and rounded up.
  5. Bulk: the whole amount in cubic yards × the price of blended raised bed mix, plus delivery.
  6. Top-up: 1–2 in of compost over the beds each year.

Soil mixes, side by side

MixWhat goes inFrom
Classic 60/30/1060% topsoil, 30% compost, 10% perlite or vermiculiteVego Garden
Topsoil and compost70% topsoil, 30% compostIowa State University Extension
Equal thirds with sandTopsoil, compost and coarse sandIowa State University Extension
Mel’s MixCompost, peat moss and coarse vermiculite, a third eachSquare Foot Gardening
Compost and bagged soilHalf compost, half soil-free mixGardener’s Supply

All shares are by volume. Pick one above, or choose “My own mix” and enter your own.

Worked example: three 4 × 8 ft beds

Three beds, each 4 × 8 ft and 12 in tall, filled with the classic 60/30/10 mix and 10% extra for settling. This is the same math the calculator runs.

  1. Soil: 3 beds × 8 × 4 ft × (12 ÷ 12) ft = 96 cubic feet. Plus 10% = 105.6 cubic feet, or 3.91 cubic yards.
  2. Topsoil, 60%: 63.4 cubic feet ÷ 0.75 = 85 bags of 0.75 cu ft.
  3. Compost, 30%: 31.7 cubic feet ÷ 1 = 32 bags of 1 cu ft.
  4. Perlite, 10%: 10.6 cubic feet ÷ 4 = 3 bags of 4 cu ft.
  5. Cost at this page’s example prices: 85 × $4 + 32 × $7 + 3 × $45 = $699 in bags, or 3.91 yd × $75 + $90 delivery = $383 for blended mix.

Answer: About 3.9 cubic yards of soil. Ordering 4 yards of blended mix saves about $316 over 120 bags, and the mixing is done for you.

Which soil mix should I use?

  • Topsoil, compost and something to keep it light. Vego Garden suggests 60% quality soil, 30% compost and 10% perlite, vermiculite or similar. Iowa State University Extension suggests equal parts topsoil, compost and coarse sand, or about 70% topsoil and 30% compost.
  • No topsoil at all: Square Foot Gardening’s Mel’s Mix is a third each of compost, peat moss and coarse vermiculite. Gardener’s Supply suggests half compost and half soil-free mix when you have no good topsoil.
  • Go easy on peat moss. Gardener’s Supply advises keeping it to 20% of the mix or less, because it is acidic. Mel’s Mix uses a third, so keep an eye on your soil’s pH if you use it.
  • Skip plain garden soil, fill dirt and unscreened topsoil on their own. Vego Garden warns that garden soil alone is too heavy to drain well in a bed.

Every mix is measured by volume, not by weight. Our topsoil calculator covers soil for lawns and in-ground beds.

How deep should a raised bed be?

  • Lettuce, salad greens and herbs: 6–8 in of soil.
  • Most vegetables: 12 in or more. The Old Farmer’s Almanac suggests 12–18 in.
  • Carrots, beets, peppers and other deeper roots: 18–24 in.
  • On open ground, roots can also grow down into the soil below. Gardener’s Supply suggests clearing grass and weeds and loosening the ground 6–10 in before you set the bed.
  • Keep beds no wider than about 4 ft so you can reach the middle from both sides.

Filling a tall bed

Tall beds hold a lot of soil, and most roots never reach the bottom. Omni suggests a bottom filler for beds deeper than about 20 in. Logs and thick branches at the bottom, then twigs and leaves, are a common choice, and they break down slowly underneath.

Pick “Logs and leaves in the bottom” and the calculator fills up to a third or half of each bed with them, while always keeping at least 12 in of soil on top. A 4 × 8 ft bed 24 in tall takes 64 cubic feet of soil on its own; with a third of logs and leaves it takes 42.7, and with half, 32.

Wood and leaves settle as they rot, so a part-filled bed needs more topping up over the first few years.

Settling and topping up

Fresh soil settles. Mulch Mound reports that a bed filled to the rim in April can be 2–4 in lower by June, and beds with lots of organic matter settle the most. That is why the calculator adds 10% unless you change it.

Each year after, top up with 1–2 in of compost worked lightly into the surface. The result card shows how much that is for your beds. Fill to about an inch below the rim once the soil has settled, so water and mulch stay in the bed.

Bags or bulk?

A cubic yard is 27 cubic feet: 18 bags of 1.5 cu ft or 36 bags of 0.75 cu ft. One 4 × 8 ft bed 12 in deep is a little over a yard, so for two or three beds a delivered load of blended raised bed mix is usually cheaper and saves a lot of mixing.

Bags make sense for one small bed, for a mix you want to control exactly, or where a truck cannot reach. The calculator compares both with your prices.

What does raised bed soil cost?

What you pay forTypical price
Bagged topsoil$2–$5 a bag
Bagged compost$4–$11 per 1 cu ft bag
Bulk compost$25–$75 per cubic yard picked up, $45–$120 delivered
Compost and topsoil blend$50–$110 per cubic yard
Organic planting soil, bulk$30–$50 per cubic yard
Raised bed soil, 1.5 cu ft bag$8.97
Coarse perlite, 4 cu ft bag$44.99
Coarse vermiculite, 4 cu ft bag$75.99
Peat moss, 3.8 cu ft bale$38.99

Sources: Lawn Love and LatestCost (October 2026) for bulk and bag ranges; Walmart and Greenhouse Megastore store prices (October 2026) for single bags. Prices vary a lot by region.

Mistakes to avoid

  • Filling to the rim with no extra. The soil can drop 2–4 in in the first season, so a bed filled level in spring sits well below the rim by summer.
  • Using garden soil or fill dirt alone. It packs down in a bed and drains poorly.
  • Too much peat moss. Keep it to about 20% unless you are following Mel’s Mix and checking the pH.
  • Counting a compressed bale at its label size. A 3.8 cu ft bale of peat moss fluffs up to about 6 cu ft.
  • Building a bed wider than 4 ft, then stepping into it to reach the middle and packing the soil down.
  • Setting a bed on grass. Clear the turf and loosen the ground underneath first.

Common questions

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

At 12 in deep, 32 cubic feet, about 1.19 cubic yards. With 10% for settling, 35.2 cubic feet. That is 22 bags of 1.5 cu ft, or 43 bags of 0.75 cu ft, before settling.

How many bags of soil do I need for a 4 × 4 raised bed?

At 12 in deep, 16 cubic feet: 11 bags of 1.5 cu ft raised bed soil. At 6 in deep, as in square foot gardening, 8 cubic feet.

What is the best soil mix for raised beds?

A common place to start is 60% topsoil, 30% compost and 10% perlite or vermiculite. Iowa State University Extension suggests equal parts topsoil, compost and coarse sand, or 70% topsoil and 30% compost. Without topsoil, Mel’s Mix uses a third each of compost, peat moss and vermiculite.

How deep should a raised bed be?

6–8 in of soil for lettuce and herbs, and 12 in or more for most vegetables. Carrots, beets and other deeper roots do best in 18–24 in, or in a shorter bed on loosened ground.

What can I put in the bottom of a raised bed to save soil?

Logs and thick branches, then twigs and leaves. In a 4 × 8 ft bed 24 in tall, filling a third of it this way cuts the soil from 64 to 42.7 cubic feet. Keep at least 12 in of soil on top for roots.

How much does it cost to fill a raised bed?

For three 4 × 8 ft beds 12 in deep in a 60/30/10 mix, about $699 in bags at this page’s example prices, or about $383 for 3.9 cubic yards of delivered blended mix.

How many raised beds does a yard of soil fill?

A cubic yard is 27 cubic feet, which fills one 4 × 8 ft bed about 10 in deep, or 3.3 beds 4 × 4 ft at 6 in deep.

Does raised bed soil settle?

Yes. A bed filled to the rim in spring can be 2–4 in lower a couple of months later, according to Mulch Mound. Add about 10% to start, then top up with 1–2 in of compost each year.

How much soil do I need for a round raised bed?

Area × depth: a round bed 4 ft across and 12 in deep holds 3.1416 × 2 × 2 × 1 = 12.6 cubic feet. Pick Round above to add round beds to your estimate.

How much Mel’s Mix do I need for a 4 × 4 square foot garden?

A 4 × 4 ft box 6 in deep holds 8 cubic feet, so about 2.67 cubic feet each of compost, peat moss and vermiculite. The Square Foot Gardening Foundation puts it at 12 five-gallon buckets.

Sources

We checked the figures on this page against these sources on . Prices are national ranges from the dates shown; your local yard may charge more or less.

  1. How Much Soil Do I Need for a Raised Garden Bed?, Vego Garden. The 60/30/10 mix; garden soil alone is too heavy for a bed.
  2. What would be a good soil mix for a raised bed?, Iowa State University Extension. Equal parts topsoil, compost and coarse sand, or 70% topsoil and 30% compost.
  3. Mel’s Mix and Compost handout, Square Foot Gardening Foundation. Mel’s Mix and the soil in a 4 × 4 ft box 6 in deep.
  4. How Much Soil Do I Need?, Gardener’s Supply Company. Compost and soil-free mix without topsoil; peat moss at 20% or less; preparing the ground; a 3 × 6 ft bed example.
  5. Raised Bed Soil Calculator, Omni Calculator. Depth for vegetables and bottom fillers for deep beds.
  6. Soil Calculator for Raised Beds and Containers, The Old Farmer’s Almanac. Soil depth by crop and bed width.
  7. Raised Garden Bed Soil Calculator, Frame It All. Depth for lettuce, herbs and deeper crops; 10% for settling; filling below the rim.
  8. Raised Bed Soil Top Off: What to Add in June and How Much to Order, Mulch Mound (June 2026). How much beds settle in the first season and how to top them up.
  9. How Much Does Topsoil Cost?, Lawn Love (October 2026). Bagged topsoil, compost and planting soil prices.
  10. How Much Does a Yard of Compost Cost? 2026, LatestCost (October 2026). Bagged and bulk compost and blended mix prices, and delivery.
  11. Miracle-Gro Organic Raised Bed & Garden Soil, 1.5 Cubic Feet, Walmart (October 2026). Bagged raised bed soil price.
  12. Supreme Horticulture Coarse Grade Perlite, 4 Cubic Feet, Walmart (October 2026). Perlite bag size and price.
  13. Palmetto Vermiculite Coarse Grade A-3, 4 Cu Ft Bag, Walmart (October 2026). Vermiculite bag size and price.
  14. Premier Sphagnum Peat Moss, Greenhouse Megastore (October 2026). Peat moss bale size, fluffed volume and price.

See a figure that does not match your supplier? Tell us and we will check it. How we check our numbers.

Add this calculator to your website

Run a supply yard, a landscaping business or a blog? Put this calculator on your own page, free. It works the same as here, resizes to fit, and shows nothing but the calculator: no ads.