A little context. A clearer answer.
When this calculator is useful
Round the piece count up first. The remaining span is then divided evenly among the gaps. For a related calculation, try Stair calculator: rise, going and pitch.
What to enter
| Input | What it means | Example value |
|---|---|---|
| Dimension unit | One unit for all dimensions and centre marks. | Millimetres |
| Clear span | Clear distance between the inside faces of the end posts. | 1,000 mm |
| Baluster width | Actual width of each baluster along the span. | 40 mm |
| Maximum clear gap | Largest permitted clear gap, including both end gaps. | 100 mm |
How the calculation works
- Find n = max(0, ceil((L − G)/(b + G))).
- Calculate equal gap (L − nb)/(n + 1).
- Mark the first centre at gap + b/2, then use spacing b + gap.
n = max(0, ceil((L − G)/(b + G))); gap = (L − nb)/(n + 1)A worked example
Equal clear gap · (1000 − 7 × 40) ÷ 8 = 90 mm → (1000 − 8 × 40) ÷ 9 ≈ 75.56 mm
Example you can load
What to enterThis is a fixed example; changing the form above does not change these numbers.
Assumptions & limits
Horizontal clear span with equal end gaps and identical widths. You supply the maximum gap; no building-code compliance is inferred. Limit: 10,000 balusters.
Frequently asked questions
Are the end gaps included?
Yes. There are n + 1 equal gaps for n balusters.
Why can the answer be zero?
If the whole clear span is no larger than the maximum gap, this geometric model needs no baluster.
Does this handle stairs or certify compliance?
No. It models a straight horizontal span and your chosen gap only.