Measuring and cutting lumber? Tape measures and speed squares on Amazon (opens in a new tab)

Deck Board Calculator

Work out how many deck boards, linear feet and screws a deck needs, for wood or composite boards of any length.

ft
ft
%
Deck boards needed —
Boards needed by board length

How to use the deck board calculator

  1. Enter the deck length along the boards and the width across them, in feet.
  2. Pick the board, the gap between boards and the length you plan to buy.
  3. Pick the joist spacing to count the screws, and set the waste allowance.

The deck board calculator counts the rows of boards, how many boards each row needs, and the total to buy. The table compares board lengths, which helps you avoid joints and offcuts.

The formula

Rows = (deck width + gap) ÷ (board width + gap), rounded up

Boards = rows × boards per row × (1 + waste)

Example: a 16 × 12 ft deck with 5-1/2 in boards and a 3/16 in gap needs (144 + 0.1875) ÷ 5.6875 = 25.4, so 26 rows. With 16 ft boards that is one board per row, 26 boards, or 28 with 5% extra. The boards cross 13 joists at 16 in, so you need about 26 × 13 × 2 = 676 screws.

The last row may need to be ripped narrower, or you can adjust the gap slightly over the whole deck so the last board is full width.

Gaps and joist spacing

  • Wet pressure-treated boards are often laid tight, because they shrink as they dry and open a gap by themselves.
  • Kiln-dried wood such as cedar or redwood needs a gap of about 1/8 to 3/16 in for drainage and swelling.
  • Composite and PVC boards follow the maker’s spacing, including end gaps that depend on the temperature at installation.
  • Joists: the IRC allows 5/4 wood decking on joists up to 16 in apart (12 in for diagonal boards) and 2x decking up to 24 in. Many composite boards need 16 in or less, and 12 in for diagonal patterns. Plan the joists with the joist span calculator.

Fasteners

Use two screws where each board crosses each joist, about 3/4 in from the edges. With pressure-treated framing, use screws rated for treated lumber: stainless steel or coated deck screws. Hidden fastener systems use one clip per board at each joist. More in the pressure-treated lumber guide.

Frequently asked questions

How many deck boards do I need for a 12 × 12 deck?

With 5-1/2 in boards and a 3/16 in gap, 26 rows of 12 ft boards: 26 boards, or 28 with 5% extra.

Should deck boards run the long way?

Running them the long way means fewer joints. It depends on where the joists run: boards always cross the joists.

Share this

More lumber calculators