Skip to content
Material Guides

Deck Calculator

Divide the deck's width by the board width plus the gap to get rows, then fill each row with boards. A 16 × 12 ft deck with 5.5 in boards and 3/16 in gaps takes 26 rows: 28 sixteen-foot boards with 5% extra, 13 joists and about 676 screws.

By Eren ŞimşirUpdated Formula and sources

ft

The direction the boards run

ft

Across the boards

in

Actual: a 6 in board is 5.5

in

3/16 = 0.1875 · 1/8 = 0.125

%

For splits and bad boards

Buy

2816 ft boards

416 linear ft of decking

Deck area
192 sq ft
Rows of boards
26
Joists
13 × 12 ft
Deck screws
about 676

Joist count excludes rim joists and doubled joists at board seams.

Key numbers

5/4 wood decking, max joist spacing
16 in
Same, laid diagonally
12 in
2x wood decking, max spacing
24 in
16 × 12 ft deck
28 boards (16 ft)

How to use the deck calculator

Length is the direction your deck boards run; width is the distance across them. On most attached decks the boards run parallel to the house, so the length is the side along the house.

Enter the board's actual face width: a nominal 6 in deck board, wood or composite, is about 5.5 in wide. Choose the board length you'll buy. Longer boards mean fewer butt joints but cost more per foot and are harder to haul. The gap is the space between boards; composite makers usually specify it, often 3/16 in.

How the boards are counted

  • Rows = deck width (in) ÷ (board width + gap), rounded up
  • Boards: each row is filled with as few full boards as possible. When a row needs a short piece, an offcut of 2 ft or longer from an earlier row is used first.
  • Extra: 5% more boards for splits, warped boards and a bad cut
  • Joists = deck length (in) ÷ joist spacing + 1, not counting rim or doubled joists
  • Screws = rows × joists × 2 (two screws where each board crosses each joist)

Butt joints between boards must land on a joist, and many builders double the joist there. If you plan joints in advance, a pattern of 16 ft and 8 ft boards can stagger them neatly.

Boards for common deck sizes

5.5 in boards, 3/16 in gaps, joists 16 in on center, 5% extra:

DeckBoard lengthRowsBoardsJoistsScrews
8 × 8 ft8 ft17187238
10 × 10 ft10 ft22248352
12 × 12 ft12 ft262810520
16 × 12 ft16 ft262813676
20 × 12 ft20 ft262816832
16 × 16 ft16 ft343613884
24 × 16 ft16 ft3454191,292

Joist spacing for deck boards

The IRC limits how far deck boards may span between joists (Table R507.7, boards over three or more joists):

DeckingBoards square to joistsBoards on a 45° diagonal
5/4 wood (1 1/4 in)16 in on center12 in on center
2x wood (2 in)24 in on center24 in on center
Composite and PVC boards: use the span on the product's evaluation report. Many allow 16 in straight and 12 in diagonal.

Joists themselves have span limits by size, species and spacing. For southern pine at a 40 psf live load, the 2021 IRC lists:

Joist12 in on center16 in on center24 in on center
2x69'-11"9'-0"7'-7"
2x813'-1"11'-10"9'-8"
2x1016'-2"14'-0"11'-5"
2x1218'-0"16'-6"13'-6"
Other species have shorter spans. Cantilevers, snow loads and hot tubs change everything: check your local code.

Board counts are for buying materials. Ledger attachment, footings, beams, joist spans and railings are set by your local building code, and most decks need a permit. Confirm the structure with your building department before you build.

Worked example: a 20 × 12 ft deck with 16 ft boards

  1. Rows: 12 ft = 144 in. (144 + 3/16) ÷ (5.5 + 3/16) = 25.4, rounded up = 26 rows.
  2. Each row is 20 ft: one 16 ft board plus a 4 ft piece. The first row's 4 ft piece comes from a new board, leaving a 12 ft offcut; that offcut supplies the next three rows' 4 ft pieces.
  3. Boards: 33 before extras, 35 with 5%. With 20 ft boards it would be 28 boards and no butt joints at all.
  4. Joists at 16 in: 240 ÷ 16 + 1 = 16, each 12 ft long.
  5. Screws: 26 × 16 × 2 = 832. Buy a 1,000-count box, or hidden fasteners if your boards use them.

Questions people ask

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

28 twelve-foot boards, with 5.5 in boards, 3/16 in gaps and 5% extra.

Should deck boards run parallel or perpendicular to the house?

Usually parallel, so the joists run out from the house and hang from the ledger. Diagonal boards look good but need closer joist spacing and about 10% more material.

How far apart should deck joists be?

16 in on center is the most common choice and works for 5/4 wood and most composite boards laid straight. Diagonal decking usually needs 12 in.

Sources