Deck Board Spacing Calculator
Use this free deck board spacing calculator to find how many deck boards you need, set the right gap between boards, and check whether the last board must be ripped. It covers the deck surface — board count and gap spacing. For the framing underneath (joist spacing, beams, and fasteners), see our Deck Board & Joist Calculator.
Enter your numbers
Measure the width the boards will span — deck boards run perpendicular to the joists.
Standard: 1/4 in. for pressure-treated lumber. Keep the gap between 1/8 and 3/8 in.
Your results
| Item | Value |
|---|---|
| Deck width | – |
| Board width | – |
| Target gap | – |
| Coverage at target gap | – |
| Leftover strip | – |
| Board orientation | – |
Board counts are planning estimates — confirm the layout on site before cutting or ordering.
How to use this calculator
Enter the deck width in feet and inches — the distance the boards will span, measured in the direction the boards run (perpendicular to the joists). Then pick your board's actual width: 3.5 in. for a 2×4, 5.5 in. for the common 5/4×6 or 2×6 decking board, or 7.25 in. for a 2×8.
Set your target gap with the quick picks or a custom value. The 1/4 in. default is the industry standard for pressure-treated lumber, giving enough room for drainage and seasonal expansion; composite boards often use 3/16 to 1/4 in. Stay between 1/8 and 3/8 in. — tighter gaps trap debris, wider gaps catch heels and look sloppy.
Results update instantly: the board count, the even-fit gap that spreads the boards exactly across the full width, and a coverage check showing whether the last board must be ripped. Add 5–10% waste for offcuts and bad boards before you order.
How it works
Each board plus its gap occupies one pitch: pitch = board width + gap. The number of boards is boards = ⌈ (deck width − gap) ÷ pitch ⌉. We subtract one gap because the last board needs no gap after it — that is why 144 in. ÷ 5.75 in. = 25.04 gives 25 boards, not 26.
The coverage check multiplies out the layout: boards × board width + (boards − 1) × gap. At a 1/4 in. gap, 25 boards of 5.5 in. cover 143.5 in., leaving a 0.5 in. strip on a 12 ft deck. If that leftover strip is narrower than a full board, the last board must be ripped to fit — or you can widen every gap slightly instead.
The even-fit gap = (deck width − boards × board width) ÷ (boards − 1) is the gap that spans the deck exactly with no ripping. For the 12 ft example it is about 0.27 in. — close enough to the 1/4 in. target that nobody will notice.
Assumptions: boards run perpendicular to the joists, gaps are uniform, and board widths are actual (not nominal) dimensions. No waste factor is included in the count. All results are estimates for planning — verify the layout on site before cutting.
Frequently asked questions
What gap should I leave between deck boards?
For pressure-treated lumber, 1/4 in. is the standard gap — it allows drainage and room for the boards to expand and contract. Composite decking usually calls for 3/16 to 1/4 in. Always check the board manufacturer's recommendation, since some products specify hidden-fastener spacing.
Do deck boards run parallel or perpendicular to the joists?
Perpendicular. Deck boards always run across the joists, and the joist spacing underneath (typically 16 in. on center) is what supports them. This calculator assumes that layout — measure the deck width in the direction the boards will span.
Why does the calculator show 25 boards for a 12 ft deck instead of 26?
The last board needs no gap after it, so the math fills (deck width minus one gap) with board-plus-gap units: ceil((144 - 0.25) / 5.75) = 25. The 25 boards cover 143.5 in. at a 1/4 in. gap, and the even-fit gap of about 0.27 in. spreads them across the full 12 ft with no ripping.
How is this different from the Deck Board & Joist Calculator?
This page answers two questions: how many deck boards you need and what gap to leave between them. The Deck Board & Joist Calculator covers the framing underneath — joist spacing, rim boards, beams, and fasteners.
Should I buy extra boards for waste?
Yes. Add 5 to 10 percent to the board count for offcuts, bad boards, and mistakes — more if your deck has angles or a picture-frame border. The count above is the exact layout number with no waste included.
Will I need to rip the last board?
Often, yes. If the leftover strip is narrower than a full board, the final board must be ripped to that width — or you can widen every gap slightly (up to the 3/8 in. maximum) so the boards span the full width evenly.