How to Calculate Deck Boards

Everything that happens inside a deck board calculator, done by hand — the formula, a full worked example you can check with a pencil, and the three mistakes that throw most DIY counts off. If you'd rather skip the arithmetic, the deck board calculator does all of this in one pass.

The formula, step by step

Three steps, in order:

  1. Rows = deck width (inches) ÷ (actual board width + gap). Round up — a partial last row still needs a full board.
  2. Linear feet = rows × deck length (ft). This is the total board footage lying on the deck.
  3. Boards to buy = linear feet × (1 + waste) ÷ board length, rounded up.

Worked example: a 12 × 16 ft deck

Boards running along the 16-ft side, 5.5-in actual board width, 1/8-in gap, 10% waste, 16-ft boards:

StepMathResult
Rows(12 ft × 12) ÷ (5.5 + 0.125) = 144 ÷ 5.62525.6 → 26 rows
Linear feet26 × 16416 lf
With waste416 × 1.10457.6 lf
Boards457.6 ÷ 16 ft28.6 → 29 boards

Flip the layout so boards run along the 12-ft side and the count changes — rows become 35 and the same math lands at 39 boards of 12 ft. Orientation is part of the answer.

Three mistakes that wreck the count

  1. Using nominal width instead of actual. Boards are sold by name but milled smaller: a "6-inch" 5/4x6 or 2x6 is 5.5 in wide; a "4-inch" 2x4 is 3.5 in. Compute with 6 and you'll think each row is wider than it is — on a 12-ft-wide deck that's a whole missing row.
  2. Forgetting the gap. Boards are installed with 1/8–1/4 in between them for drainage. That gap rides along on every single row; 1/8 in across 26 rows is 3.25 in of deck you have to cover somehow.
  3. Skipping the waste allowance. Offcuts, knots, bowed boards and end checks eat real material. 10% is the straight-layout norm; 15% for diagonal or herringbone patterns.

Deck board size chart

Count for common deck sizes — 5.5-in boards, 1/8-in gap, 10% waste, 16-ft boards, boards running along the longest dimension:

Deck sizeRows16-ft boards needed
8 × 10 ft1813
10 × 12 ft2219
12 × 12 ft2622
12 × 16 ft2629
16 × 20 ft3549
20 × 20 ft4360

Different board length? Shorter boards mean more end joints and often more waste — the calculator's board-length comparison table shows the count for every common length at once.

From boards to a full materials list

Boards are the biggest line item, but not the only one:

How to measure your deck

  1. Measure the finished deck length in the direction the boards will run — that's the direction you buy boards for.
  2. Measure the width perpendicular to the boards — this sets the number of rows.
  3. Square the layout with the 3/4/5 rule (below) before setting footings — a deck that starts 2 degrees off stays 2 degrees off, just more visibly.

Deck layout FAQs

A square-corner layout trick from the Pythagorean theorem: 3 ft along one edge, 4 ft along the other — when the diagonal between the marks measures exactly 5 ft, the corner is square. Scale to 6/8/10 or 9/12/15 for bigger decks. No special tools needed beyond a tape measure.
Rows = width (in) ÷ (actual board width + gap); linear feet = rows × length; boards = linear feet × 1.10 ÷ board length, rounded up. The 12x16 example above works out to 29 sixteen-foot boards.
No — after milling it's about 5.5 inches. Always calculate with actual widths: 5.5 in for 5/4x6 and 2x6, 3.5 in for 2x4.
Often yes for bigger decks — fewer end joints means fewer offcuts and a cleaner look. But stock availability matters more than the theoretical count; the calculator's length-comparison table shows the trade-off per length.

Skip the pencil work

Enter your deck once and get the board count, a board-length comparison, screws and cost — with the same math shown above.

Open the deck board calculator →
Estimates only — always check local building codes and your lumber supplier's actual dimensions before ordering.