ScienceEngineering

Deck
calculator.

Count the decking boards, joists, posts and screws for a rectangular deck before you buy.

Before you rely on this result. This is a materials estimate, not a deck design. Joist, beam, post and footing sizes, the ledger connection and guards must follow your local code; ask your building department whether you need a permit. Sources used on this page.

How it's worked out

Boards run along the house and joists run out from it to a beam at the outer edge. The count starts with rows: how many board widths, each with its gap, fit across the depth.

rows\displaystyle \text{rows}=⌈depthboard width+gap⌉\displaystyle {}= \left\lceil \frac{\text{depth}}{\text{board width} + \text{gap}} \right\rceil

Boards are rows times the boards each row needs end to end, plus the waste allowance, rounded up. A diagonal layout adds another 10% for the angled cuts at both ends of every board. Real face widths are used: a 6 inch wood board is 5.5 inches across.

joists\displaystyle \text{joists}=lengthspacing+1\displaystyle {}= \frac{\text{length}}{\text{spacing}} + 1

Joists and posts each count one more than the number of gaps between them, rounded up. Screws are two per board at every joist it crosses, matching the two fasteners per support that section R507.7 asks for with wood decking.

The spacing check reads IRC Table R507.7 for boards that cross three or more joists. Five-quarter (1 1/4 inch) wood allows 16 inches on center laid square and 12 on a diagonal; 2 inch wood allows 24 and 24. Composite boards follow the span on their own label.

Worked examples

Alex plans a 16 by 12 ft wood deck

Across 12 ft, 5.5 inch boards with 3/16 inch gaps make 26 rows. Each row is one 16 ft board, so the bare count is 26, and 10% for waste brings it to 29 boards.

At 16 inches on center Alex needs 13 joists, each 12 ft, 56 ft of rim, ledger and end joist, 3 posts with a post every 8 ft, and about 744 screws.

Open this example in the tool

Sofia matches the boards to a 17 ft deck

Sofia's deck is 1 ft longer than a 16 ft board, so every row needs two boards and a joint over a joist. With 16 ft stock that is 58 boards, 928 linear ft bought.

With 20 ft boards each row is one board again: 29 boards and 580 linear ft, with the spare 3 ft of each board left as offcuts.

Open this example in the tool

Ben lays a 12 by 10 ft deck on a diagonal

On a diagonal, 5/4 wood boards need joists no more than 12 inches apart, so Ben frames at 12 inches: 13 joists instead of the 10 a straight deck at 16 inches would use.

The angled cuts raise the order to 27 boards of 12 ft, against 25 laid straight on the same frame.

Open this example in the tool

Reading your result

Boards are what you take to the yard. The count uses whole boards per row and does not reuse offcuts, so it errs on the side of a board or two spare when rows need joints. A stock length that matches the deck, or divides into it, wastes least.

Screws scale with joists. Alex's 16 by 12 ft deck needs about 744, and a 10 by 10 ft deck at the same spacing about 396 before any waste.

Composite boards change the frame. A 20 by 14 ft composite deck framed at 12 inches takes 21 joists for 34 boards of 20 ft. Check the label: Trex asks for at most 16 inches on center straight and 12 on a diagonal.

Common mistakes

  • Using nominal widths. A 6 inch board is 5.5 inches across, which adds rows over a deep deck.
  • Leaving joints between joists. Both board ends at a joint need a joist under them to fasten to, so plan where the joints fall.
  • Framing at 16 inches for a diagonal. Five-quarter wood on a diagonal needs 12 inches or closer in IRC Table R507.7.
  • Treating the count as a design. The frame sizes, ledger fastening, footings and guards come from your local code, not from a board count.

Questions people ask

Divide the depth by the board width plus the gap and round up for rows, then multiply by the boards each row needs and add waste. A 16 by 12 ft deck with 5.5 inch boards and 3/16 inch gaps has 26 rows, so 29 boards of 16 ft with 10% extra.

Sources