Raised Bed Soil Calculator: Fill Any Garden Bed Exactly
Enter the length, width and depth of your bed, choose a fill type, and set how many beds you're filling. The calculator returns total volume, the blend split by ingredient, bag counts and weight in real time.
Results: Total Fill Needed
Bags of Fill Needed
Blend Breakdown (40% topsoil / 40% compost / 20% sand)
Why Raised Beds Need a Blend, Not Neat Topsoil
Open ground drains sideways as well as down: water and air move through the soil in every direction, and worms and roots keep channels open even where the surface compacts. A raised bed frame removes that sideways drainage entirely. Water can only move straight down through whatever is packed directly above it, so a bed filled with neat topsoil compacts far harder than the same soil would in an open row, and once it compacts, roots struggle to push through it and water pools instead of draining.
The standard fix is a 40 percent topsoil, 40 percent compost, 20 percent sand blend rather than topsoil alone, and each ingredient does one job the others can't. Topsoil supplies the mineral body of the mix and most of its water-holding capacity. Without it, the bed would drain too fast to keep plants watered between waterings. Compost adds organic matter, feeds the microbial life that keeps the mix loose, and replaces the nutrients a boxed bed has no surrounding soil to draw on; a bed built from topsoil alone slowly starves as those nutrients get used up with nothing nearby to replenish them. Sand's only job is keeping pore space open: it contributes essentially no nutrients of its own, but it stops the compost and topsoil from packing down into a dense, airless layer over a full season of watering, foot traffic near the edges, and the sheer weight of the fill settling under its own weight.
Nutrient load is the part gardeners underestimate most. In open ground, a plant's roots can spread out well beyond the row it was planted in and draw nutrients from soil nobody amended at all. Inside a raised bed, every root is confined to the box, so whatever nutrients the fill started with are all a plant will ever get unless more are added. A bed filled with straight topsoil and never amended again typically shows visible nutrient deficiency (pale leaves, stunted growth) by its second season, well before the physical structure of the soil has broken down. The compost in a 40/40/20 blend isn't just there for texture; it's the ongoing food supply the frame has cut the plant off from finding elsewhere.
Straight topsoil is not wrong, and the calculator supports it directly as a fill type, but it asks for more attention over time: expect to break up the surface with a fork each spring, top-dress with compost more often than a blended bed would need, and watch more closely for the nutrient deficiencies a blend would have prevented on its own.
Depth by Crop Type
Six inches is the usable minimum for a raised bed, deep enough for shallow-rooting crops but tight for anything that sends roots down rather than out. There is no single "correct" depth for a raised bed the way there is for a lawn top-dressing layer, because the right number depends entirely on what is planted in it. Choose a deeper fill for crops that need the room:
| Crop type | Depth (in) |
|---|---|
| Leafy greens & herbs | 6 |
| Most vegetables | 8–10 |
| Root crops (carrots, parsnips) | 12 |
| Strawberries | 8 |
Root crops such as carrots and parsnips want the full 12 inches so the taproot never hits the bed floor or the compacted ground beneath it; a shallower fill produces stunted, forked roots. Leafy greens and herbs have shallow root systems and are the one crop type where the 6-inch minimum is genuinely enough, not just a compromise. Most vegetables, including tomatoes, peppers, squash, and beans, fall in the middle at 8 to 10 inches, deep enough for a proper root ball without paying for fill depth the plant will never use. When a single bed mixes crops from more than one row of this table, size the fill to the deepest crop in it rather than averaging: a carrot planted in 8 inches of fill because the lettuce next to it only needed 6 will still come out stunted.
| Bed size | Depth | Cubic feet | Cubic yards | 0.75 cu ft bags |
|---|---|---|---|---|
| 4 × 4 ft | 6 in | 8.0 | 0.30 | 11 |
| 4 × 4 ft | 12 in | 16.0 | 0.59 | 22 |
| 4 × 8 ft | 6 in | 16.0 | 0.59 | 22 |
| 4 × 8 ft | 12 in | 32.0 | 1.19 | 43 |
| 4 × 12 ft | 6 in | 24.0 | 0.89 | 32 |
| 4 × 12 ft | 12 in | 48.0 | 1.78 | 64 |
| 8 × 8 ft | 6 in | 32.0 | 1.19 | 43 |
| 8 × 8 ft | 12 in | 64.0 | 2.37 | 86 |
Calculating for Multiple Beds
The "number of beds" field multiplies the per-bed volume by that count, so three identical 4×8 beds at 12 inches deep return 3 × 1.19 = 3.57 cubic yards without entering each bed separately. This only works cleanly when every bed shares the same length, width and depth; beds of different sizes still need to be run one at a time and added together, since the calculator has no way to know a second bed is smaller than the first unless you tell it by running it separately.
Filling more than one bed is exactly the situation where the bulk-versus-bagged threshold matters most: a single small bed rarely clears 2 cubic yards, but two or three beds together often do, and past that point bulk delivery runs 30 to 50 percent cheaper per unit than the same volume in bags. Add up the total across all beds before deciding how to order, not the volume of just one. A gardener who prices four 4×8 beds individually as bagged orders is paying the bagged rate on a total that would have easily justified a bulk delivery.
One practical wrinkle with multiple beds and a blend fill: most suppliers deliver topsoil, compost and sand as three separate bulk loads rather than pre-mixed, so the "ingredient breakdown" the calculator shows for a blend is also your shopping list for three separate orders, not one. Mixing the three on site with a wheelbarrow or a small cement mixer is standard practice for anything beyond a single bed's worth of material.
| Number of beds | Total volume (cu yd) |
|---|---|
| 1 bed | 1.19 |
| 2 beds | 2.37 |
| 3 beds | 3.56 |
| 4 beds | 4.74 |
| 6 beds | 7.11 |
Refilling a Raised Bed Over Time
A freshly filled bed doesn't stay at the depth it was filled to. Compost keeps breaking down after it's in the ground, which is what makes it compost rather than raw organic matter, and as it breaks down its volume shrinks, pulling the whole fill level down with it. Combined with ordinary settling from watering and the weight of the soil above compacting the layers below, a bed commonly loses 10 to 15 percent of its fill depth in its first full year, the same range as loose soil settling anywhere else on a property.
Most beds need a top-up rather than a full refill: a 1 to 2 inch layer of fresh blend added to the surface at the start of each new growing season restores the working depth without disturbing whatever soil structure and root systems are already established below it. Run the calculator with that 1 to 2 inch figure as the depth and the existing bed's length and width to size the top-up order exactly, rather than guessing at a bag or two.
A full refill, emptying the bed back to the frame and starting over, is rarely necessary from settling alone. It's usually a response to a different problem: soil-borne disease building up over several seasons of the same crop family, or a straight-topsoil bed that was never amended and has compacted past the point a fork can loosen. For an ordinary in-ground bed with no frame at all, none of this settling logic applies in the same way; the topsoil calculator on the homepage covers that simpler case directly.
Frequently Asked Questions
How much soil for a 4×8 raised bed?
A 4×8 raised bed filled 12 inches deep needs 32 cubic feet, which is 1.19 cubic yards, of fill. At 6 inches deep the same bed needs 16 cubic feet (0.59 cubic yards).
Can I use straight topsoil?
Straight topsoil can fill a raised bed, but it compacts harder inside a frame than in open ground because the walls block the sideways drainage that loose garden soil relies on. A 40/40/20 topsoil-compost-sand blend holds its structure far better over a full growing season.
How deep for tomatoes?
Tomatoes are a deep-rooting vegetable, so 10 to 12 inches of fill suits them better than the 6-inch minimum used for leafy greens and herbs.
How many bags for a 4×4 bed?
A 4×4 bed at the standard 6-inch depth needs 11 bags at 0.75 cubic feet each, or about 17 bags at 40 pounds each. At 12 inches deep, both figures double.
Is potting mix the same as raised bed mix?
Potting mix is a soilless, lightweight medium designed for containers with drainage holes on every side. Raised bed mix is heavier and cheaper per cubic yard, built to hold moisture and structure in a large open-topped box rather than a small pot.
How often should I top up raised bed soil?
Raised bed soil settles 10 to 15 percent in its first year as organic matter breaks down, so most beds need a 1 to 2 inch top-up of fresh blend at the start of each new growing season.
Related Tools
- the compost & amendment calculator
Work out the compost portion of a blend by volume, or a straight amendment layer by weight.
- sizing mulch for the bed's surface
Once the bed is filled, a mulch layer on top holds moisture and blocks weeds.
- the lawn top-dressing calculator
For a thin lawn layer instead of a boxed bed, this tool handles that case.