Deck Joist Spacing Calculator

Calculate optimal deck joist spacing and count for any deck size.
Supports metric and imperial measurements, with span tables guidance.

The dimension the joists are spaced along, measured parallel to the ledger board. This is what the spacing divides into.
How far each joist runs, out from the house. Optional, but it turns the count into a lumber order and lets the panel check your span against the table.
Number of Joists Needed

Deck joists are the horizontal framing members that support the decking boards. Correct joist spacing is critical for structural integrity, code compliance, and preventing deck flex or bounce underfoot.

Standard joist spacing options:

  • 12 inches (305 mm) on-center (OC): very stiff, required for exotic hardwoods and composite decking with long spans
  • 16 inches (406 mm) OC: the most common spacing, suitable for most decking materials
  • 24 inches (610 mm) OC: acceptable for thicker (2-inch) pressure-treated decking only

The formula for number of joists: Number of Joists = Ceiling(Deck Width ÷ Spacing) + 1

The “+1” is the fence-post rule: there is a joist at both ends of the run, not just at every interval between. The ceiling matters just as much, because 16 inches on center is a maximum, not a target. A 15 ft deck at 16 inches comes to 11.25 bays. Round down to 11 and every bay opens to 16.4 inches, which is over the decking’s rating. Round up to 12 bays, 13 joists, and they close to 15 inches.

On top of that count come the two rim joists that run perpendicular and close off the joist ends, so total members = joists + 2.

Span tables, maximum allowable joist spans:

Lumber Size Species (Hem-Fir / SPF) 12" OC Span 16" OC Span 24" OC Span
2×6 #2 or better 9’-9" (2.97m) 8’-9" (2.67m) 7’-0" (2.13m)
2×8 #2 or better 12’-10" (3.91m) 11’-7" (3.53m) 9’-5" (2.87m)
2×10 #2 or better 16’-5" (5.0m) 14’-9" (4.5m) 12’-1" (3.68m)
2×12 #2 or better 19’-10" (6.05m) 17’-9" (5.41m) 14’-7" (4.45m)

Metric equivalents:

  • 2×6 ≈ 38×140 mm
  • 2×8 ≈ 38×184 mm
  • 2×10 ≈ 38×235 mm
  • 2×12 ≈ 38×286 mm

Double joists: At butt joints in decking and at high-load areas (around stairs, hot tubs, or heavy planters), always double the joist or add blocking for additional support.

Blocking: Add blocking (perpendicular bridging between joists) every 8 feet (2.4 m) along the span to prevent joist rotation (twisting) and improve lateral rigidity.

Pressure treatment: All deck joists must be pressure-treated lumber rated for ground-contact (UC4B or UC4C in North America) when used near or in contact with soil, or rated UC3B when elevated and protected from direct soil contact.


How we build and check this calculator

This calculator runs entirely in your browser, so the numbers you enter stay on your device. The math behind it is written by hand and tested against worked examples and standard references before the page goes live.

SuperGlobalCalculator is independently built and maintained. See how we build and verify our calculators.


Embed This Calculator

Copy the code below and paste it into your website or blog.
The calculator will work directly on your page.