framercalc

Baluster spacing calculator

How many balusters fit between two posts and the equal gap between them, kept under the 4 in rule.

Baluster spacing

How many balusters fit between two posts, and the equal gap between them, so no gap is wider than the limit.

How it is worked out

With n balusters there are n + 1 gaps, so the gap = (space − n × width) ÷ (n + 1). The calculator takes the fewest balusters that keep that gap at or under the limit. The IRC (R312.1.3) does not allow a 4 in (102 mm) sphere to pass through, so the clear gap must be under 4 in; many builders aim for about 3.5 in to allow for movement.

How to use it

Measure the clear space between the posts, enter the width of a baluster and the largest gap you will allow (under 4 in for the code). The calculator gives the number of balusters and the equal gap. Mark the first baluster's centre from the post, then step along at the on-centre spacing.

Balusters for common post spacings

Space between postsBalusters (1.5 in wide, gap under 4 in)Gap (in)On centre (in)
36 in (3 ft)63.857 (3 7/8)5.357
48 in (4 ft)93.450 (3 7/16)4.950
60 in (5 ft)113.625 (3 5/8)5.125
72 in (6 ft)133.750 (3 3/4)5.250
84 in (7 ft)153.844 (3 7/8)5.344
96 in (8 ft)173.917 (3 15/16)5.417

The 4 inch rule

IRC R312.1.3 requires guards (needed where a deck or landing is more than 30 in above the ground) to stop a 4 in sphere from passing through. The triangle under the bottom rail of a stair guard may pass a 6 in sphere. Wood balusters shrink and bow, so builders often space them at about 3 1/2 in.

Code figures here are from the 2021 International Residential Code (IRC), which most US states and towns adopt, sometimes with changes. Check your local code and permit before you build, and use the span tables and an engineer for anything that carries a roof or floor load.