Deck board calculator: rows, boards to buy, and joist count
Enter the deck length and width, the actual board width, the gap between boards, the stock board length, and a waste allowance. The tool returns rows, boards per row, boards before waste, boards to buy, linear feet, and a joist count at the spacing you pick. It is not a joist-span design and not the board-foot lumber tool.
Deck and board
Formulas for Deck boards
Rows = ceil(Deck width in inches ÷ (Actual board width + Gap))
Boards per row = ceil(Deck length ÷ Stock length)
Total boards before waste = Rows × Boards per row
Boards to buy = ceil(Total boards before waste × (1 + Waste %))
Linear feet = Boards to buy × Stock length
Joists = ceil(Deck length in inches ÷ Joist spacing) + 1
Where L_deck = deck length parallel to the joists, feet, positive; W_deck = deck width across the joists, feet, positive; W_board = actual board width, inches, positive; G = gap between boards, inches, non-negative; L_stock = stock board length, feet, positive; w = waste allowance as a fraction (percent / 100); S_joist = joist spacing on center, inches (12, 16, or 24); R = rows of boards; B_row = boards per row; B_exact = total boards before waste; B_buy = boards to buy; LF = linear feet of decking; J = joist count, including both ends.
Boards run across the joists. Deck width is measured in that direction.
Enter the actual (dressed) board width, not the nominal size. A nominal 6 in board is typically 5.5 in actual; a nominal 4 in board is typically 3.5 in. Measure if you are unsure.
The gap is added to actual width to get the space each row occupies. A 1/8 in gap is a common starting value; composite decking often specifies its own gap.
Each row is filled with full-length stock boards butted end to end, then the last piece is cut. Offcuts are not assumed to start the next row.
Waste is applied to the board count, then rounded up.
Joist count places a joist at each end and at the chosen on-center spacing. If the length is not a multiple of the spacing, the last bay is shorter. This is a count only, not a span check. Confirm spans in AWC DCA 6 or IRC R507 and with local code.
Checked examples for Deck boards
16×12 ft deck, 5.5 in actual board, 1/8 in gap, 16 ft stock, 10% waste, 16 in joists. 26 rows, 1 board/row, 26 exact, 29 to buy, 464 LF, 13 joists.
20×14 ft deck, same board, gap, stock and waste. 30 rows, 2 boards/row, 60 exact, 66 to buy, 1,056 LF, 16 joists.
12×10 ft deck, 3.5 in actual boards, 1/8 in gap, 12 ft stock, 15% waste, 12 in joists. 34 rows, 1 board/row, 34 exact, 40 to buy, 480 LF, 13 joists.
Limits of Deck boards
Deck length and width must be positive. Actual board width must be positive. Gap must be 0–1 inch. Stock length must be positive. Waste allowance is capped at 30%. Joist count is a layout count at 12, 16, or 24 in on center. It is not a structural design, and spans must be checked locally. Not for: joist span or lumber sizing (check AWC DCA 6, IRC R507, and local code); board-foot lumber volume (use the board-feet tool); picture-frame or border layouts (subtract that width from the field first).
American Wood Council: DCA 6 joist-spacing FAQ (Table 2) and CHAM / standard dressed lumber practice, stated as a measurement note.