Floor plans and room areas, by the rules

Pro Pro is active in this browser. Open your Pro accountPro free trial is active. Open your Pro accountPro is active but will not renew. Open your Pro account

Decking Board Spacing Calculator

A decking board spacing calculator gives the number of board courses and the uniform gap across your deck width. It also counts the boards to buy for your stock length and the deck screws you need. Results depend on the board material, joist spacing, and stock length you select.

Free · runs in your browser · nothing is uploaded

A decking board spacing calculator determines the exact number of board courses, total linear footage, and uniform spacing gap required to deck an outdoor structure. Proper deck board spacing is critical for drainage, ventilation, and accommodating seasonal expansion and contraction. Installing boards with uneven or arbitrary gaps leads to unsightly tapering or an awkward narrow sliver board at the outer perimeter rim joist. This interactive tool calculates the exact adjusted gap spacing required across your deck width based on material moisture levels, joist spacing, and commercial stock board lengths. Pre-planning your gap distribution ensures smooth, continuous deck boards that weather uniformly across seasons.

Enter your deck length, deck width, and board material in the calculator above to see your course count and gap.

At a glance

A decking board spacing calculator determines the exact number of board courses, total linear footage, and uniform spacing gap required to deck an outdoor structure.

  • The recommended gap is 1/16 inch for wet pressure-treated wood, 1/8 to 3/16 inch for kiln-dried wood, and 3/16 to 1/4 inch for composite or PVC.
  • The Commercial Stock Board Length options are 12 ft, 16 ft, or 20 ft.
  • Joist on-center spacing is 16 inches for standard residential decking or 12 inches for composite planks and heavy commercial applications.
  • The uniform gap equals the deck width minus the combined width of all boards, divided by the number of courses minus one.
  • Building codes (IRC R507) require two corrosion-resistant exterior screws at every joist crossing.

How to use the decking board spacing calculator

  1. Select your preferred measurement system: Imperial units (feet, inches) or Metric units (meters, millimeters).
  2. Enter the Deck Length (measured parallel with the supporting structural joists) and Deck Width (measured across the board courses).
  3. Select your Nominal Board Width: 5.5 inches (standard nominal 5/4×6 or 2×6 planks) or 3.5 inches (nominal 2×4 framing boards).
  4. Specify your Board Material & Moisture State: Wet Pressure-Treated (tight 1/16" initial gap), Kiln-Dried Cedar/Redwood (1/8" to 3/16" gap), or Composite/PVC (1/4" gap for thermal expansion).
  5. Choose your Joist On-Center Spacing: 16 inches for standard residential decking or 12 inches for composite planks and heavy commercial applications.
  6. Choose your Commercial Stock Board Length (12 ft, 16 ft, or 20 ft) to eliminate unsightly mid-span butt joints across wide spans.
  7. Enter the unit Price per Board to review your complete material budget, required exterior deck screws, and uniform gap calculations.

For instance, a deck measuring 16 feet long by 12 feet wide across 5.5-inch composite boards requires roughly 24 full courses. Rather than installing arbitrary 1/4-inch spacers that leave a messy 1.25-inch off-cut at the outer edge, the calculator computes an exact uniform gap of 0.228 inches (approximately 7/32 inch). Over 24 courses, this uniform micro-adjustment ensures every board remains full width from the house ledger board all the way to the outer rim fascia, requiring 24 boards of 16-foot stock and approximately 624 corrosion-resistant exterior deck screws for complete code compliance.

Material moisture and gap dynamics: wood versus composite

The fundamental rule of deck board spacing depends on whether your decking material expands or shrinks after installation. Wet, green pressure-treated lumber arrives saturated with chemical preservative and water; as it bakes in the sun over its first summer, each 5.5-inch board shrinks by 1/8 to 1/4 inch across its grain. Consequently, wet pressure-treated boards should be installed with a minimal 1/16-inch gap (the thickness of an 8d nail), allowing natural shrinkage to create the final 1/4-inch drainage gap. Conversely, kiln-dried hardwoods and composite planks do not shrink; composite boards expand longitudinally with heat, requiring a full 3/16-inch to 1/4-inch gap from day one to prevent buckling under direct summer sunlight.

Board materialGap to install
Wet pressure-treated wood1/16 inch
Kiln-dried wood, cedar, redwood1/8 to 3/16 inch
Composite or PVC3/16 to 1/4 inch

Eliminating the narrow perimeter sliver board

One of the most common mistakes in amateur deck building is fastening boards outward from the house ledger with fixed spacers without pre-calculating the final course. When you reach the outer rim joist, the remaining opening is frequently 1 to 2 inches wide—forcing you to rip down a fragile, narrow wood strip that easily splits when screwed down. By calculating the total width and dividing by total courses beforehand, you can distribute fractions of an inch uniformly across all 20 to 30 gaps, ensuring the final outer board lands flush and full-width against the perimeter fascia.

Fastener schedules and joist support requirements

Building codes (IRC R507) require exterior deck boards to be fastened with two corrosion-resistant exterior screws at every joist crossing. For standard 16-inch on-center joists, a 16-foot board spans 13 joists, requiring 26 screws per board. While pressure-treated 5/4×6 boards span 16 inches comfortably, composite decking is more pliable and tends to sag or feel bouncy under summer heat; major composite manufacturers require 12-inch on-center joist framing when boards are laid diagonally at 45 degrees, which proportionally increases overall screw counts.

Hidden deck fasteners versus face screws

Modern composite deck installations frequently utilize hidden clip fasteners fitted into grooved side edges. Hidden fasteners automatically enforce a consistent 3/16-inch to 1/4-inch gap between planks while eliminating visible screw heads on the walking surface. However, the first starter board and final outer rim board must still be face-screwed or plugged with matching composite dowels to anchor the deck perimeter securely against wind uplift and lateral shifting.

Frequently asked questions

What gap should I leave between pressure-treated deck boards?

If the lumber is wet and heavy from the supplier, install it tight with a 1/16-inch gap (the thickness of a penny or 8d nail). If the lumber is thoroughly air-dried or kiln-dried, leave a consistent 1/8-inch to 3/16-inch gap to allow seasonal expansion.

How do I fasten deck boards to prevent splitting?

Pre-drill pilot holes within 1 inch of board ends, and use #8 or #10 coated ceramic or 305/316 grade stainless steel screws with reverse threads or trim heads that pull surface fibers flush without unsightly mushrooming.

Should deck boards run parallel or perpendicular to the house?

Most decks run boards parallel to the house and perpendicular to the ledger joists. Running boards parallel to the house provides longer, more appealing sightlines and matches typical residential framing orientations.

How much overhang should deck boards have over the rim joist?

Standard deck board overhang is 3/4 inch to 1 inch beyond the outer rim joist, which provides a clean drip edge that prevents rainwater from running down the fascia board and rotting the framing below.

What is the maximum joist spacing for composite decking?

Perpendicular composite installations allow up to 16 inches on center, but diagonal 45-degree patterns require 12 inches on center to prevent structural sagging, bounce underfoot, and manufacturer warranty invalidation.

Does the calculator add an allowance to the linear footage?

The total linear decking figure includes a 5% trimming allowance. The tool multiplies the number of courses by the course length and by 1.05. The result is shown in linear feet under Imperial units or linear meters under Metric units. The cost estimate is based on the number of boards to buy, not on this linear figure.

How many screws does the calculator estimate?

The calculator estimates two corrosion-resistant screws at every joist crossing. It counts the joists beneath the deck, doubles that count for each board, and multiplies by the number of courses. The total screw count appears with an estimated weight in pounds and the number of 350-count buckets.