Skip to content
Material Guides
Stairs guide

Stair Baluster Spacing: Code Rules and How Many Balusters You Need

By Eren ŞimşirPublished Updated Editorial policy

Cover illustration for Stair Baluster Spacing: Code Rules and How Many Balusters You Need
Stair calculator
Cover illustration for this guideOpen Stair calculator →

To find how many balusters a rail section needs, divide the clear length between posts, minus your target opening, by the opening plus one baluster width, and round up: N = (L − C) ÷ (C + W). The balusters then split the rail into N + 1 equal openings. A 72 in section with 1 1/4 in balusters and a 3 3/4 in target opening needs 14 balusters, with openings of 3.63 in.

The 4-inch rule is about the gap, not the center spacing

The International Residential Code requires that guards do not allow a 4 in sphere to pass through any opening (IRC R312.1.3 in recent editions; some jurisdictions and older code editions differ, so confirm with your building department). The rule measures the clear opening between balusters, not the distance from center to center. Spacing balusters 4 in on center leaves openings of 4 in minus the baluster width, which is safe but wastes balusters. Spacing the openings at 4 in, by contrast, fails inspection once you account for the extra width the baluster itself adds to the center-to-center distance. Aim for a little under 4 in, such as 3 3/4 in, so small measuring and cutting errors do not push an opening over the limit.

On stairs, the balusters follow the slope of the rail, and the triangular gap between the bottom rail, a tread and a riser is allowed to be larger (the code permits a 6 in sphere there). Check your local code for the stair-specific limit before you buy.

Working Out the Baluster Count

Let L be the clear length between the two posts (or post and wall), W the baluster width and C the largest opening you will accept, all in inches.

  1. Number of balusters: N = (L − C) ÷ (C + W), rounded up to a whole number.
  2. Number of openings: N + 1, because a baluster is not set against the post at either end.
  3. Actual clear opening: A = (L − N × W) ÷ (N + 1). This is always at or below C because N was rounded up.
  4. On-center spacing: S = A + W. Use it to mark the center of each baluster.

Rounding up matters: rounding down gives openings larger than C, which is how DIY railings end up over 4 in.

Worked example: 72 in section, 1 1/4 in balusters

  1. N = (72 − 3.75) ÷ (3.75 + 1.25) = 68.25 ÷ 5 = 13.65, rounded up to 14 balusters.
  2. Openings: 14 + 1 = 15.
  3. A = (72 − 14 × 1.25) ÷ 15 = (72 − 17.5) ÷ 15 = 3.633 in, under 3 3/4 in.
  4. S = 3.633 + 1.25 = 4.883 in on center.

Baluster counts for common rail lengths

Target opening C = 3 3/4 in. Every row is computed with the formula above.

Rail length (L)Baluster width (W)Balusters (N)Openings (N + 1)Clear opening (A)On-center spacing (S)
36 in1.25 in783.406 in4.656 in
36 in1.5 in783.188 in4.688 in
48 in1.25 in9103.675 in4.925 in
48 in1.5 in9103.450 in4.950 in
60 in1.25 in12133.462 in4.712 in
60 in1.5 in11123.625 in5.125 in
72 in1.25 in14153.633 in4.883 in
72 in1.5 in13143.750 in5.250 in
96 in1.25 in19203.612 in4.862 in
96 in1.5 in18193.632 in5.132 in

Every opening in the table is at or under 3.75 in, so each leaves a margin below the 4 in limit.

A 7 ft 6 in Railing, Start to Finish

A deck stair railing section is 7 ft 6 in (90 in) long and uses 1 1/2 in balusters.

  1. N = (90 − 3.75) ÷ (3.75 + 1.5) = 86.25 ÷ 5.25 = 16.43, rounded up to 17 balusters.
  2. Openings: 17 + 1 = 18.
  3. A = (90 − 17 × 1.5) ÷ 18 = (90 − 25.5) ÷ 18 = 3.583 in.
  4. S = 3.583 + 1.5 = 5.083 in on center.

Buy 17 balusters plus a few spares for cutting mistakes. Set the first baluster so its edge is A from the post, then step off S for each one after. Dry-fit a few before fastening.

To lay out the stairs themselves, use the stair calculator. The rise and run guide covers the riser and tread limits, and how to calculate stair stringer length covers the stringer.

Sources

For related coverage, see our guide on Concrete for Solid Stairs: Cubic Yards and Bags by Number of Steps.