What the baluster calculator works out
Balusters are the upright pieces between the top and bottom rail of a railing. This calculator takes the space between two posts and gives you the number of balusters, a gap that is the same everywhere, and a mark for each baluster measured from one post.
Why even spacing takes a calculation
If you set the first baluster and work along with a spacer block, the last gap is whatever is left over, and it rarely matches. A gap that is too wide fails the building code. A gap that is too narrow at one end is the first thing people notice. Working it out first makes every gap equal and under the limit.
Where to measure for balusters
Measure between the inside faces of the two posts, at the height of the rail. Measure each section on its own, because posts are seldom the same distance apart. Measure the width of one of your balusters too. A board sold as a 2x2 is 1 1/2 inches wide.
How baluster spacing is calculated
The calculator finds the fewest balusters that keep every gap under your limit, then shares the leftover space equally. There is one more gap than there are balusters.
Balusters = (space − limit) ÷ (baluster width + limit), rounded up
Gap = (space − balusters × width) ÷ (balusters + 1)
Worked example
Posts 72 inches apart, with 1 1/2 inch balusters and a 4 inch limit: (72 − 4) ÷ 5 1/2 = 12.4, so you need 13 balusters. They take up 19 1/2 inches. The 52 1/2 inches left over is shared between 14 gaps, which makes each gap 3 3/4 inches. The first baluster starts 3 3/4 inches from the post and the next one 5 1/4 inches after that.
Good to know
- This is for a level railing. On a stair the gap is measured level, and the limit on the open side is 4 3/8 inches.
- The gap between the bottom rail and the deck must also stop a 4 inch ball.
- Metal, cable and glass railing kits come with their own spacing. Follow the maker's instructions for those.