Raised Bed Lumber Calculator

Enter the outside size of your bed and the boards you plan to use. You get how many boards to buy, exactly how to cut each one with the least waste, plus corner posts, screws and the total cost.

Your raised bed Outside size
ft
ft
high
beds
$
$
in
Boards to buy0
Bed height–
Long side pieces–
Short side pieces–
Corner posts (4×4)–
Side braces (4×4)–
8 ft 4×4s to buy–
3 in exterior screws–
Soil to fill (all beds)–
Lumber waste–
Total lumber cost–

Cut list

    Share your results: Facebook Pinterest Email
    Embed this calculator on your website

    Free for blogs, builders and lumber yards. Paste this code into your page. The calculator resizes itself to fit.

    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.

    long pieces = bed length (2 per row of boards) short pieces = bed width − 3 in (2 per row; 2× lumber is 1½ in thick) bed height = boards stacked × actual board width

    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?

    Boards1 high2 high3 high
    2×65.5 in11 in16.5 in
    2×87.25 in14.5 in21.75 in
    2×109.25 in18.5 in27.75 in
    2×1211.25 in22.5 in33.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.