Distance between deck boards: how to calculate spacing
Use a deck board spacing calculator to estimate the distance between deck boards and the number of boards that fit across the deck. The final gap can differ slightly from the target because a whole number of boards must fit the available width.
Enter deck width, board width, and a desired gap to estimate the distance between deck boards and how many whole boards fit. The calculator distributes the remaining width across the gaps.
Formula
Boards = floor((deck width + desired gap) ÷ (board width + desired gap))
Actual gap = (deck width − boards × board width) ÷ (boards − 1)
Example
For a 12 ft width with 5.5 inch boards and a 1/8 inch desired gap, the calculator estimates the board count and resulting average gap.
Assumptions and material notes
This is a planning calculation for evenly distributed boards. Follow the decking manufacturer's recommended spacing and account for board movement, moisture, drainage, and installation conditions.
Frequently asked questions
How do I calculate the distance between deck boards?
Start with the deck width, board width, and desired gap. Calculate how many whole boards fit, then divide the remaining width among the gaps. Always follow the decking manufacturer’s spacing guidance.
Why can the actual gap differ from my desired gap?
The deck width may not fit an exact number of boards at the desired gap, so the remaining width is distributed among the gaps.
Does this include perimeter framing?
No. It only estimates field deck boards.
Should I use the manufacturer gap?
Yes.
Can I use decimals?
Yes.
What if the calculated board count is too low?
Check the result against the actual deck edges and framing; perimeter boards and layout changes can require additional material.
Related calculators
Deck Board Calculation guide · Deck Board Linear Feet guide · Deck Board Calculator
Disclaimer: Estimates are for planning purposes only. Actual material requirements may vary based on site conditions, material specifications, installation methods, waste, and local requirements. Always verify quantities with your supplier or qualified professional before purchasing materials.