Baluster Spacing Calculator

Work out how many balusters fit an opening and the even gap between them, so that no gap is wider than the usual code limit. Works in inches or millimetres.

1 Fill in the boxes

2 Your answer

Your answer shows here as you type.

How to use the Baluster Spacing Calculator

  1. Choose inches or millimetres.
  2. Enter the opening length between the posts or the ends of the rail.
  3. Enter the baluster width or diameter.
  4. Leave the maximum gap blank to use the usual code limit, or type your own limit.

Frequently asked questions

How do you space balusters evenly?

Count one more gap than there are balusters, because there is a gap at each end. Gap = (opening length − number of balusters × baluster width) ÷ (number of balusters + 1).

What is the maximum gap between balusters?

Many US codes follow a 4-inch sphere rule (IRC R312.1.3), so a 4-inch sphere cannot pass through. UK guidance commonly uses 100 mm. Check your local building code before you build.

What is centre-to-centre spacing?

It is the distance from the centre of one baluster to the centre of the next. It equals the baluster width plus the gap.

Why is the gap not exactly the maximum?

The number of balusters is rounded up to the next whole number so that every gap stays within the limit, which makes the actual gap a little smaller than the maximum.

Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.