What Is a Raised Bed Soil Calculator?
A raised bed soil calculator works out how much soil fills a raised garden bed: enter the bed length, width and soil depth and it returns the volume in cubic feet, cubic yards and litres, the number of bags to buy, and how that volume splits into a soil mix. It answers the question every new raised bed gardener asks at the garden centre, usually while staring at a pallet of bags: how much soil for a raised bed this size? Guessing wrong is expensive in both directions. Buy too little and you make a second trip with a half-filled bed drying out at home. Buy too much and you own a small mountain of bagged soil you have nowhere to store.
This calculator goes further than a bare volume figure. It counts bags at the three common sizes (1, 1.5 and 2 cubic feet), splits the total into the classic raised bed soil mix ratio of 60% topsoil, 30% compost and 10% aeration, offers Mel's Mix in equal thirds as an alternative, adds an optional settle allowance because fresh soil drops 10 to 20 percent, and totals an optional cost per bag. It works in feet and inches or metres and centimetres, for one bed or a whole garden of them.
How This Raised Bed Soil Calculator Works
Each control does one job. Length and width are the inside measurements of the frame, in feet or metres depending on the unit toggle. Soil depth is how deep you will actually fill, in inches or centimetres, which is usually an inch or two below the top board rather than the full height of the lumber. Number of beds multiplies everything for matching beds. The bag size selector sets the bag count, the mix preset sets how the volume splits between components, the settle allowance optionally scales the order up by 10, 15 or 20 percent, and the optional cost per bag turns the bag count into a total price.
The defaults are the guide's main worked example, an 8 ft by 4 ft bed filled 12 inches deep, and they return 32 cubic feet, about 1.185 cubic yards, about 906.1 litres and 22 bags at 1.5 cubic feet. Every number in this guide was produced with the same formulas the calculator uses, worked step by step in the next section.
The Maths, Worked Step by Step
A raised bed is a box, and the soil volume of a box is length x width x depth, with all three measurements in feet. Depth is the one people get wrong, because beds are measured in inches of depth. Convert it first: depth in feet = inches / 12, so 12 inches is 1 ft and 10 inches is 0.833 ft. Then, for the worked example: 8 ft x 4 ft x 1 ft = 32 cubic feet. That single figure drives everything else on the page.
Cubic yards = cubic feet / 27, because a cubic yard is a 3 ft cube. So 32 / 27 = 1.185 cubic yards. Litres = cubic feet x 28.3168, so 32 x 28.3168 = 906.1 litres. Bags = cubic feet / bag size, rounded up: 32 / 1.5 = 21.3, so 22 bags. Mix components are percentages of the total: 60% of 32 is 19.2 cubic feet of topsoil, 30% is 9.6 of compost and 10% is 3.2 of aeration material. Mel's Mix divides by three instead: about 10.7 cubic feet of each ingredient.
| Step | Working | Result |
|---|---|---|
| Volume, 8 x 4 ft at 12 in | 8 x 4 x (12 / 12) | 32 cu ft |
| Cubic yards | 32 / 27 | 1.185 cu yd |
| Litres | 32 x 28.3168 | 906.1 litres |
| Bags of 1 cu ft | 32 / 1, rounded up | 32 bags |
| Bags of 1.5 cu ft | 32 / 1.5 = 21.3, rounded up | 22 bags |
| Bags of 2 cu ft | 32 / 2 | 16 bags |
| Topsoil at 60% | 32 x 0.60 | 19.2 cu ft |
| Compost at 30% | 32 x 0.30 | 9.6 cu ft |
| Aeration at 10% | 32 x 0.10 | 3.2 cu ft |
| Mel's Mix, per third | 32 / 3 | 10.7 cu ft each |
The metric route reaches the same answer: a bed 2.44 m x 1.22 m x 0.305 m holds about 0.906 cubic metres, and a cubic metre is 1,000 litres, so about 906 litres. The calculator converts metric inputs to feet internally and applies the identical formulas, which is why both systems agree to the litre.
How Much Soil for a Raised Bed? Common Sizes and Volumes
Most raised beds are built from a small set of footprints, because lumber comes in standard lengths and a bed wider than 4 feet is hard to reach across. The table below gives the cubic feet of soil for the common sizes at three fill depths, before any settle allowance. Find your footprint, read across to your depth, and you have the figure the bag count and the bulk quote both start from. Depths of 8 and 12 inches cover most vegetable beds; 18 inches suits deep beds on paving and tall beds built for gardeners who cannot bend far.
| Bed size (inside) | 8 in deep | 12 in deep | 18 in deep | 12 in, in cu yd | 12 in, 1.5 cu ft bags |
|---|---|---|---|---|---|
| 2 x 4 ft | 5.3 cu ft | 8 cu ft | 12 cu ft | 0.30 | 6 |
| 3 x 3 ft | 6 cu ft | 9 cu ft | 13.5 cu ft | 0.33 | 6 |
| 3 x 6 ft | 12 cu ft | 18 cu ft | 27 cu ft | 0.67 | 12 |
| 4 x 4 ft | 10.7 cu ft | 16 cu ft | 24 cu ft | 0.59 | 11 |
| 4 x 6 ft | 16 cu ft | 24 cu ft | 36 cu ft | 0.89 | 16 |
| 4 x 8 ft | 21.3 cu ft | 32 cu ft | 48 cu ft | 1.19 | 22 |
| 4 x 10 ft | 26.7 cu ft | 40 cu ft | 60 cu ft | 1.48 | 27 |
| 4 x 12 ft | 32 cu ft | 48 cu ft | 72 cu ft | 1.78 | 32 |
Two patterns are worth noticing. Volume scales exactly with depth, so shaving two inches off the fill of a big bed saves real money. And the popular 4 x 8 ft bed at 12 inches lands just over one cubic yard, the tipping point where bulk delivery usually starts beating bags on price. For a non-standard or L-shaped bed, split it into rectangles, calculate each one, and add them together.
Cubic Feet, Cubic Yards and Litres: Converting Without Tears
Soil is sold in three units. Cubic feet are the bag unit: nearly every bag of raised bed mix, topsoil and compost in North America is labelled in cubic feet, most often 1, 1.5 or 2. Cubic yards are the bulk unit: landscape suppliers quote and deliver by the yard, and one cubic yard is 27 cubic feet. Litres are the metric bag unit in Canada and much of the rest of the world: one cubic foot is 28.3168 litres, so a 1.5 cubic foot bag is about 42.5 litres.
The conversions worth memorising are just three. Cubic yards = cubic feet / 27. Litres = cubic feet x 28.3168. Bags = cubic feet / bag size, rounded up. One warning: do not confuse volume with weight. A cubic foot of dry peat-based mix may weigh 15 lb while a cubic foot of wet topsoil can exceed 70 lb, which is why soil is sold by volume and why this calculator never asks for a weight.
Bags vs Bulk: How Many Bags of Soil, and When to Stop Buying Them
Bags win on convenience for small volumes. They are clean, stackable, consistent in quality, and you can buy exactly the count the calculator gives you, component by component: so many bags of topsoil, so many of compost, so many of perlite. For a single 4 x 4 ft bed at 16 cubic feet, eleven 1.5 cubic foot bags is a reasonable trolley load.
Bulk wins on price as volume grows. Bagged soil commonly costs several times more per cubic foot than a bulk blend delivered by the yard. As a working rule, price both routes once your total passes about one cubic yard (27 cubic feet): get the bag total using the cost per bag field, then ask a landscape supplier for a delivered quote on the cubic yards figure, ideally for a pre-mixed raised bed blend. Bulk is quoted loose and settles in the bed, so the settle allowance matters more, not less, with a bulk load. And check access first: a cubic yard on the driveway still reaches the bed one wheelbarrow at a time.
The Classic Raised Bed Soil Mix Ratio: 60/30/10
The raised bed soil mix ratio this calculator uses as its default, 60% topsoil, 30% compost and 10% aeration material, is the general-purpose blend most often recommended for beds on open ground. Each part has a job. The topsoil is the mineral backbone: body, weight and long-term stability, and the cheapest component by volume. The compost is the engine: it carries most of the nutrients, feeds the soil biology, and improves water holding and drainage at once. The aeration share, usually perlite, coarse vermiculite or coarse sand, keeps the mix open so roots get air and excess water drains.
For the worked example of 32 cubic feet, the split is 19.2 cubic feet of topsoil, 9.6 of compost and 3.2 of aeration material, roughly 13, 7 and 3 bags at 1.5 cubic feet. Extension services publish close cousins rather than one single formula: the University of Maryland Extension suggests compost and topsoil at 1:2 or 1:1 for a bed on lawn, and Iowa State guidance is often summarised as about 70% topsoil to 30% compost. All of them put compost at roughly a third of the bed. What matters is the pattern, not the second decimal place. And mix the components rather than layering them: layered fills create interfaces that water and roots cross reluctantly, while a blended fill behaves as one soil.
Mel's Mix: The 1/3, 1/3, 1/3 Alternative
Mel's Mix is the soil recipe from Mel Bartholomew's Square Foot Gardening method, with a different philosophy: no topsoil at all. By volume it is one third blended compost, one third peat moss (or coconut coir) and one third coarse vermiculite. The compost is the food, ideally blended from several sources. The peat moss or coir is the sponge, holding water and keeping the mix light. The coarse vermiculite is the structure, holding pore space open. With no mineral soil, Mel's Mix is light, consistent and almost impossible to compact, which is why the method can grow intensively in as little as 6 inches of it.
The trade-off is cost: vermiculite and peat or coir are pricier than topsoil, so Mel's Mix usually costs more per cubic foot, and it suits the smaller, intensively planted beds the method was designed around. For a 32 cubic foot bed the preset gives about 10.7 cubic feet of each ingredient. Maintenance is the same for either recipe: the compost fraction is consumed by plants and microbes, so top each section back up with fresh compost as you replant, which the Square Foot Gardening Foundation describes as how Mel's Mix is kept going for years without replacement.
How Deep Should a Raised Bed Be?
Depth is the biggest lever on your soil bill, because volume is directly proportional to it: a 12-inch fill needs exactly twice the soil of a 6-inch fill. So fill as deep as your crops need and no deeper. University of Georgia Extension guidance puts at least 10 inches of soil as covering most garden crops, and University of Maryland Extension gives minimums for beds on a hard surface of at least 8 inches for leafy greens, beans and cucumbers and 12 to 24 inches for peppers, tomatoes and squash.
Where the bed sits changes the answer. On open ground with the soil underneath loosened, roots are not confined to the box and continue into the soil below, so a 6 to 8 inch bed grows far more than salad greens. On paving or compacted ground, the box is the entire root zone and depth is non-negotiable. Measure the fill depth, not the board height: leave an inch or two of headroom below the top edge, and enter that fill depth in the calculator.
Settling: Why a Full Bed Drops 10 to 20 Percent
Every new raised bed sinks. Fresh fill is full of air pockets that the first waterings collapse, and the organic fraction then decomposes into a smaller volume of material. The combined first-season drop is typically about 10 to 20 percent of the fill depth, so a bed filled level at 12 inches may sit at 10 inches by midsummer. Extension advice is to expect this and restore the level with an annual top-dressing of compost or good topsoil. It is normal soil behaviour, not a sign you bought the wrong mix.
This calculator handles settling two ways. The default is the true geometric volume, the number every other figure depends on. The optional settle allowance scales the order up by 10, 15 or 20 percent, applied to the volume, the bags and each mix component, so the extra arrives with the first delivery. A common middle path is to order the true volume, water the filled bed well, let it drop for a few days, and top up from a small reserve. Either way, plan the top-up; do not be surprised by it.
Bag Volumes Are Nominal, and Other Honest Notes
The bag count is computed from the volume printed on the bag, and that printed volume is a nominal manufacturer volume. Contents settle and compact in transit and storage, and products differ in how fluffed or compressed they are, so a bag count is a precise estimate built on a nominal input; keeping one spare bag for a new bed is cheap insurance. The same caution applies to bulk yards, measured loose at the yard and compacted in your bed.
Costs deserve the same honesty. The total cost field simply multiplies the bag count by the price per bag you enter; it cannot know local prices, delivery fees or bulk discounts, and it does not price the bulk route, because bulk pricing varies too much by region to fake a figure. Finally, topsoil is not a regulated product in many jurisdictions, a point both UGA and Maryland extension pages make: buy from a reputable supplier and look at it before it is tipped into your bed.
Common Raised Bed Soil Mistakes
Measuring the outside of the frame. Lumber and corner posts shrink the fill space; on a nominal 8 x 4 ft bed the inside volume can be 10 percent less than the outside suggests. Forgetting the depth conversion. Multiplying 8 x 4 x 12 is the classic error; depth must be in feet, so 12 inches enters the formula as 1. Filling with soil dug from the yard. Native soil alone usually compacts and drains poorly in a box; extension guidance blends it with compost or replaces it with a mix. Layering instead of mixing, which creates interfaces roots and water cross badly. Skipping the settle allowance and planting at a level that drops two inches in a month. Buying bags for a bulk-sized job: four beds at 128 cubic feet is a delivery, not a trolley load.
What This Calculator Cannot Do: An Honest Note
It cannot judge soil quality. It tells you how much topsoil, compost and aeration material a recipe needs, not whether a particular bag or bulk load is good; that takes looking, smelling and ideally a soil test through your local extension office, which several of the sources below recommend before planting. It cannot predict your exact settle, only offer the standard 10 to 20 percent range. It cannot weigh your soil, because weight per cubic foot varies several-fold with moisture and material. And it cannot design the bed itself: lumber sizes, drainage on your site, and whether a bed belongs on your soil at all are build decisions the volume maths assumes you have already made. Inside those limits it does its one job exactly: the right volume, in every unit soil is sold in, with the working shown.
Sources & References
- University of Minnesota Extension - Raised bed gardens
- University of Georgia Extension - Raised Bed Soils (volume worked as length x width x height, cubic yards as cubic feet / 27)
- Colorado State University Extension - Sample Planting Guide for Raised-Bed Garden
- PlantTalk Colorado (Colorado State University Extension) - Raised Bed Gardening (4 ft ideal width, fill and soil guidance)
- University of Maryland Extension, Maryland Grows - Filling Your Raised Bed (compost and topsoil 1:2 or 1:1, depths on hard surfaces)
- US Environmental Protection Agency - Composting at Home
- Square Foot Gardening Foundation - Mel's Mix (1/3 peat moss or coco coir, 1/3 coarse vermiculite, 1/3 blended compost, by volume)
Source note: all seven sources above were checked live and returned HTTP 200 when this page was built. Two substitutions are disclosed: the Colorado State Extension fact sheet 7.232 address no longer resolves, so current Colorado State Extension raised bed pages are cited instead; and the Square Foot Gardening Foundation homepage blocks automated checks, so a specific Foundation article stating the Mel's Mix recipe is cited instead. Every worked figure in this guide was calculated with this page's own formulas, so you can reproduce each one exactly by entering the same numbers above.