Here's the math that trips up every first-time raised-bed builder: a standard 4×8-foot bed that's 12 inches deep holds about 32 cubic feet of soil, which is roughly 1.2 cubic yards. You measure the bed in feet but buy soil by the cubic yard, and if you guess wrong you're either hauling back bags or staring at a half-filled frame. Get the volume formula right once and you'll order exactly what you need.
Raised beds have become the default vegetable garden for good reason — you control the soil, the drainage is perfect, and your back thanks you every time you weed. But the up-front cost surprises people. A simple cedar 4×8 bed runs $200–$400 in materials alone in 2026, and that's before you fill it with a cubic yard of soil blend at another $50–$100. Let's break down what you're actually spending and how to size it right.
How much soil does a raised bed need?
Soil volume is just length times width times depth, but you've got to keep the units straight. If your bed dimensions are in feet and you want cubic yards (because that's how bulk soil is sold), the formula is:
Cubic yards = (length in feet × width in feet × depth in feet) ÷ 27
That 27 is how many cubic feet fit in a cubic yard. For a 4×8 bed that's 1 foot deep: (4 × 8 × 1) ÷ 27 = 32 ÷ 27 = 1.19 cubic yards. Round to 1.2 and you're covered. The Soil & Topsoil Calculator does this instantly and handles any bed dimensions, but seeing the arithmetic once makes the volume real.
Bed depth by crop: how deep is deep enough?
Depth isn't arbitrary — it's driven by what you're growing. Lettuce and herbs are happy with 6 to 8 inches; tomatoes and peppers want 12; carrots and parsnips need 18 to 24 to develop without hitting a hard bottom. The most practical all-purpose depth for a vegetable bed is 12 inches, which handles the majority of garden crops and keeps material and soil costs reasonable.
| Crop type | Minimum depth | Examples |
|---|---|---|
| Shallow-rooted greens | 6–8 in | Lettuce, spinach, arugula, herbs |
| Most vegetables | 12 in | Tomatoes, peppers, beans, cucumbers, squash |
| Root vegetables | 18–24 in | Carrots, parsnips, potatoes, beets |
| Perennials & small shrubs | 18–24 in | Asparagus, blueberries, strawberries |
Going deeper than 12 inches costs you — both in lumber to build the frame and in soil to fill it. A 4×8 bed at 12 inches needs 1.2 cubic yards of soil; bump it to 18 inches and you need 1.8 yards, a 50% jump. Build 12 inches for general use, and if you're serious about carrots or parsnips, dedicate one deeper bed rather than making everything tall.
Raised bed quick facts
- Standard size: 4×8 ft keeps the frame manageable and材料 cuts efficient. You can reach the center from either side if you keep width at 4 feet or less.
- Standard depth: 12 inches handles most vegetables without overspending on soil.
- Soil volume: for a 4×8×1 ft bed, plan on roughly 1.2 cubic yards (or about 16 bags of 2-cu-ft bagged soil).
- Don't use garden soil alone — blend topsoil, compost, and peat moss or coco coir for a lighter, well-draining mix.
What does a raised bed actually cost in 2026?
Cost breaks into two pieces: the frame and the soil. Most people underestimate the soil half. A 4×8×12-inch cedar bed might run $250 in lumber, but filling it with 1.2 cubic yards of a good soil blend adds another $80–$120 if you're buying bulk, or $150+ in bags. Here's what common materials run in 2026, national averages:
| Material | Frame cost | Soil fill (~1.2 cu yd) | Total | Lifespan |
|---|---|---|---|---|
| Untreated pine (DIY) | $80–$120 | $80–$120 | $160–$240 | 3–5 years |
| Cedar (DIY) | $200–$350 | $80–$120 | $280–$470 | 10–15 years |
| Composite kit | $250–$500 | $80–$120 | $330–$620 | 20+ years |
| Galvanized steel kit | $200–$400 | $80–$120 | $280–$520 | 20+ years |
| Concrete block (DIY) | $100–$180 | $80–$120 | $180–$300 | Permanent |
Cedar is the classic DIY choice because it resists rot naturally without treatment, looks good, and lasts a decade or more. Untreated pine is cheaper but rots faster, so you're rebuilding in five years — fine if you're experimenting, frustrating if you wanted permanence. Composite and steel kits cost more up front but you assemble them in an hour with no saw, and they outlast wood by a mile. We've seen more gardeners go the metal route lately; the beds heat up faster in spring, which northern gardeners love, though in hot climates that can stress roots.
Soil blend: what to actually fill the bed with
Don't fill a raised bed with straight garden soil or topsoil — it compacts, drains poorly, and your plants sulk. The goal is a light, fluffy blend that drains fast but holds moisture and nutrients. The standard recipe most extension programs recommend is roughly equal parts by volume:
- Topsoil or garden soil — provides body and minerals
- Compost — adds nutrients and improves structure
- Peat moss or coconut coir — lightens the mix and holds moisture without waterlogging
So for a 4×8 bed needing 1.2 cubic yards total, that's about 0.4 yards each of topsoil, compost, and peat. You can tweak the ratios — more compost if your native soil is terrible, less peat if drainage is already good — but a three-way split is the safe starting point. Some gardeners add a fourth component like vermiculite or perlite for even more drainage; that's overkill for most vegetable beds but useful if you're growing succulents or Mediterranean herbs that hate wet feet.
Buying a pre-blended "raised bed mix" from a landscape supplier saves the mixing but costs 20–30% more per yard. Worth it for one bed, probably not if you're building three. Either way, run the volume through the Soil Calculator first so you know what you're ordering, and use the Compost Calculator to figure the compost portion separately if you're blending yourself.
A worked example: building a 4×8×12-inch cedar bed
You're building a single cedar bed in your backyard, standard 4 feet wide by 8 feet long by 12 inches deep.
- Frame materials: Four 2×12 cedar boards (two 8-footers, two 4-footers), corner brackets or stakes. Cost: ~$250.
- Soil volume: (4 × 8 × 1) ÷ 27 = 1.19 cubic yards, round to 1.2.
- Soil blend (DIY): 0.4 yd topsoil (~$15), 0.4 yd compost (~$25), 0.4 yd peat (~$30). Total: ~$70 bulk, or about 16 bags at $8/bag = ~$130 bagged.
- Total cost: $250 frame + $70–$130 soil = $320–$380.
That's for one bed. Build two and you're at $640–$760, which is the point where a lot of people start reconsidering in-ground rows. But raised beds pay back in ergonomics, drainage, and season extension if your native soil is clay or rocky. Use the Vegetable Garden Size Calculator to figure out how much growing space you actually need before you commit to multiple beds — it's easy to overbuild and end up with more zucchini than anyone wants.
DIY vs kit: which makes sense?
Kits are faster and you don't need a saw, but you pay for the convenience. A 4×8 composite or steel kit runs $250–$500 and assembles in under an hour with a screwdriver or wrench. DIY with cedar boards costs $200–$350 in lumber but you're cutting, drilling, and assembling, so figure a Saturday morning if you're comfortable with tools. The break-even depends on how you value your time and whether you already own a saw.
If you're building multiple beds, DIY pulls ahead on cost because lumber scales more cheaply than kits. But if it's one bed and you don't have tools, a kit is honestly the better call — the time you'd spend buying or borrowing a saw and learning to cut straight corners probably costs more than the kit premium. Kits also last longer than pine and often longer than cedar, so the higher upfront price averages out over 20 years.
| Factor | DIY (cedar) | Kit (composite/steel) |
|---|---|---|
| Frame cost | $200–$350 | $250–$500 |
| Tools needed | Saw, drill, square, tape | Screwdriver or wrench |
| Assembly time | 2–4 hours | 30–60 minutes |
| Lifespan | 10–15 years | 20+ years |
| Customizable size | Yes | Fixed kit dimensions |
One hidden advantage of DIY: you can build any size you want. Kits come in fixed dimensions, usually 4×4, 4×8, or 3×6. If your space is odd or you want a long, narrow bed along a fence, building from lumber gives you that flexibility. Just keep the width at 4 feet or less so you can reach the middle from either side without stepping in.
Location and layout: where to put the beds
Most vegetables need at least six hours of direct sun, so site your beds in the sunniest part of the yard. South-facing is ideal; east gets morning sun and works for greens; avoid deep shade under trees. If your only sunny spot is sloped, you can terrace beds or run them along the contour — raised beds handle slopes better than in-ground rows because the frame holds the soil in place.
Space multiple beds about 2 to 3 feet apart for walking and wheelbarrow access. If you're building on a lawn, kill the grass underneath first or lay down landscape fabric and cardboard to block it; grass will push up through the bed otherwise. On a patio or driveway, make sure there's drainage — a bed sitting in a puddle drowns roots just as fast as one on soil.
Common questions about raised bed gardens
How much soil do I need for a 4×8 raised bed?
A 4×8 raised bed that's 12 inches deep holds about 1.2 cubic yards of soil, which is roughly 32 cubic feet. That translates to around 16 bags if you're buying 2-cubic-foot bagged soil, though bulk delivery is cheaper and easier above one cubic yard. Use the formula (length × width × depth in feet) ÷ 27 to get cubic yards, or just plug your dimensions into the Soil Calculator.
What's the best depth for a raised vegetable bed?
Twelve inches is the all-purpose depth that handles most vegetables — tomatoes, peppers, beans, squash, cucumbers — without overbuilding. Shallow-rooted greens and herbs can get by with 6 to 8 inches, while root crops like carrots and parsnips really want 18 to 24 inches to grow straight and long. If you're only building one bed, 12 inches is the safe middle ground.
Can I use regular garden soil to fill a raised bed?
Not by itself. Garden soil or straight topsoil compacts in a raised bed and drains poorly, which stresses roots and invites root rot. The standard raised bed mix is equal parts topsoil, compost, and peat moss or coco coir — the compost adds nutrients, the peat lightens it and holds moisture, and the topsoil provides structure. This blend drains fast but doesn't dry out, which is what vegetables want.
How long does a cedar raised bed last?
Cedar resists rot naturally and typically lasts 10 to 15 years in contact with moist soil, sometimes longer if the climate is dry. Untreated pine rots faster — expect 3 to 5 years. Composite and galvanized steel beds outlast both, often 20+ years, but cost more up front. Don't use pressure-treated lumber with the old CCA preservative for vegetable beds; modern ACQ-treated lumber is considered safe, but cedar avoids the question entirely.
The bottom line
A raised bed garden is one formula — length times width times depth divided by 27 — and an honest count of what you'll spend. A standard 4×8 bed at 12 inches deep costs $320–$470 in cedar with soil, more for composite or steel, less if you go with pine and accept a shorter lifespan. Fill it with a blend of topsoil, compost, and peat rather than garden soil alone, size the depth to what you're growing, and use the Vegetable Garden Calculator to figure out how much space you actually need before you build. Get the volume right and you'll order soil once, fill the bed once, and spend the rest of the season gardening instead of running to the store.