Deck Board Calculator

Deck Board Spacing Calculator

Enter the deck width and your boards. The calculator finds the gap that makes the last board land full width, picks a spacer for it and draws the result up close.

0

Gap diagram

Spacing summary

What is Deck Board Spacing Calculator?

Deck Board Spacing Calculator is a free online tool that finds the gap between deck boards so the last board lands full width.

Deck builders, carpenters and DIY homeowners use the deck board spacing calculator before the first board goes down. The tool counts the boards across the deck, adjusts the gap by a fraction of an inch, matches the gap to a spacer and draws the boards end-on, so you see the gap before you cut.

Inputs5
Gap range0–1/4" (0–6 mm)
Spacers matched5 sizes
Default result25 boards on 12 ft
  • Deck builders
  • Contractors
  • Carpenters
  • DIY homeowners

How Deck Board Spacing Calculator Works?

Deck Board Spacing Calculator works in 4 steps: it counts the boards that fit, evens out the gap, checks the last board and matches a spacer.

  1. 1Count the boards
  2. 2Even out the gap
  3. 3Check the last board
  4. 4Match a spacer
Deck Board Spacing Calculator steps, using the default inputs on this page.
  1. Count the boards. Deck width plus one gap, divided by board width plus one gap, gives the number of boards. A 12 ft (3.66 m) deck with 5 1/2" (140 mm) boards and a 3/16" (5 mm) target gap fits 25 boards.
  2. Even out the gap. The calculator tests the board count and one more, then keeps the gap closest to your target. For 25 boards on 12 ft, the gap becomes 1/4" (7 mm), with 24 gaps across the deck.
  3. Check the last board. With the gap adjusted, the last board lands full width. With the toggle off, the gap stays fixed and the last board is ripped to the leftover width.
  4. Match a spacer. The gap is matched to the nearest of 5 common spacers: butt tight, an 8d nail (1/8"), a 16d nail (5/32"), a 3/16" deck spacer or a 1/4" deck spacer.

What Deck Board Spacing Calculator Uses?

Deck Board Spacing Calculator uses 5 inputs, 2 formulas and a spacer table to return 4 results.

1Inputs 5

  • Deck width across the boards, in ft
  • Board face width: 3 1/2", 5 1/2" or 7 1/4"
  • Board type: dry wood, wet treated or composite
  • Target gap: 1/8", 3/16" or 1/4"
  • Toggle to adjust the gap for a full last board

2Formulas 2

  • Boards = (width + gap) ÷ (board width + gap)
  • Adjusted gap = (width − boards × board width) ÷ (boards − 1)

3Results 4

  • Boards across the deck
  • Gap to set, in inches and mm
  • Last board width
  • Spacer to use
What goes into Deck Board Spacing Calculator, how it is worked out and what comes back.
Deck board gap by board type
Board typeSide gap at installWhy
Dry wood1/8"–3/16" (3–5 mm)Water drains and the wood swells
Wet pressure-treated0" (butt tight)Boards shrink to about 1/8" as they dry
CompositePer maker, often 3/16"–1/4"Trex and TimberTech set gaps in their guides

Deck Board Spacing Calculator FAQ

What is the standard gap between deck boards?

The standard gap between deck boards is 1/8" to 3/16" (3–5 mm) for dry wood and most composite boards. Composite brands such as Trex and TimberTech print their own side-to-side gap in their installation guides. Follow the maker’s gap, since the warranty depends on it.

Do wet pressure-treated deck boards need a gap?

No, wet pressure-treated deck boards go down butt tight with no gap. Wet treated boards shrink across their width as they dry, and a gap of about 1/8" (3 mm) opens within a few months. Set the board type to wet treated and the calculator shows a 0" install gap.

How do I keep the last deck board from being a thin strip?

Adjust the gap by a fraction of an inch so the boards fill the deck width exactly. Turn on the adjust toggle and the calculator finds the gap that makes the last board full width. On a 12 ft deck with 5 1/2" boards, 25 boards at a 1/4" gap fill the width with no ripping.

Do composite deck boards need end gaps?

Yes, composite deck boards need a small end-to-end gap that changes with the temperature on install day. Composite boards grow and shrink in length with heat. Check the maker’s gap chart for butt joints and the space at walls and posts. Wood boards are butted tight at the ends.

More deck calculators

15 free tools
Deck Board CalculatorThe full board count with a live layout, cut plan and shopping list.