Deck Board Spacing Calculator: Gap Guide
- Total gap area
- in
- Result
- Board width
- 5.5 in
- You entered
- Number of boards
- 20
- You entered
This calculator works out the gap you need between deck boards so the surface drains and breathes without trapping debris. You enter the board width, the number of gaps across your deck, and the total deck width, and it returns the exact spacing per gap in your chosen unit. The result is the uniform gap distance you should set between every pair of boards.
Formula
The spacing formula is a simple subtraction and division problem:
Gap = (Total deck width – Board width × Number of boards) ÷ (Number of boards – 1)
Where:
- Total deck width – the full width of the deck surface you are covering, measured in inches (or any consistent unit).
- Board width – the actual width of one board, in the same unit. For standard 5/4 decking, this is often 5.5 in (14 cm) after milling.
- Number of boards – how many boards you plan to lay side by side.
- Gap – the space you leave between each pair of boards, in the same unit.
The formula assumes all boards are the same width and that you want a uniform gap across the entire deck. If the boards are not identical, you must measure each one and adjust the formula accordingly.
Worked Example
Using the default values from the calculator above:
- Board width = 5.5 in
- Number of boards = 20
- Total deck width = 120 in
First, multiply the board width by the number of boards:
5.5 × 20 = 110 in
This is the total width taken up by the boards themselves, with no gaps.
Next, subtract that from the total deck width:
120 – 110 = 10 in
This 10 in is the total space available for all gaps combined.
Now divide by the number of gaps. With 20 boards, there are 19 gaps (one fewer than the number of boards):
10 ÷ 19 = 0.5263 in
Rounded to three decimal places, the gap is 0.526 in, or about 13.4 mm. That is just over half an inch between each board.
Why Deck Board Spacing Matters
Deck boards need a gap for two main reasons: drainage and airflow. Rain and melting snow must pass through the gaps instead of pooling on the surface. Stagnant water soaks into the wood, promotes rot, and creates a slippery film. Airflow through the gaps also helps the underside of each board dry after wet weather, which slows decay and reduces the chance of mildew or mold.
Another reason for spacing is thermal expansion. Wood and composite decking expand and contract as temperature and humidity change. A tight gap leaves no room for movement, causing boards to buckle, cup, or push against each other. The correct gap absorbs that movement without leaving a visible crack when the boards shrink in dry summer heat.
Finally, gaps keep the deck clean in a practical sense. Small debris like pine needles, leaves, and grit can fall through the gaps instead of accumulating on the surface. If the gap is too narrow, debris clogs the space and holds moisture against the boards.
How to Choose the Right Gap
There is no single universal gap that works for every deck. The ideal spacing depends on several factors:
- Material type – Pressure-treated lumber typically needs a gap of 1/8 to 1/4 inch (3–6 mm). Cedar and redwood can be similar. Composite decking often specifies 1/8 to 3/16 inch (3–5 mm), but always check the manufacturer’s instructions because some composites require a specific gap for warranty coverage.
- Board width – Wider boards expand and contract more than narrow ones, so they need a slightly larger gap. A 6-inch board will move more than a 4-inch board.
- Climate – In humid regions, boards are often wet and swollen, so you can use a smaller gap because the boards will shrink in dry seasons. In arid regions, boards are dry and shrunken, so a larger gap prevents buckling when they absorb moisture.
- Installed moisture content – If you install boards while they are wet (common with pressure-treated lumber), they will shrink as they dry. A gap that looks correct when wet may become too wide later. Conversely, installing dry boards in a humid climate can cause them to swell and close the gap.
- Deck orientation – Boards laid diagonally or at an angle may need slightly different spacing because the effective width changes.
A common rule of thumb for wood decking is a gap equal to the diameter of a 16-penny nail (about 1/8 inch). For composite decking, a common rule is the thickness of a standard credit card (about 0.03 inch), but again, follow the manufacturer’s specification.
Common Mistakes and Misconceptions
One frequent mistake is confusing the number of boards with the number of gaps. If you lay 20 boards, you do not have 20 gaps – you have 19. Forgetting this leads to gaps that are slightly too large because you divided by the wrong number.
Another error is measuring the board width incorrectly. Deck boards are sold by nominal dimensions, but the actual width is smaller. A 2×6 board is actually 5.5 inches wide, not 6 inches. A 5/4×6 board is also 5.5 inches wide. Always measure the actual board, not the label.
People also assume that a bigger gap is always better for drainage. While a large gap does let water through, it also lets more debris fall onto the joists below, and it creates a wider opening that can catch a heel or a chair leg. Very wide gaps also make the deck surface feel less solid underfoot.
A third misconception is that the gap should be uniform across the entire deck. If your boards are not all exactly the same width – which happens with natural wood – then a uniform gap will cause the total width to drift. You should either sort boards by width or adjust individual gaps to keep the overall layout square.
Spacing for Different Decking Materials
Each material has its own recommended gap range:
- Pressure-treated pine – 1/8 to 1/4 inch (3–6 mm). Because this wood is often installed wet, it will shrink, so the gap will widen over time.
- Cedar and redwood – 1/8 to 3/16 inch (3–5 mm). These woods are more stable than pine but still move with humidity.
- Tropical hardwoods (ipe, cumaru) – 1/8 to 3/16 inch (3–5 mm). These dense woods are more stable but still need room for movement.
- Composite decking – 1/8 to 3/16 inch (3–5 mm), but many manufacturers specify a narrower gap of 1/8 inch or less. Always read the warranty document.
- PVC (plastic) decking – 1/8 to 1/4 inch (3–6 mm) because PVC expands significantly with heat. Some PVC products require a gap of up to 1/4 inch.
- Aluminum decking – Usually 1/8 inch (3 mm) or as specified by the manufacturer. Aluminum has low thermal expansion but still needs a gap for drainage.
These ranges are general guidelines, not substitutes for the manufacturer’s installation instructions. The warranty on composite and PVC decking often depends on following the exact spacing specified.
How to Measure and Maintain the Gap
During installation, use spacers to keep the gap consistent. Common tools include:
- 16-penny nails – about 1/8 inch thick, a traditional spacer for wood decking.
- Plastic deck spacers – available in various thicknesses, often with a T-shape that hooks over the board edge.
- Speed square or scrap wood – cut a piece of scrap to the exact gap width and use it as a gauge.
- String line or chalk line – snap a reference line to keep boards straight, but the gap itself is set by the spacer.
After installation, check the gaps periodically. Over time, wood can shrink, leaving gaps that are larger than intended. This is usually harmless, but if gaps become so wide that debris falls through, you may need to add a filler strip or replace the board. Composite decking can also expand and contract seasonally, so a gap that looks too wide in winter may be perfect in summer.
If you are replacing a single board, match the gap to the surrounding boards. Use a feeler gauge or a coin to measure the existing gap and cut a spacer to that size.
Frequently Asked Questions
What is the standard gap between deck boards?
For wood decking, the standard gap is 1/8 to 1/4 inch (3–6 mm). For composite decking, it is usually 1/8 to 3/16 inch (3–5 mm), but always check the manufacturer’s specification because some composite products require a narrower gap for warranty coverage.
Can I lay deck boards without any gap?
No. Without a gap, water cannot drain, and the boards have no room to expand. This leads to trapped moisture, rot, and buckling. Even in very dry climates, you need at least a small gap for drainage.
Does the gap change if I use hidden fasteners?
Hidden fasteners often have built-in spacers that automatically set the gap. For example, many composite clip systems create a 1/8-inch gap. If you use hidden fasteners, you do not need separate spacers, but you should verify the gap they create matches the manufacturer’s recommendation.
How do I fix gaps that are too wide or too narrow?
If the gaps are too narrow, you can run a circular saw with a thin-kerf blade down the gap to widen it, but this is risky and can damage the boards. If the gaps are too wide, you can remove the boards and reinstall them with proper spacers, or insert a thin filler strip into the gap. Prevention is easier – use the correct spacers during installation.
Do composite deck boards need a bigger gap than wood?
It depends on the product. Composite boards expand and contract with temperature, but many are designed to be installed with a 1/8-inch gap, which is similar to wood. Some PVC decking requires a larger gap (up to 1/4 inch) because PVC expands significantly in heat. Always follow the specific manufacturer’s instructions.
What happens if I leave a gap that is too small?
If the gap is too small, the boards will have no room to expand. In humid or hot weather, the boards can push against each other, causing them to cup, warp, or even lift off the joists. The trapped moisture also promotes rot and mold. A gap that is too small is worse than one that is slightly too large.
Related
Formula used
in b | Board width | in | 5.5 | 0 in n | Number of boards | - | 20 | 1 in w | Total deck width | in | 120 | 0 out gap | Gap between boards | in | (w - b * n) / (n - 1) | 3 out total_gap | Total gap area | in | w - b * n | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.