JoistLedgerSpans, joists and footings straight from the code tables.

Decking for a 20 × 24 ft deck in 5/4 × 6 treated, diagonal layout

5/4 × 6 pressure-treated boards
99× 20 ft
43 rows across 20 ft — 1,187 linear ft including 15% waste
Plan — boards across the joists20 ft24 ft43rows5.625″ repeatactual width + gap99 boards · 2,150 screws
Boards to buy99× 20 ft
Linear feet1,032 ft plus 15% waste1,187ft
Rows of decking20 ft ÷ 5.625″ repeat43rows
Board repeat5.5″ actual width + 0.125″ gap — not the nominal size5.625in
Deck area20 × 24 ft480ft²
Joists crossedat 12″ o.c. over 24 ft25joists
Deck screwstwo per board-joist crossing — about 7 boxes of 3502,150screws
Layoutat 45°, every board is cut at both endsdiagonal
Butt joints24 ft run exceeds the 20 ft board — stagger the joints and land every one on a joistYes
Deck width
20 ft
Deck length
24 ft
Board
5/4 × 6 treated
Layout
diagonal
Joist spacing
12 in o.c.

Nominal width is not actual width

This is where board counts go wrong. A 5/4 × 6 treated board measures its real width, and with the gap it needs the repeat is 5.625″ — which is what actually decides the row count.

20 ft of deck at that repeat is 43 rows, and 99 boards once 15% waste for the diagonal layout is added.

Working from the nominal size undercounts by close to a tenth.

The gap is not optional in either direction

Treated lumber is sold wet and shrinks. Composite expands with heat. Gap too tight on composite and it buckles in July; gap too wide on wet treated lumber and by autumn you have gaps that swallow a phone.

Screws

2,150 — two at every board-joist crossing, across 25 joists. One screw per crossing lets the board cup and lift at the corner, and that is the single most common reason a deck looks tired after two summers.

Read the end grain

Lay boards bark-side up. A board cups away from its bark side, so bark-up sheds water off the crown rather than holding it in a trough.

Butt joints

Where the run exceeds a standard board length, stagger the joints so no two adjacent rows meet over the same joist — and double the joist under every joint. A butt joint on a single joist gives each board about ¾ inch of bearing, which is not enough for either board.

Notes

  • **Nominal width is not actual width.** A "5/4 ×" board measures 5.5″ across. With a 0.125″ gap the repeat is 5.625″, which is what decides the row count — 43 rows here. Working from the nominal size undercounts by close to a tenth.
  • Sold wet — it shrinks, so gap it tight at about ⅛″. The gap is not optional in either direction: too tight on composite and it buckles in July; too wide on wet treated lumber and you get gaps you can drop a phone through by autumn.
  • Diagonal layout, 15% waste — at 45°, every board is cut at both ends. Order the full allowance in one go; diagonal offcuts rarely fit anywhere else on the deck.
  • The 24 ft run is longer than a 20 ft board, so there will be butt joints. Stagger them so no two adjacent rows join over the same joist, and double the joist under every joint — a butt joint on a single joist gives each board about ¾″ of bearing.
  • Fasten with two screws at every board-joist crossing — 2,150 screws here. One screw lets the board cup and lift at the corner, and it is the single most common reason a deck looks tired after two summers.
  • Lay the boards bark-side up if you can read the end grain. A board cups away from the bark side, so bark-up sheds water off the crown instead of holding it in a trough.

Nearby sizes

Read more