How the bed is built
This calculator assumes the most common DIY design: boards stacked on edge, screwed into a 4×4 post inside each corner. The long sides run the full length of the bed, and the short sides fit between them, so the outside of the bed matches the size you enter.
The pieces are then packed onto the boards you buy, longest first, allowing for the saw kerf between cuts. That gives a real cut list instead of a rough board count, and the offcut on each board shows what is left over.
Example
One 8 × 4 ft bed, two 2×10 boards high, using 8 ft boards. The bed is 2 × 9.25 = 18.5 in tall. You need four long pieces at 8 ft and four short pieces at 48 − 3 = 45 in. Each long piece uses a whole board (4 boards). Two short pieces fit on one board, 45 + 45 + ⅛ in kerf = 90⅛ in, so the four shorts take 2 boards. Total: 6 boards.
The four corner posts are 18.5 in long. Since the long sides are over 6 ft, each gets a brace in the middle, so 6 post pieces in all. Five 18.5 in pieces fit on an 8 ft 4×4, so buy 2. Screws: 8 board pieces × 2 ends × 3 screws = 48, plus 2 per board at each brace (8), for 56. The soil space inside is 93 × 45 × 18.5 in, or about 44.8 cu ft (1.66 cu yd).
Which board size?
| Boards | 1 high | 2 high | 3 high |
|---|---|---|---|
| 2×6 | 5.5 in | 11 in | 16.5 in |
| 2×8 | 7.25 in | 14.5 in | 21.75 in |
| 2×10 | 9.25 in | 18.5 in | 27.75 in |
| 2×12 | 11.25 in | 22.5 in | 33.75 in |
Most vegetables do well in 11 to 18 in of soil. Taller beds are easier on your back but use much more soil, and the sides need more bracing because wet soil pushes outward.
Picking the wood
- Cedar and redwood resist rot naturally and are the usual choice. Expect 10 to 15 years.
- Pressure-treated pine is cheaper. Modern treatments (ACQ, copper azole) don’t use arsenic. Many gardeners still line the inside with plastic sheeting to keep soil off the wood.
- Untreated pine is cheapest but may rot in 3 to 5 years.
Keep beds 4 ft wide or less so you can reach the middle from either side. If a bed is longer than your boards, join two boards at a brace post rather than leaving the joint unsupported.
Common questions
How many boards do I need for a 4×8 raised bed?
With 8 ft boards and two rows high, you need 6 boards: 4 for the long sides and 2 cut into the four short sides. One row high takes 3 boards.
What size lumber is best for a raised bed?
2×10 or 2×12 boards make a deep bed with few joints. Two rows of 2×6 also work and are easier to find. Use 2× lumber, not 1×, so the sides don’t bow.
How long should raised bed corner posts be?
The same as the bed height for a bed on a hard surface. On soil, many builders add 6 to 12 in so the post can be pushed into the ground to stop the bed shifting.
How much soil does a 4×8 raised bed hold?
An 18.5 in tall 4×8 bed built from 2×10s holds about 45 cu ft, or 1.7 cu yd, of soil.
Related calculators
Last updated December 2026. Results are estimates. Check product labels and your local building code before you buy or build.