Deck Board Calculator

Enter your deck size and board length to see how many boards to buy, how many screws to grab, and what it will cost.

Updated Nov 2026 Formula shown below Feet or meters
ft
along the boardsEnter a number (0 or more)
ft
across the boardsEnter a number (0 or more)
in
3/16 in (0.48 cm) is commonEnter a number (0 or more)
%
5–10% is typicalEnter a number (0 or more)
Your prices (optional)
$each
Enter a number (0 or more)
You'll need
–
mind the gap ✌

How to calculate deck boards

Deck boards run along the length of the deck, side by side across its width. First work out how many rows fit across the width: convert the width to inches and divide by the board width plus the gap. Then work out how many boards each row takes, and add a little extra for cuts and bad boards.

Boards = Width (in) ÷ (Board width + Gap) × Boards per row × (1 + Waste %)

Use the board's actual width, not its name. A "6-inch" deck board is 5.5 inches wide. If your boards are as long as the deck, each row takes one board. If they're longer, you may cut two or more pieces from each one. If the deck is longer than your boards, each row needs a joint, which must land on a joist.

Pro tip!

Pick a board length that matches your deck, or divides into it evenly. A 14-ft deck built from 16-ft boards wastes 2 feet on every row.

Worked example: a 16 × 12 ft deck

A deck 16 feet long and 12 feet wide, with 5.5-inch boards, a 3/16-inch gap, 16-foot boards and joists 16 inches on center. We add 10% for waste.

  1. Count the rows across 144 in144 ÷ (5.5 + 0.1875) = 25.3 → 26 rows
  2. 16-ft boards on a 16-ft deck26 rows × 1 board = 26 boards
  3. Add 10% for waste26 × 1.10 = 28.6 → 29 boards
  4. Count the joists192 in ÷ 16 = 12 spaces + 1 = 13 joists
  5. Two screws per board at each joist26 × 13 × 2 = 676 screws

That's 29 boards, or 464 linear feet of decking.

Which board length should I buy?

Deck boards are commonly sold in 12, 16 and 20-foot lengths. Choose the one that leaves the least waste for your deck.

Deck lengthBoard to buyPieces per board
6 ft12 ft2
8 ft16 ft2
10 ft20 ft2
12 ft12 ft1
16 ft16 ft1
20 ft20 ft1

Your waste allowance covers squaring up board ends and the odd split or warped board.

Gaps and joist spacing

Wood boards are usually gapped about 1/8 to 1/4 inch so water can drain. Wet pressure-treated lumber shrinks as it dries, so many builders set it tighter. Composite boards have their own gap rules. Joists 16 inches on center are the most common layout. Diagonal boards need closer joists: Trex calls for 12 inches on center. Wider spacing only works with boards rated for it, so check the board maker's span rating and local codes.

Questions people ask

How many deck boards do I need for a 12 × 16 deck?

With 5.5-inch boards running the 16-foot way, 3/16-inch gaps and 16-foot boards, you need 26 rows. Add 10% for waste and buy 29 boards.

How much gap should I leave between deck boards?

About 1/8 to 1/4 inch is typical for dry wood boards. Wet pressure-treated boards are often set tighter because they shrink. For composite, follow the maker's instructions.

How many screws do I need per deck board?

Two at every joist. A 16-foot board on joists 16 inches apart crosses 13 joists, so it takes 26 screws. Add two more at each butt joint.

Which way should deck boards run?

Boards run across the joists, usually parallel to the house. Lay out the deck so each row is one full board if you can, which saves joints and waste.

Sources

The numbers in this calculator come from these manufacturer specs and public guides. Always check the label on the product you buy.

  1. Gap boards 3/16 in and use two screws per board at every joist — Trex
  2. Joists 16 in on center, 12 in for diagonal decking — Trex
Was this calculator helpful?

Planning the rest of the backyard?

See all calculators