CalcOpenly

Deck calculator

Deck boards, joists and screws or hidden clips for a rectangular deck, from its size, joist spacing, board width, gap and waste allowance.

Updated Checked against 3 worked examples

Boards run this way.
Joists run this way.
2021/2024 IRC Table R507.7: 5/4 wood boards 16 in (12 in diagonal), 2x boards 24 in; composites per their ASTM D7032 label.
A nominal 6 in deck board is 5½ in wide.
⅛ in for wood; ³⁄₁₆ in is common for composite.
%
10% for square decks, 15% or more for diagonal boards.
Try
Deck boards to buy
boards
Deck boards to buy: 29 boards
Shown to rounded up to a whole number
Joists
13joists
Joist length
12ft / 3.66m
Rows of boards
26
Decking before waste
416ft / 126.8m
Screws or clips
676pcs
Deck area
192ft² / 17.84m²

A 16 × 12 ft (4.88 × 3.66 m) deck needs 13 joists at 16 in (406 mm) centres and 26 rows of boards: 29 boards of 16 ft with 10% waste, held by about 676 screws.

Deck plan: joists dashed, boards across

House wall16 ft12 ft
How it's calculated S
  1. Joists

    ⌈192 in16 in⌉+1=13 joists of 12 ft\left\lceil \frac{192\ \text{in}}{16\ \text{in}} \right\rceil + 1 = 13\ \text{joists of}\ 12\ \text{ft}

    Rounded up, plus the joist at the far end. Rim joists and beams are extra.

  2. Rows of boards

    ⌈144 in5.5+0.125⌉=26\left\lceil \frac{144\ \text{in}}{5.5 + 0.125} \right\rceil = 26

    Rounded up; the last row may need ripping.

  3. Boards

    ⌈26×16×1.116⌉=29\left\lceil \frac{26 \times 16 \times 1.1}{16} \right\rceil = 29

    Rounded up to whole boards.

  4. Fasteners

    26×13×2=67626 \times 13 \times 2 = 676

    Rule of thumb: two face screws, or one hidden clip, where each board crosses each joist.

About the deck calculator

Boards run along the house and joists run out from it. The joist count is the deck width divided by the joist spacing, rounded up, plus one for the far end. Rows of boards are the deck depth divided by board width plus gap, rounded up. Boards to buy are rows × deck width × (1 + waste) ÷ board length, rounded up, and fasteners are counted where each row crosses each joist.

The default 16 × 12 ft deck, with joists 16 in on centre and 5½ in boards gapped ⅛ in, needs 13 joists and 26 rows: 416 linear feet, or 29 sixteen-foot boards with 10% waste, held by 676 face screws.

Rim joists, beams, posts, ledger, blocking and stair stringers are not counted. Joist size and span depend on species, grade and load; take them from the span tables in 2021 or 2024 IRC section R507 or from AWC DCA 6.

Worked examples

16 × 12 ft deck, joists 16 in on centre, 5½ in boards, ⅛ in gap

Deck width (along the house)
16 ft
Deck depth (out from the house)
12 ft
Joist spacing (on centre)
16 in
Board width (actual)
5.5 in
Gap between boards
0.125 in
Board length you'll buy
16 ft
Waste allowance
10%
Fastening
Face screws
Joists
13 joists
Rows of boards
26
Decking before waste
416 ft
Deck boards to buy
29 boards
Screws or clips
676 pcs
Deck area
192 ft²

Checked against: Python decimal: 192/16 + 1 = 13 joists; 144 ÷ 5.625 = 25.6 → 26 rows; 26 × 16 = 416 ft × 1.1 ÷ 16 = 28.6 → 29; 26 × 13 × 2 screws

Edge: 12 × 12 ft with 6 in board modules, no waste

Deck width (along the house)
12 ft
Deck depth (out from the house)
12 ft
Joist spacing (on centre)
12 in
Board width (actual)
5.5 in
Gap between boards
0.5 in
Board length you'll buy
12 ft
Waste allowance
0%
Fastening
Face screws
Joists
13 joists
Rows of boards
24
Deck boards to buy
24 boards
Screws or clips
624 pcs

