Raised Garden Bed Soil & Cost Calculator

Size the lumber and soil for one bed or a whole garden — no guesswork.

Raised Garden Bed — project drawing PROJECT DRAWING GARDEN & YARD Raised Garden Bed BED SIZE 8 × 4 ft × 16.5" tall QUANTITY 1 bed MATERIAL Cedar WALLS 2×6 · 3 courses DIFFICULTY Beginner BUILD TIME ½–1 day EST. MATERIALS $258–$328 MyBuildPlanner
Configure

Raised Garden Bed calculator

Wall height
Material
Advanced optionsfine-tune the details…
Build
Soil

Estimates are planning aids, not a professional quote. Double-check quantities and product coverage — and any local code or permit requirements — before you buy.

Estimated materials$258–$328
Shopping list ↓
PROJECT SUMMARY

Raised Garden Bed project summary

Bed size8 × 4 ft × 16.5" tall
Quantity
1 bed
Material
Cedar
Walls
2×6 · 3 courses
Soil fill
1.6 cu yd (≈ 30 bags)
Corners
4×4 posts
Difficulty
Beginner
Build time
½–1 day
Estimated materials
$258–$328

Cost breakdown

Material only · national-average rates
Lumber & Decking$171–$217
Soil & Fill$77–$99
Fasteners & Hardware$10–$12
Total$258–$328

Excludes tools, delivery, tax and permit fees. Labor not included — this is a DIY materials estimate.

Shopping list

Every item · grouped by store section

These are affiliate links: we may earn a commission if you buy through them, at no extra cost to you. It never changes what the calculator recommends — the shopping list comes from your dimensions, not from what pays.

Lumber & Decking

Fasteners & Hardware

Soil & Fill

Tools

✓ required · ○ helpful
  • Cordless drill / driver
  • Circular saw or miter saw — cutting boards to length
  • Tape measure & square
  • Level
  • Wheelbarrow — moving soil

Project notes

  • Soil settles 1–2 inches after the first watering — slightly overfill and top up in a week.
  • Bulk soil is far cheaper than bags above roughly a cubic yard; many garden suppliers deliver. Bagged mix is shown when the total is under a yard.
  • For edibles, stick with cedar, untreated fir/pine, or composite. Modern pressure-treated lumber is considered low-risk but cedar is the popular choice for vegetable beds.
  • Set the bed on cardboard to smother grass, or add hardware cloth underneath if burrowing animals are a problem in your area.

About this calculator

How to estimate a raised garden bed

Give the Raised Garden Bed Builder a size, wall height and material and it returns the exact board count, corner hardware, and — the part everyone gets wrong — how much soil to buy, in both cubic yards and bags.

Building several beds? Set the quantity and everything scales at once. Advanced options add a fabric liner, a hardware-cloth gopher barrier, board width and corner style.

Step by step

How to build a raised garden bed

A step-by-step walkthrough to go with your plan above. Follow the product instructions and any local code or permit requirements as you work.

  1. 1

    Pick and prep the spot

    Choose a level area with at least 6–8 hours of sun and easy access to water. Mark the bed's footprint and clear it; you can leave the grass and smother it later with cardboard.

  2. 2

    Cut the boards

    Cut the side boards to your length and width, and the corner posts to the finished wall height. Dry-fit one course on the ground to confirm everything fits square before fastening.

  3. 3

    Assemble the corners

    Screw the side boards to the inner corner posts (or to metal brackets), keeping the box square by checking the diagonals. Stack and fasten additional courses for taller beds.

  4. 4

    Level the bed in place

    Set the assembled frame on the marked spot, then dig down or shim until it sits level all the way around. A level bed waters and drains evenly.

  5. 5

    Line and protect (optional)

    Staple a fabric liner to the inside walls to slow rot and block weeds, and lay hardware cloth across the bottom if burrowing animals are a problem in your area.

  6. 6

    Block weeds underneath

    Lay overlapping cardboard across the bottom to smother the grass below — it breaks down as the roots grow past it, so you don't have to remove the sod.

  7. 7

    Fill with soil

    Fill with a raised-bed mix (or topsoil plus compost), watering and tamping lightly in layers. Slightly overfill, since the soil settles an inch or two after the first good watering.

  8. 8

    Plant and top up

    Plant, mulch the surface to hold moisture, and check the soil level after a week — top it up where it has settled below the rim.

Equip the job

Recommended gear for this build

Hand-picked categories that match the shopping list above. Links open a current selection so you can compare brands and prices.

These are affiliate links: we may earn a commission if you buy through them, at no extra cost to you. It never changes what the calculator recommends — the shopping list comes from your dimensions, not from what pays.

Connectors & BracketsRaised-bed corner bracketsSlot-in steel corners that make a square bed from straight boards in minutes.
$15–35/set
Fasteners & HardwareExterior structural wood screwsCoated screws that won't corrode against damp soil and wood tannins.
$10–20
Membrane & FabricGalvanized hardware cloth (1/2 in)Burrowing-animal barrier for the base — also keeps moles out.
$20–40/roll
Membrane & FabricLandscape fabricLines the inside walls to extend wood life and suppress weeds.
$15–30/roll
Soil & FillRaised-bed soil mixPre-blended compost, topsoil and aeration — bulk beats bags past about a cubic yard.
$45–70/cu yd

As an Amazon Associate I earn from qualifying purchases. We may also earn from other retailer links here. This doesn’t change your price and helps keep these planners free.

Keep planning

Related calculators

Garden & Yard

More garden & yard calculators

Answers

Frequently asked questions

How much soil do I need for a raised bed?

Multiply length × width × height (in feet) to get cubic feet, then divide by 27 for cubic yards. A 4×8 bed 12 inches deep needs about 1.2 cubic yards — roughly 21 bags of 1.5 cubic foot mix. The planner does this for you and switches to bulk pricing once you pass a cubic yard, where buying in bulk gets much cheaper.

What wood is safe for a vegetable bed?

Cedar is the default: naturally rot-resistant, and a 2×6 cedar bed typically lasts 10–15 years. Untreated fir or pine costs about half as much and gives you three to six seasons before the bottom board softens. Composite never rots but flexes, so it wants a post or bracket every 4 feet. On pressure-treated: the arsenic-based CCA people still worry about was pulled from residential sale in 2003. Today's copper azole and ACQ lumber leaches small amounts of copper into the first inch of soil, and most extension services rate it acceptable for edibles. If you'd still rather not, staple a fabric or poly liner to the inside faces.

How tall should a raised bed be?

Six inches is plenty for lettuce, spinach and herbs if the native soil below is decent and roots can push into it. Twelve inches is the sweet spot for most vegetables — tomatoes, peppers, beans — and it drains well without a lot of fill. Go 18–24 inches for carrots and other root crops, over compacted clay or a patio slab, or to garden without kneeling. Watch what that costs: taking a 4×8 bed from 12 to 24 inches roughly doubles the fill, from about 1.2 to 2.4 cubic yards, and soil is usually the biggest line on the receipt. Fill the bottom third of a tall bed with logs and coarse chips to cut it.

Do I need a liner or bottom?

Leave the bottom open in almost every case — roots reach into the native soil, water drains away instead of pooling, and worms work their way up into the bed. A fabric liner stapled to the inside faces slows rot and keeps weeds out of the board seams; it's worth doing on pine, less so on cedar. Half-inch hardware cloth across the base is the one add-on that earns its keep if you have gophers or voles, since they can strip a bed of root crops from underneath in a night. Never lay solid plastic on the bottom — it traps water and drowns roots.