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.
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.
- 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.
- 1Count the boards
- 2Even out the gap
- 3Check the last board
- 4Match a spacer
- 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.
- 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.
- 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.
- 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
| Board type | Side gap at install | Why |
|---|---|---|
| Dry wood | 1/8"–3/16" (3–5 mm) | Water drains and the wood swells |
| Wet pressure-treated | 0" (butt tight) | Boards shrink to about 1/8" as they dry |
| Composite | Per 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
Boards and decking
- Deck Board Cost CalculatorDecking, fasteners and tax, by material.
- Deck Board Layout CalculatorButt joint patterns checked row by row.
- Angled Deck Board CalculatorBoards and cuts for diagonal decking.
- Deck Board Feet CalculatorBoard feet, linear feet and lumber price.
- Deck Board Screw CalculatorScrews per board, per joist and per box.
- Deck Board Replacement CalculatorBoards for a partial or full resurface.
Framing and structure