Deck Board Calculator

Enter your deck size and get the exact board count, total linear feet, screws, and a cost estimate — using actual board widths, not nominal sizes.

Please check your inputs — values must be within the allowed ranges.

—
Boards needed
—
Linear feet
—
Screws (approx.)
—
Board cost

Print it for the lumber yard counter, or choose "Save as PDF" to keep it on your phone.

How the calculation works

The formula is simple enough to check by hand:

  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).
  3. Boards = linear feet × (1 + waste) ÷ board length, rounded up.

Example: a 12 × 16 ft deck with 5.5-in boards, a 1/8-in gap, and 10% waste works out to 26 rows, 416 linear feet, and 29 sixteen-foot boards. The screw estimate assumes two screws at every board-to-joist crossing.

Nominal vs. actual board sizes

This is the most common mistake in DIY board math. Boards are sold by nominal (name) size, but after milling they are smaller. All calculators on this site use actual widths:

Nominal size (what it's called)Actual width (what you measure)
5/4 x 65.5 in
2 x 65.5 in
2 x 4 / 5/4 x 43.5 in
5½ in actual width (sold as a “6-inch” board) 1/8 in gap 2×8 joist (actual 1½ × 7¼ in) boards 1 in thick
Cross-section drawn to scale (1 in = 40 px): 5/4×6 boards, actual 1 × 5½ in, with a 1/8-in gap between boards, on a 2×8 joist. Illustration only — example values, not a construction drawing.

Choosing the gap and waste factor

Gap

Pressure-treated lumber is usually wet when installed and shrinks as it dries, so a 1/8-in gap at install often opens to 1/4 in over the first season. Kiln-dried and composite boards don't shrink the same way — follow the manufacturer's gap, typically 3/16 to 1/4 in, for composite decking.

Waste

Straight layouts with standard board lengths run about 10% waste (cuts, knots, end checks). Go to 15% for diagonal or picture-frame layouts, or when your deck's length doesn't match a stock board length and every row needs a splice.

Materials shopping list

With the results above, your shopping list starts with:

As an Amazon Associate, DeckBoardsCalculator earns from qualifying purchases made through links on this page.

Hit the Print list button under the results above to take this list to the lumber yard.

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. If the deck attaches to the house, subtract nothing for the ledger (the first row butts against it), but do account for stair cutouts later — they come out of your waste allowance.

Sources & assumptions

Deck board FAQs

Divide the deck width in inches by the board width plus the gap to get the number of rows. Multiply rows by the deck length to get total linear feet, divide by your board length, then add about 10% waste. The calculator above does all of this for you.
No. A 5/4x6 or 2x6 board labeled 6 inches wide is actually about 5.5 inches after milling. Always use actual widths — 5.5 in for a "6-inch" board, 3.5 in for a "4-inch" board.
Most pressure-treated decks use a 1/8 to 1/4 inch gap for drainage. Wet treated lumber shrinks, so 1/8 inch at install is common. Composite boards typically need 3/16 to 1/4 inch per the manufacturer.
About 10% for straight layouts, 15% for diagonal or picture-frame patterns or heavy splicing.
Two screws at each joist crossing — one per side of the board. The calculator's screw estimate uses this rule.
Estimates only — always check local building codes and your lumber supplier's actual dimensions before ordering. This tool does not replace structural design.