Checked against: Hand calculation: 144/12 + 1 = 13 joists; 144 ÷ 6 = 24 rows exactly; 24 rows × one 12 ft board

Metric 4.8 × 3.6 m, 400 mm centres, hidden clips

Deck width (along the house)
4.8 m
Deck depth (out from the house)
3.6 m
Joist spacing (on centre)
400 mm
Board width (actual)
140 mm
Gap between boards
5 mm
Board length you'll buy
4.8 m
Waste allowance
10%
Fastening
Hidden clips
Joists
13 joists
Rows of boards
25
Deck boards to buy
28 boards
Screws or clips
325 pcs
Deck area
17.28 m²

Checked against: Python decimal: 4800/400 + 1 = 13; 3600 ÷ 145 = 24.8 → 25 rows; 25 × 4.8 m × 1.1 ÷ 4.8 m = 27.5 → 28; 25 × 13 clips

Questions

How far apart should deck joists be?

16 in on centre suits 5/4 wood boards laid square to the joists. 2021 and 2024 IRC Table R507.7 allows 5/4 boards 16 in when each board crosses three or more joists (12 in over two), and 12 in when laid diagonally (8 in over two). 2x boards may span 24 in, except 18 in for diagonal boards over two joists. Composite boards use the span on their ASTM D7032 label.

How many deck boards do I need?

Divide the deck depth by the board width plus gap to get rows, then multiply by the deck width and add waste. For a 16 × 12 ft deck with 5½ in boards and ⅛ in gaps: 144 ÷ 5.625 = 25.6, so 26 rows; 26 × 16 ft = 416 linear feet; with 10% waste, 457.6 ft, or 29 boards 16 ft long.

How many screws do I need for a deck?

Two face screws wherever a board crosses a joist. A 16 × 12 ft deck at 16 in centres has 13 joists and 26 rows, so 26 × 13 × 2 = 676 screws, about 3.5 per square foot. Hidden clips take one per crossing, 338 here. Closer joist spacing adds crossings: at 12 in centres the same deck needs 884 screws.

How many joists do I need for a deck?

Divide the width along the house by the joist spacing, round up and add one. A 16 ft (192 in) deck at 16 in centres needs 192 ÷ 16 + 1 = 13 joists; at 12 in centres it needs 17, and at 24 in, 9. Rim joists, doubled joists under board splices and the beam are extra.

How accurate is the deck calculator?

Accuracy depends on your inputs and the method's assumptions. Decimal arithmetic uses 50 significant digits, but estimates, numerical methods and source data can be less precise; the displayed rounding does not remove those limits. It is checked against 3 worked examples whose answers come from independent sources; for example, “16 × 12 ft deck, joists 16 in on centre, 5½ in boards, ⅛ in gap” is checked against Python decimal: 192/16 + 1 = 13 joists; 144 ÷ 5.625 = 25.6 → 26 rows; 26 × 16 = 416 ft × 1.1 ÷ 16 = 28.6 → 29; 26 × 13 × 2 screws.

Where does the method come from?

American Wood Council DCA 6 — Prescriptive Residential Wood Deck Construction Guide, based on the 2015 IRC (joist spacing 12, 16, 24 in); International Code Council — 2021 and 2024 IRC section R507 (exterior decks), Table R507.7 maximum joist spacing for decking.

About this calculator

joists=⌈W/s⌉+1,rows=⌈D/(b+g)⌉,boards=⌈rows⋅W(1+w)/L⌉\text{joists} = \lceil W/s \rceil + 1,\quad \text{rows} = \lceil D/(b + g) \rceil,\quad \text{boards} = \lceil \text{rows} \cdot W (1 + w)/L \rceil

Sources

  1. American Wood Council DCA 6 — Prescriptive Residential Wood Deck Construction Guide, based on the 2015 IRC (joist spacing 12, 16, 24 in)
  2. International Code Council — 2021 and 2024 IRC section R507 (exterior decks), Table R507.7 maximum joist spacing for decking

Checked against references

3 worked examples with independently sourced answers ship with this calculator. They run in the test suite; you can run them here too.

Related calculators

Allow optional Google Analytics to measure page visits? Calculators work either way. Privacy and choices

Optional analytics: off.