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.
feet
feet
which dimension they follow
actual, not nominal
length you can buy
on center
cuts at the rim and stairs
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 width | 5-1/2" board, 1/8" gap | 5-1/2" board, 1/4" gap | 3-1/2" board, 1/8" gap |
|---|---|---|---|
| 8 ft | 18 | 17 | 27 |
| 10 ft | 22 | 21 | 34 |
| 12 ft | 26 | 26 | 40 |
| 14 ft | 30 | 30 | 47 |
| 16 ft | 35 | 34 | 53 |
| 20 ft | 43 | 42 | 67 |
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 span | 12 in o.c. | 16 in o.c. | 24 in o.c. |
|---|---|---|---|
| 8 ft | 9 | 7 | 5 |
| 10 ft | 11 | 9 | 6 |
| 12 ft | 13 | 10 | 7 |
| 14 ft | 15 | 12 | 8 |
| 16 ft | 17 | 13 | 9 |
| 20 ft | 21 | 16 | 11 |
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.
