Fencing & Decking

Deck Board Calculator

Estimate deck-board rows and whole stock boards from deck dimensions, board width, gap, stock length, and waste.

Last reviewed: November 11, 2026

Project measurements

Measurement system

Boards run along the entered deck length. This surface-layout estimate does not calculate joists, beams, loads, or code requirements.

How to use this calculator

  1. Enter the rectangular deck length in the board direction and the width across the rows.
  2. Enter actual board face width, clear gap, and selected stock length.
  3. Choose a waste allowance.
  4. Calculate rows, linear length, and whole stock boards.

How the calculation works

Board width plus gap determines the number of rows across the deck width. Row count is rounded upward. Rows multiplied by deck length give linear board length; waste is added before dividing by stock length.

Formula

Rows = ceil(deck width ÷ (board width + gap))
Linear board length = rows × deck length
Purchase boards = ceil(linear length × (1 + waste %) ÷ stock length)

Worked example

A 12 ft by 10 ft deck with a 5.5 in board and 0.25 in gap needs 21 rows. Those rows total 252 linear feet; 10% waste and 12 ft stock boards require 24 boards.

Rows depend on board width

Board width plus gap sets the row pitch. The table uses a 10 ft deck width (120 in) and a 0.25 in gap.

Board face widthRow pitchRows across 10 ft
3.5 in3.75 in32
5.5 in5.75 in21
7.25 in7.5 in16

A second example: why rounding up matters

A 16 ft by 12 ft deck with boards running along the 16 ft length, 5.5 in boards, a 0.25 in gap, and 16 ft stock has 144 in of width. 144 divided by 5.75 is 25.04, so 26 rows are needed because the last row only needs to be cut narrow. That is 416 linear feet, and with 10% waste, 457.6 feet, or 29 boards of 16 ft.

Gaps and fit

The gap is the space left between boards by the fastening method and the product's instructions. Some manufacturers specify the gap by product, so use theirs. A change of 0.125 in over 25 rows is about 3 inches of total width, which can change the row count.

What the count does not cover

  • Joist spacing and board span requirements.
  • Fascia, a picture-frame border, stairs, and railings.
  • Fasteners and hidden clips.
  • Boards that must be cut to length around a stair or an obstruction.

Cutting the last row

When the row count rounds up, the last board will not fit at full width. In the 16 ft by 12 ft example, 25 full rows use 143.75 inches of the 144, which leaves about a quarter inch, so the 26th board would be ripped almost to nothing. Most builders avoid that by adjusting the gap slightly or by ripping the first and last boards to a more even width, which is a layout decision, not a quantity decision.

If you plan to rip boards, the offcut strips are usually too narrow to reuse, so the allowance is more important in that case. Work out the layout on paper, or check the rows again with your actual boards laid out dry before cutting the order.

More common mistakes

  • Using nominal board width instead of actual width.
  • Using the wrong stock length for the deck dimension.
  • Leaving out boards for a border or stair treads.

Project considerations

  • Enter actual board face width and the selected stock length.
  • The calculator assumes boards run along the entered deck length and does not optimize staggered cuts.
  • Joist layout, spans, structure, fastening pattern, railings, stairs, and code requirements are not calculated.

Frequently asked questions

Which direction do boards run?

Boards run along the entered deck length; the entered width is used to count rows.

Does the result optimize offcuts?

No. It converts total adjusted linear length to stock boards without a cut-layout optimizer.