Holzbaurechner / Raised bed

Raised bed calculator

How many boards your raised garden bed needs, what the lumber costs and how much soil it takes to fill, in cubic feet, cubic yards and bags.

How the raised bed is built

The sides are 2x boards stacked on edge, screwed to 4x4 posts in the inside corners. The long sides run the full length, the end boards fit between them. Beds longer than 6 ft get middle posts and a cross tie at the top so the soil cannot push the long sides out.

A 2x6 is 5-1/2 in. wide, so three rows give 16-1/2 in. With 2x8s (7-1/4 in.) or 2x10s (9-1/4 in.) you need fewer rows and fewer screws, but wide boards cup more as they dry.

Which lumber is best?

Cedar is the classic choice. It resists rot without treatment and lasts 10 to 15 years. Pressure-treated pine costs about half as much. Residential treated lumber has used copper-based preservatives instead of arsenic (CCA) since 2004, and many gardeners use it for vegetables. If you prefer, line the inside walls with plastic. Untreated Douglas fir or pine is cheapest but rots within a few years.

How much soil?

Multiply the inside length, width and height in feet to get cubic feet, and divide by 27 for cubic yards. A 4 × 8 ft bed 16-1/2 in. high takes about 40 cu ft, or 1.5 cubic yards. Bagged soil comes in 1 to 2 cu ft bags. From about one cubic yard upward, bulk soil delivered by a landscape supplier is usually cheaper.

Deep beds do not need to be filled with bought soil all the way down. Logs, branches, leaves and grass clippings in the bottom third (the hügelkultur idea) save soil and feed the bed as they break down.

Building the raised bed step by step

  1. Pick the spot: at least six hours of sun, level ground and a hose within reach.
  2. Cut the boards: long sides to full length, end boards to the bed width minus 3 in.
  3. Build the ends: screw the end boards to two corner posts with 3 in. exterior screws, three per board end.
  4. Add the sides: stand the ends up and screw on the long boards. Add middle posts and the cross tie.
  5. Protect and fill: lay galvanized hardware cloth on the ground against gophers and voles, then fill in layers.

Frequently asked questions

How much soil do I need for a 4x8 raised bed?
Inside a 4 × 8 ft bed built from 2x lumber, every inch of height takes about 2.4 cu ft of soil. At 12 in. that is roughly 30 cu ft, at 16-1/2 in. about 40 cu ft (1.5 cubic yards), at 24 in. about 58 cu ft.
How many 2x6 boards for a 4x8 raised bed?
One row needs two 8 ft boards for the sides and one more 8 ft board for both ends. Three rows (16-1/2 in. high) take nine 8 ft 2x6s, plus two 4x4s for the posts.
Is pressure-treated wood safe for vegetable gardens?
Lumber sold for homes no longer contains arsenic, and studies find little copper moving into plants. Many gardeners use it, others line the inside or choose cedar. If you have old lumber from before 2004, do not use it for edibles.