MaterialFormula
Rows, not square feet

Deck Calculator

Deck boards are counted in rows, so the calculator works out how many rows cross the deck at your board width and gap, how many boards each row takes at the length you can buy, and how many joists the span needs underneath.

Deck board calculator
Rows × board length

feet

feet

which dimension they follow

actual, not nominal

length you can buy

on center

cuts at the rim and stairs

You need
26 rows × 1 board
Deck boards
29
458 linear ft with waste
Rows
26
16.0 ft per row
Deck area
192sq ft
Joists
13
16 in o.c.
Joist lumber
156linear ft
12.0 ft each
Board length
16ft
one board per row
Rows are counted across the deck: each board plus one gap, with the last board ending flush. If the row is longer than the board you can buy, the calculator assumes butt joints with one extra board per row — order a little over, since joints land on a joist and rarely come out even.

How many deck boards do I need?

Square footage is the wrong unit for decking. What matters is how many rows of board cross the deck, because each row is a whole board even if the row is only partly covered by the last one:

  • Rows = (deck width in inches + gap) ÷ (board width + gap), rounded up
  • Boards per row = row length ÷ board length, rounded up
  • Boards = rows × boards per row, then add waste

A 12 ft wide deck at 5-1/2 in boards and a 1/8 in gap is 26 rows. If the deck is 16 ft long and you buy 16 ft boards, that is 26 boards. Buy 12 ft boards instead and every row needs two, so it is 52 boards with 4 ft off each second board — the same deck, more than double the pieces.

Nominal size is not the size

A 2 × 6 is 1-1/2 by 5-1/2 inches. A 5/4 × 6 is 1 by 5-1/2. A 2 × 4 is 1-1/2 by 3-1/2. If you plan a deck on nominal widths you will over-order by roughly nine percent, and the rows will not line up with the rim. This is the single most common deck quantity mistake.

Gaps

The gap is part of every row's footprint, and it compounds over the whole deck. Going from 1/8 in to 1/4 in does not change a 12 ft wide deck at all — 26 rows either way — but it takes a 20 ft deck from 43 rows down to 42. Small decisions, in other words, but not free ones.

Wet pressure-treated lumber presents a second-order problem: it shrinks as it dries, so a deck spaced at 1/8 in green will have gaps closer to 1/4 in by the end of the season.

Deck width5-1/2" board, 1/8" gap5-1/2" board, 1/4" gap3-1/2" board, 1/8" gap
8 ft181727
10 ft222134
12 ft262640
14 ft303047
16 ft353453
20 ft434267

Board rows across the deck, with the last row ending flush.

Joists

Joists run across the boards, so their count follows the dimension the boards run along. The count is always one more than the number of bays, because both ends land on a joist:

Deck span12 in o.c.16 in o.c.24 in o.c.
8 ft975
10 ft1196
12 ft13107
14 ft15128
16 ft17139
20 ft211611

Joist count including both end joists. Spacing is set by the decking and the span table, not by preference.

Whether that count is enough is a structural question, not an arithmetic one. The IRC deck provisions and the lumber span tables set the maximum span for each size, species, and spacing, and they also cap how far a joist can cantilever past its beam. Count the joists here; size them there.

How many deck boards do I need?

Count the rows across the deck, not the square footage. For 5-1/2 in boards with a 1/8 in gap, a 12 ft wide deck needs 26 rows; at 16 ft long, that is 26 boards if you buy 16 ft stock, or 52 of 8 ft stock because every row takes two. Add 10% for cuts and the odd bad board.

What is the actual width of a 2 × 6 deck board?

5-1/2 inches. Every nominal dimension is larger than the dressed board: a 2 × 6 is 1-1/2 in by 5-1/2 in, a 2 × 4 is 1-1/2 in by 3-1/2 in, and a 5/4 × 6 deck board is 1 in by 5-1/2 in. The calculator uses actual widths, because that is what covers the deck.

How much gap should I leave between deck boards?

One eighth of an inch is standard for KDAT and composite decking. Pressure-treated lumber that is still wet will shrink as it dries, so many carpenters set it tight or at 1/16 in and let it open up. A wider gap lets debris and water through but catches heels and small objects.

How many joists do I need for a deck?

Joists run across the boards, so divide the dimension the boards run along (in inches) by the on-centre spacing and add one for the end joist. If the boards run the 16 ft length at 16 in o.c., that is 192 ÷ 16 + 1 = 13 joists, each spanning the 12 ft width — 156 linear feet of joist lumber. Change which way the boards run and the count swaps with them.

How far can a 2 × 8 joist span?

It depends on species, grade, and spacing — do not guess. The IRC deck provisions (R507) and the manufacturer's span tables give the maximums, and they are conservative for good reason: an over-spanned joist feels bouncy long before it fails. Span tables also give the cantilever limits for the rim.

Does composite decking use the same math?

The row count is the same, because a composite board is also 5-1/2 inches wide. Two things change: composite can need 12 in joist spacing depending on the board, and it expands and contracts with temperature, so the gaps are set to the manufacturer's spec rather than by eye.