>
CalculatorsCodesCombinationsGuidesFAQFree tools
Calculator

Baluster spacing calculator

Space balusters so a 4-inch sphere cannot pass. Enter your rail length and baluster width to get the count and exact gap.

Baluster spacing calculator
in
in
Baluster layout
Balusters
Clear gap
Spacing o.c.
Gaps

The 4-inch sphere rule

Building codes require that a 4-inch sphere cannot pass between balusters, to protect small children. This calculator finds the smallest number of evenly spaced balusters that keeps every clear gap under 4 inches for your rail length and baluster width.

clear gap = (rail length − n × baluster width) / (n + 1)
increase n until clear gap < 4"

Frequently asked questions

What is the 4-inch sphere rule?

Codes require that a 4-inch sphere cannot pass through the gap between balusters, anywhere on a guard or stair rail, to prevent a child from slipping through.

How do I calculate baluster spacing?

Divide the rail into equal gaps so each clear opening is under 4 inches. For n balusters there are n+1 gaps; the clear gap is the rail length minus the total baluster width, divided by the number of gaps.

What is the standard baluster width?

Metal balusters are commonly 0.5 to 0.75 inches; wood balusters are often 1.25 inches. Wider balusters need slightly fewer pieces for the same rail.