Reviewed · Prices checked October 2026 · How we calculate

Baluster Calculator: How Many Balusters Do I Need?

Enter the span between posts, the baluster width and how many sections. You get the balusters per section and in all, the gap and the on-center spacing that keeps every gap under 4 in.

Inputs

Units
ft

Inside face to inside face.

in

A 2×2 is 1 1/2 in; metal balusters are often 3/4 in.

sections
$each

Shopping list

Updates as you type
52balusters

13 per 6 ft section × 4 sections, with gaps of 3 3/4 in: under the 4 in sphere the code allows, with room to spare.

Baluster details
Gap between balusters3 3/4 in
On-center spacing5 1/4 in (mark the first at 4 1/2 in from the post to its center)
Guard height (IRC R312.1.2)at least 36 in on a deck, 34 in along stairs; required where the deck is more than 30 in above grade
Balusters at your price—
Show the math
Span: 6 ft × 12 = 72 in13 balusters × 1.5 in = 19.5 in; 72 − 19.5 = 52.5 in ÷ 14 gaps = 3.750 in12 balusters would leave 4.15 in gaps, too wide

The price you type is used for this estimate only; it isn't saved.

How it works

The formula

gap = (span − balusters × width) ÷ (balusters + 1)
balusters = the fewest that make every gap 3 3/4 in or less
  • We plan gaps of at most 3 3/4 in, so small cutting errors or a board that moves still pass. The International Residential Code (R312.1.3, 2021 edition as adopted) says a 4 in sphere must not pass through a guard, so every gap is under 4 in. Along the open side of stairs it allows 4 3/8 in, and the triangle under the bottom rail at a stair can be up to 6 in.
  • Guards are required where a deck is more than 30 in above the ground, at least 36 in high (34 in along stairs).
  • A 2×2 is 1 1/2 in square, by the softwood lumber standard (PS 20); check the width of the balusters you buy.

Balusters per section by span

Balusters and gap by span between posts, for 1 1/2 in and 3/4 in balusters
Span1 1/2 in (2×2)3/4 in (metal)
4 ft9 (3 7/16 in gaps)10 (3 11/16 in gaps)
5 ft11 (3 5/8 in gaps)13 (3 9/16 in gaps)
6 ft13 (3 3/4 in gaps)16 (3 1/2 in gaps)
7 ft16 (3 1/2 in gaps)18 (3 11/16 in gaps)
8 ft18 (3 5/8 in gaps)21 (3 5/8 in gaps)
10 ft23 (3 9/16 in gaps)26 (3 3/4 in gaps)

Questions people ask

How many balusters per foot?

For 2×2 wood balusters, about 2.2 a foot: 13 in a 6 ft section. Thinner metal balusters need a few more, because each covers less of the gap.

What is the 4 inch rule?

Building codes don't let a 4 in ball pass through a railing anywhere, so a small child can't slip through. Plan gaps of 3 1/2 to 3 3/4 in so the finished railing still passes once boards shrink or shift.

How do I space balusters evenly?

Use the on-center spacing: mark the first baluster's center one gap plus half a baluster from the post, then step the on-center distance along the rail. A spacer block cut to the gap makes it quick.