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.
Soil for common bed sizes
Filled to the top, including your 10% for settling. A cubic yard is 27 cubic feet.
| Bed | 6 in tall | 12 in tall | 18 in tall | 24 in tall |
|---|---|---|---|---|
| 4 × 4 ft | 8.8 cu ft | 17.6 cu ft | 26.4 cu ft | 35.2 cu ft |
| 4 × 8 ft | 17.6 cu ft | 35.2 cu ft | 52.8 cu ft | 70.4 cu ft |
| 3 × 6 ft | 9.9 cu ft | 19.8 cu ft | 29.7 cu ft | 39.6 cu ft |
| 2 × 8 ft | 8.8 cu ft | 17.6 cu ft | 26.4 cu ft | 35.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
- Each bed: length × width (or 3.1416 × radius² for a round bed) × height in feet (inches ÷ 12), times the number of beds that size.
- 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.
- Extra: we add the percentage you choose for settling. Fresh soil can drop 2–4 in in the first season.
- The mix: the soil is split by the shares in your mix, then each part is divided by its bag size and rounded up.
- Bulk: the whole amount in cubic yards × the price of blended raised bed mix, plus delivery.
- Top-up: 1–2 in of compost over the beds each year.
Soil mixes, side by side
| Mix | What goes in | From |
|---|---|---|
| Classic 60/30/10 | 60% topsoil, 30% compost, 10% perlite or vermiculite | Vego Garden |
| Topsoil and compost | 70% topsoil, 30% compost | Iowa State University Extension |
| Equal thirds with sand | Topsoil, compost and coarse sand | Iowa State University Extension |
| Mel’s Mix | Compost, peat moss and coarse vermiculite, a third each | Square Foot Gardening |
| Compost and bagged soil | Half compost, half soil-free mix | Gardener’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.
- Soil: 3 beds × 8 × 4 ft × (12 ÷ 12) ft = 96 cubic feet. Plus 10% = 105.6 cubic feet, or 3.91 cubic yards.
- Topsoil, 60%: 63.4 cubic feet ÷ 0.75 = 85 bags of 0.75 cu ft.
- Compost, 30%: 31.7 cubic feet ÷ 1 = 32 bags of 1 cu ft.
- Perlite, 10%: 10.6 cubic feet ÷ 4 = 3 bags of 4 cu ft.
- 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 for | Typical 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.
- 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.
- 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.
- 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.
- 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.
- Raised Bed Soil Calculator, Omni Calculator. Depth for vegetables and bottom fillers for deep beds.
- Soil Calculator for Raised Beds and Containers, The Old Farmer’s Almanac. Soil depth by crop and bed width.
- Raised Garden Bed Soil Calculator, Frame It All. Depth for lettuce, herbs and deeper crops; 10% for settling; filling below the rim.
- 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.
- How Much Does Topsoil Cost?, Lawn Love (October 2026). Bagged topsoil, compost and planting soil prices.
- How Much Does a Yard of Compost Cost? 2026, LatestCost (October 2026). Bagged and bulk compost and blended mix prices, and delivery.
- Miracle-Gro Organic Raised Bed & Garden Soil, 1.5 Cubic Feet, Walmart (October 2026). Bagged raised bed soil price.
- Supreme Horticulture Coarse Grade Perlite, 4 Cubic Feet, Walmart (October 2026). Perlite bag size and price.
- Palmetto Vermiculite Coarse Grade A-3, 4 Cu Ft Bag, Walmart (October 2026). Vermiculite bag size and price.
- 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.
More calculators
Your shopping list
Your beds
- 1 bed, 8 × 4 ft, 12 in tall
- Soil mix: Classic 60/30/10
- Extra for settling: 10% (typical)
What to buy
- Soil mix in all: 35 cubic feet of soil mix (1.30 cubic yards)
- Topsoil: 29 bags (60% of the mix: 21.1 cu ft, in 0.75 cu ft bags. $116)
- Compost: 11 bags (30% of the mix: 10.6 cu ft, in 1 cu ft bags. $77)
- Perlite or vermiculite: 1 bag (10% of the mix: 3.5 cu ft, in 4 cu ft bags. $45)
- Compost to top up each year: 2.7–5.3 cu ft
Cost estimate
- Mixing your own from bags: $238
- Raised bed mix, delivered: $188
- Bulk raised bed mix is cheaper, by about $50.
Drawn to scale. Each grid square is 1 foot across.
- Rectangle, 1 bed, 8 × 4 ft, 12 in tall · 32 sq ft
Side view
The tallest bed, drawn to scale. Soil all the way down.
Open these numbers again: https://pilemath.com/raised-bed-soil-calculator/
Compare prices: search for “garden soil supplier near me” on Google Maps.
Estimate only. Includes your 10% extra for settling. Confirm bag sizes at the store.