How to use the baluster calculator
- Measure the clear space between the two posts.
- Pick the baluster width — 1 1/2" for 2×2 wood, 3/4" for most metal.
- Read the count and gap, then mark the centres from the layout table.
The spacing formula
Gap = (opening − n × baluster width) ÷ (n + 1)
The calculator takes the smallest number of balusters n that brings the gap under the limit, so every gap is equal and the balusters at each end sit one gap from the posts. For stairs, measure the space between posts along the rail.
Building the deck too? See the deck calculator and the stair calculator.