Skip to main content
Construction

Deck Board Spacing Calculator

Enter your deck width, the actual board width, and a preferred gap, and this calculator solves for the board count that lets a full-width board land at both edges. It returns the achieved gap to set your spacer blocks to, plus the matching edge margin, so a run never ends on a skinny ripped-down sliver. Open the Advanced fields and the same layout becomes a takeoff: linear feet to order, joist count, and fasteners.

Enter dimensions in inches. Use actual board width and subtract any picture-frame border from the deck width first.

Measure perpendicular to the boards. Use the field width after subtracting borders or picture-frame boards.
Use the finished face width: nominal 6 in decking is usually 5.5 in actual; nominal 4 in is usually 3.5 in.
Starting target for board spacing. The calculator may nudge it so both deck edges land symmetrically.
Advanced options
Used for linear feet, joist count, and fastener estimates.
Typical values are 12, 16, or 24 inches on center depending on material and installation angle.
Use 2 for two-screw face fastening or 1 for many hidden-clip systems.
Adds extra linear footage for cuts, defects, and ordering buffer.
Boards across 25
Achieved gap 0.250 in (≈ 1/4 in)
Edge margin 0.250 in (≈ 1/4 in)
Show calculation details
Board-start marks

Showing first 12 of 25. Every 5th board highlighted for tape-measure scanning.

  1. #10.250 in (≈ 1/4 in)
  2. #26.000 in (≈ 6 in)
  3. #311.750 in (≈ 11 3/4 in)
  4. #417.500 in (≈ 17 1/2 in)
  5. #523.250 in (≈ 23 1/4 in)
  6. #629.000 in (≈ 29 in)
  7. #734.750 in (≈ 34 3/4 in)
  8. #840.500 in (≈ 40 1/2 in)
  9. #946.250 in (≈ 46 1/4 in)
  10. #1052.000 in (≈ 52 in)
  11. #1157.750 in (≈ 57 3/4 in)
  12. #1263.500 in (≈ 63 1/2 in)
  13. #1369.250 in (≈ 69 1/4 in)
  14. #1475.000 in (≈ 75 in)
  15. #1580.750 in (≈ 80 3/4 in)
  16. #1686.500 in (≈ 86 1/2 in)
  17. #1792.250 in (≈ 92 1/4 in)
  18. #1898.000 in (≈ 98 in)
  19. #19103.750 in (≈ 103 3/4 in)
  20. #20109.500 in (≈ 109 1/2 in)
  21. #21115.250 in (≈ 115 1/4 in)
  22. #22121.000 in (≈ 121 in)
  23. #23126.750 in (≈ 126 3/4 in)
  24. #24132.500 in (≈ 132 1/2 in)
  25. #25138.250 in (≈ 138 1/4 in)
Linear feet 440.0 ft
Joists 13
Fasteners 650

Land a full-width board at both deck edges

The hard part of a deck layout is not the board count, it is making the last board come out full width instead of a 1-inch rip against the rim joist. This tool fits whole boards across your width, then shares the leftover space as one even gap repeated across the field and at both edges. Your job is to feed it the real board width, pick a starting gap that suits your material, and then build to the achieved gap it reports.

Enter actual width

Type the milled face width, not the nominal name. A 5/4 x 6 softwood board is about 5.5 in actual; using 6 in shrinks every gap and pushes the last board into a sliver.

Build to the achieved gap

Cut your spacer blocks to the achieved (edge-symmetric) gap the calculator returns, not to the preferred gap you typed. That is the number that keeps both edges even.

Match the gap to the material

Use the board maker's instructions first. As a planning starting point, air-dried boards may be near 1/8 in, many kiln-dried or composite layouts land around 3/16 in, and wet pressure-treated stock may need closer to 1/4 in because it shrinks as it dries.

Open Advanced for the order

Add deck length, joist spacing, fasteners per crossing, and waste to get linear feet, joist count, and a screw total instead of just the layout.

Example: a 12 ft wide deck, start to finish

Take a deck 144 in wide running 5.5 in boards at a 3/16 in preferred gap. Fitting whole boards gives floor((144 + 0.1875) / (5.5 + 0.1875)) = 25 boards. The leftover 144 - (25 x 5.5) = 6.5 in is shared across 26 openings (24 between boards plus both edges), so the achieved gap and the edge margin both land at 0.25 in - a touch wider than the 3/16 target, but symmetric. Now fill the Advanced fields: a 192 in (16 ft) length at 10% waste needs 25 x 16 x 1.10 = 440 linear feet; joists 16 in on center give floor(192 / 16) + 1 = 13 joists; at 2 screws per crossing that is 25 x 13 x 2 = 650 fasteners.

