Garden Bed Dirt Calculator: How Much Soil Do You Actually Need?
Tell this tool the size and depth of your raised bed and it works out exactly how many cubic yards or bags of soil to buy, split out by topsoil, compost, and amendments.
This page contains Amazon affiliate links, and gardenfoster.com earns from qualifying purchases at no extra cost to you.
Tools and Supplies for This Job
How to Use This Calculator
Pick whether you are buying soil from scratch or figuring out how far the soil you already own will stretch.
Answer each step about your bed’s shape, size, and fill depth, and the last screen gives you a shopping list broken into cubic yards, bags, and mix components.
How Much Soil Do I Need for a Raised Garden Bed?
A standard 4 foot by 8 foot bed filled 10 inches deep takes almost exactly one cubic yard of soil.
Go shallower at 6 inches and that same bed only needs about 16 cubic feet, closer to two-thirds of a yard.
Deeper beds built for tomatoes or root vegetables at 18 inches will eat almost 1.8 cubic yards for that same footprint, so depth changes the number faster than most people expect.
How Many Bags of Soil Are in a Cubic Yard?
A cubic yard holds 27 cubic feet, so the bag count depends entirely on the bag size printed on the label.
Standard 1.5 cubic foot bags take 18 bags to equal one yard, while smaller 40 pound bags (roughly 0.75 cubic feet) take 36 bags for the same volume.
Once a bed needs more than about 15 to 18 bags, most gardeners find a single bulk delivery is cheaper and far less hauling than a cart full of bags.
Bag Size Conversion Chart
| Bag Size | Bags per Cubic Yard | Bags for a 4×8 Bed at 10 in |
|---|---|---|
| 0.75 cu ft (~40 lb) | 36 | 36 |
| 1.5 cu ft | 18 | 18 |
| 2 cu ft | 13.5 (round up to 14) | 14 |
| 3 cu ft | 9 | 9 |
Should I Fill My Raised Bed With Straight Topsoil, or a Blend?
Straight topsoil is the cheapest way to fill a bed, but it packs down hard within a season or two and drains poorly once compacted.
A 70/30 topsoil-to-compost blend is the most common recommendation because the compost keeps the mix loose while the topsoil adds weight and structure so raised beds do not blow away or dry out in an afternoon.
Mel’s Mix style blends (equal parts compost, peat or coco coir, and vermiculite) skip native soil entirely and stay extremely light, which is popular for square-foot gardening but pricier to fill at scale.
Soil Mix Comparison
| Mix | Ratio | Best For |
|---|---|---|
| Straight topsoil | 100% topsoil | Budget fills, ornamental or perennial beds |
| Topsoil + compost | 70/30 | Vegetable beds, most home gardens |
| Garden blend | 50/30/20 | Beds with drainage issues or heavy clay topsoil |
| Mel’s Mix style | 33/33/33 | Square-foot gardening, containers, no native soil |
What Is the Difference Between Topsoil, Garden Soil, and Raised Bed Soil at the Store?
Bagged topsoil is close to plain, unscreened dirt, sometimes weedy and often heavier on clay depending on where it was dug.
Bagged garden soil is topsoil pre-blended with a little compost or forest byproduct, and it is meant to be dug into existing ground rather than fill a raised bed on its own.
Bagged raised bed soil or “raised bed mix” is the lightest of the three, already blended with compost and sometimes perlite, and it is built specifically to perform in a contained box rather than open ground.
Reading the actual bag label matters more than the price, since two bags a few dollars apart can be completely different products under a similar-sounding name.
What Is Filling the Bottom of a Bed With Logs or Straw, and Does It Actually Save Soil?
Hugelkultur, sometimes just called the lasagna method for raised beds, packs rotten logs, branches, straw, cardboard, or fall leaves into the bottom of a deep bed instead of filling the whole thing with purchased soil.
A 24 inch deep bed with a 12 inch filler base only needs soil for the remaining 12 inches on top, cutting the soil bill roughly in half.
The trade-off is that filler material keeps settling for a year or two as it breaks down, so expect to top off the bed more often than a bed filled entirely with soil.
Can I Use Cardboard or Newspaper Instead of Logs for the Base Layer?
Plain cardboard or newspaper works as a thinner alternative to hugelkultur logs, though it is really acting as a weed-blocking layer rather than a bulk filler.
It breaks down within a single season, so it will not replace nearly as much soil volume as a solid foot of packed logs and branches would.
Strip off any tape, glossy inserts, or heavy colored ink first, since plain brown cardboard breaks down the cleanest.
Do I Need to Line the Bottom of My Raised Bed Before Adding Soil?
Beds built directly over grass or weeds benefit from a layer of cardboard or landscape fabric on the bottom to keep regrowth from pushing up into the fresh soil.
Beds set on top of a patio, gravel, or any solid surface usually need some kind of drainage layer, or water will pool at the bottom after a heavy rain.
Skip the liner entirely for a bed built over bare, already-tilled garden soil, since roots benefit from being able to grow down into the ground underneath.
Can I Reuse Old Potting Soil or Garden Soil to Fill a New Bed?
Old potting soil left over from last year’s containers can go into a new raised bed, but treat it as part of the mix rather than the whole fill.
Spent potting soil has usually lost most of its nutrients and structure, so blend it with fresh compost and topsoil instead of relying on it by itself.
Skip reusing soil from containers where the previous plants had a disease or pest problem, since some soil-borne issues carry straight over into the new bed.
Why Does My Raised Bed Need More Soil a Few Weeks After I Filled It?
Fresh soil and compost are full of air pockets when they go into the bed, and the first few waterings collapse a lot of that air out.
Expect the level to drop 10 to 20 percent in the first month, more if the mix leans heavily on compost, peat, or a hugelkultur filler layer underneath.
This calculator’s settling buffer adds that extra volume up front so the bed does not look half empty by the time seedlings go in.
How Much Soil Do I Lose to Settling Over a Full Growing Season?
The 10 to 20 percent first-month drop is just the beginning, expect another 5 to 10 percent of loss across the rest of a full growing season as organic matter keeps breaking down.
Beds heavy on compost or peat settle more over a season than beds built mostly on topsoil, since topsoil holds its structure much longer.
Plan on a light top-off with compost each spring rather than expecting a single fill to last indefinitely.
What Happens If I Use Too Much Compost in My Mix?
A mix that leans too heavily on compost, past roughly 40 to 50 percent, tends to hold too much water and can start smelling sour or attracting fungus gnats.
It also breaks down and settles faster than a topsoil-based mix, so a compost-heavy bed needs topping off more often.
If soil already in a bed feels soggy and dark rather than loose and crumbly, cutting the ratio back with topsoil at the next top-off usually fixes it.
Bulk Soil vs. Bagged Soil: Which Is Actually Cheaper for My Bed Size?
Bagged soil almost always costs more per cubic foot than bulk, but bulk usually comes with a delivery minimum, often around 1 to 3 cubic yards depending on the supplier.
A single small bed under about a third of a cubic yard is usually cheaper and easier with bags, since a bulk delivery minimum would leave a lot of leftover soil with nowhere to go.
Filling three or more beds at once, or one large bed over a cubic yard, is where bulk pricing typically pulls ahead even after accounting for delivery fees.
How Do I Know If a Bulk Soil Delivery Will Fit My Driveway or Yard Access?
Most bulk suppliers dump the load straight out of the truck, so measure the width of any gate, side yard, or driveway path the truck or a loaded wheelbarrow needs to pass through.
A standard wheelbarrow needs roughly 3 feet of clearance, while a loaded dump truck often needs closer to 10 to 12 feet to back in and tip the load safely.
Call ahead and ask the supplier about their minimum order size and whether a smaller conveyor or track buggy is available if access to the bed is tight.
How Deep Should Soil Be in a Raised Bed for Different Vegetables?
Lettuce, spinach, and most herbs are shallow-rooted and get by fine on 6 inches of soil.
Bush beans, peppers, and most bedding flowers do best around 10 to 12 inches.
Tomatoes, potatoes, and root vegetables like carrots and parsnips want 12 to 18 inches so roots have somewhere to go besides sideways.
How Do I Measure an Irregularly Shaped Bed?
Split an L-shaped or notched bed into two or more simple rectangles, calculate each section separately with this tool, and add the totals together.
For a bed with gently rounded corners, measuring it as a slightly larger rectangle and eyeballing off the rounded corners from the total overestimates by only a small, safe margin.
Tiered or stepped beds should be calculated one tier at a time, since each level has its own footprint and often its own depth.
Quick Answers
At a standard 10 inch depth, a 4 foot by 8 foot bed needs almost exactly one cubic yard, or about 18 bags at 1.5 cubic feet each.
Thirteen and a half bags make a cubic yard on paper, so round up to 14 bags to avoid coming up short.
Not a full refill, but plan to top off 1 to 3 inches most seasons as compost breaks down and the level settles.
Yes, it works and costs the least, but it compacts harder than a blended mix and usually needs more frequent loosening.
Equal parts compost, peat moss or coco coir, and vermiculite, with no native soil at all, popularized by square-foot gardening.
Yes, filling the bottom third or half of a deep bed with logs or straw instead of soil can cut the soil bill roughly in half.
Expect 10 to 20 percent settling in the first month as watering compacts air pockets out of the mix.
Bulk is usually cheaper once you need more than about 15 to 18 standard bags, roughly one cubic yard.
Only if it sits over grass, weeds, or a hard surface. Beds built directly over tilled garden soil usually do not need a liner.
Yes, but blend it with fresh compost and topsoil rather than using it alone, since spent potting soil has usually lost most of its structure.
Topsoil is closer to plain, unscreened dirt, while bagged raised bed soil is pre-blended with compost and is lighter and more consistent.
Beyond the 10 to 20 percent in the first month, expect another 5 to 10 percent over the rest of the season as organic matter breaks down.