dailyfigs

Deck calculator

A 16 × 12 ft deck takes 27 boards of 5/4 × 6 (5½ in wide), 16 ft long, on 13 joists 16 in apart.

Works in feet and inches or metres and centimetres, for projects in the United States and Canada. Unit conversions are exact; other constants are named with their source. Checked 6 December 2026. Sources

Units

Along the house, the way the boards run.

Out from the house, across the boards.

Actual sizes from the American Softwood Lumber Standard (PS 20).

We start at 0, boards laid tight, which orders a few more. Enter the gap your board maker asks for.

The length you buy. If it is shorter than the deck, the calculator puts boards end to end.

Centre to centre. The result checks it against IRC 2021 Table R507.7.

Your deck

5/4 × 6, joists at 16 in

Deck area
192 sq ft
Rows of boards
27
Decking length
432 ft
Joists at 16 in
13
Joist spacing, IRC 2021
Allowed
Boards 16 ft long27

Composite boards: use the span on the label (IRC R507.2.2.1). Joist size and span depend on the wood and the load (IRC Table R507.6).

How this is worked out

  1. Rows of boards: 12 ft = 144 in; 144 ÷ 5.5 in = 26.18, rounded up to 27 rows.
  2. Boards per row: 16 ÷ 16 ft = 1. Boards: 27 × 1 = 27.
  3. Decking length: 27 rows × 16 ft = 432 linear ft.
  4. Joists at 16 in (406 mm): 16 ft = 192 in; 192 ÷ 16 = 12, plus 1 for the end = 13 joists.
  5. IRC 2021 Table R507.7: 5/4 × 6 boards across three or more joists allow joists at most 16 in apart. Your 16 in spacing is within it.

How far apart the joists can be

The 2021 International Residential Code limits joist spacing by the thickness of the wood decking, for boards laid across the joists. A board that rests on only two joists is a single span; one that crosses three or more is a multiple span.

Maximum joist spacing for wood decking, IRC 2021 Table R507.7
DeckingSingle spanMultiple span
1¼-inch wood (5/4)12 in16 in
2-inch wood (2×)24 in24 in

Laid diagonally, up to 45°, the limits drop to 8 and 12 inches for 5/4 boards and to 18 and 24 inches for 2-inch boards. Composite and plastic boards follow the span on their label instead (IRC R507.2.2.1). The IRC applies where a state or city has adopted it; your building department has the final word.

Actual board sizes

Lumber is sold by its nominal size, but the dry board is smaller. The American Softwood Lumber Standard sets the dressed sizes:

Nominal and actual sizes, PS 20-20 Table 3 (dry)
BoardActual size
5/4 × 61 × 5½ in (25 × 140 mm)
2 × 61½ × 5½ in (38 × 140 mm)

Rows of boards

Rows of 5½-inch boards, laid tight
Deck depthRows
8 ft18
10 ft22
12 ft27
14 ft31
16 ft35

Each square foot of deck takes 12 ÷ 5.5 = 2.18 linear feet of 5½-inch board laid tight, so 100 square feet takes about 218 linear feet. A gap between boards lowers the count.

Questions

How far apart should deck joists be?

Under IRC 2021 Table R507.7, 5/4 wood boards across three or more joists allow joists up to 16 inches apart, and 2-inch boards up to 24 inches. Diagonal boards and composite decking have their own limits.

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

With 5/4 × 6 boards (5½ inches wide) laid tight and 12 ft long: 27 rows of one board each, so 27 boards, on 10 joists 16 inches apart.

What size is a 5/4 × 6 deck board?

1 inch thick and 5½ inches wide when dry, under the American Softwood Lumber Standard (PS 20-20, Table 3).

Can I put joists 24 inches apart?

With 2-inch wood decking laid across them, yes, under IRC Table R507.7. With 5/4 wood boards, no: the limit is 16 inches. For composite boards, check the span on the label.

Sources

Checked on 6 December 2026. If a figure here differs from the official page, the official page is right; please tell us.