Set spacers to the achieved gap, not the gap you typed

The preferred gap is only a starting point. Once whole boards are fit across the width, the leftover space is redistributed into one even gap, and that achieved value is usually a hair off your target - 0.25 in instead of 3/16 in on the example deck. The layout positions list gives the distance from the starting edge to the leading face of each board, so you can mark the joists directly rather than chasing a running tape. If the achieved gap comes back implausibly tight or wide, nudge the board count by changing the preferred gap and compare results before you cut.

Why nominal board sizes throw the spacing off

Decking is sold by a nominal name that is bigger than the finished board. A nominal 6 in softwood plank measures about 5.5 in after milling, and a nominal 4 in measures about 3.5 in. Entering the nominal number instead of the actual width compounds across the deck - over 25 boards a half-inch error is more than a foot of drift, enough to flip the last board from full width to a rip. Measure one board with a tape and enter that face width.

Choosing a gap by board material and moisture

The gap is the biggest judgment call on the inputs. Kiln-dried softwood is dimensionally stable and takes a tight 1/8 to 3/16 in. Pressure-treated stock often arrives wet, so a 1/4 in gap leaves room for it to shrink rather than open up later. Composite and PVC boards follow the manufacturer spec, which frequently ties the install gap to temperature. Pick the value that suits your material, then read the achieved gap to confirm the layout still lands clean at both edges.

Turn the layout into a material order

The Advanced fields convert the same deck into a takeoff: linear feet of decking with your waste allowance folded in, joist count for the entered length and spacing, and a fastener total from board count times joist count times fasteners per crossing. Use 10% waste for straight runs and raise it toward 15-20% for diagonal cuts, picture-frame borders, or more complicated field layouts. This solver assumes one straight rectangular field; for a broader deck-board material estimate with layout angle, waste, and fastener choices, use the Decking Calculator. When the yard prices your joists, beams, or railing stock by board foot rather than the piece, price that part of the order with the Lumber Calculator.

References

  1. Deckboardseng — blocklayer.com

    blocklayer.com · accessed 2026-06-03

  2. Deck board set out — quickchippy.au

    quickchippy.au · accessed 2026-06-03

  3. Decking calculator — decks.com

    decks.com · accessed 2026-06-03

  4. Deckcalculatoreng — blocklayer.com

    blocklayer.com · accessed 2026-06-03

  5. Deck calculator — ls-usa.com

    ls-usa.com · accessed 2026-06-03

  6. Decking calculator — spax.us

    spax.us · accessed 2026-06-03

  7. How to calculate how much decking you need — timbertech.com

    timbertech.com · accessed 2026-06-03

Frequently asked questions

How does a deck board spacing calculator work?
It fits whole boards across your deck width and then sizes the gap so both edges come out even. Enter the deck width, the actual board width, and a target gap; it returns the board count, the achieved (edge-symmetric) gap to set your spacers to, and the edge margin at each side. That keeps the final board full width instead of a narrow rip.
How far apart should the joists be, 16 or 24 inches on center?
For most residential decks, 16 in on center is the safer default, and many composite boards require it when run perpendicular to the joists. A 24 in spacing should be used only when the board manufacturer's span rating and the deck design allow it. The joist spacing you enter changes the joist count and, through it, the fastener total - it does not change the board spacing across the width.
How many deck boards do I need for my deck?
Divide the deck width by the board width plus gap to get the boards across, then multiply by the deck length to get the running feet, and add a waste allowance for cuts and culls. The calculator does this for you and reports linear feet of decking to order. A wider gap or a larger waste percentage will each change the total you buy.
How do I work out deck board spacing from the deck width?
Divide the deck width by the board width plus your target gap to see how many full boards fit, then round to a whole number. Start from the gap your material calls for - about 1/8 in for kiln-dried softwood, 1/4 in for wet pressure-treated stock - and let the calculator redistribute the leftover space into one even achieved gap.
How do I adjust the spacing so the boards fit evenly?
Round to a whole board count, then divide the leftover width by the number of openings to get one even gap repeated across the field and at both edges - that is the achieved gap the calculator returns. The 3-4-5 rule is a separate check: it squares the deck frame during layout, so it sets up the corners but does not change this per-board spacing math.