Baluster & Spindle Spacing Calculator

Enter the clear opening between railing posts and your spindle width to get even spacing under the US 4-inch IRC sphere rule, plus cumulative tape-measure marks to lay out every baluster without compounding errors.

IRC 4" Sphere Rule: PASS 1/16" Tape-Measure Fractions Print-Ready Layout Sheet

Railing Section Measurements

Center Symmetry Mode
In-Content Display (728×250)

Pre-Calculated US Railing Section Layouts

Jump straight to a ready-made wood vs. aluminum vs. composite spindle sheet for standard US railing bay lengths:

How Baluster Spacing Math Works

To keep every opening identical—including the first and last spaces next to the newel posts—there is always one more gap than the number of balusters (N + 1 gaps for N balusters).

Minimum Balusters N = Ceiling((Clear Opening − Max Gap) ÷ (Baluster Width + Max Gap))
Actual Clear Gap = (Clear Opening − N × Baluster Width) ÷ (N + 1)
On-Center Pitch = Actual Clear Gap + Baluster Width
Baluster #k Left Mark = (k × Actual Clear Gap) + ((k − 1) × Baluster Width)

Quick Tips for Passing Deck Inspection

  • Use 3-7/8" as your max gap for fresh pressure-treated wood: Wet 2×2 spindles shrink slightly as they dry, which can widen a 3-15/16" gap past the 4-inch inspector sphere.
  • Measure the actual rail length, not nominal post centers: A 6-foot railing kit between nominal 4×4 posts (3.5" actual) has a clear opening closer to 68.5", not 72".
  • Stair railings follow a separate triangle rule: Along stair treads, IRC R312.2.1 permits a 6-inch sphere in the triangular opening formed by the riser, tread, and bottom rail, while spacing between balusters remains stricter (check local code).
Building Code & Estimation Notice: Most US jurisdictions following the International Residential Code (IRC R312.2.1) require guard openings to prevent passage of a 4-inch-diameter sphere. Verify local stair and guard rules before cutting. Read full disclaimer →

Related Outdoor Carpentry Calculators