Building codes in the U.S. (IRC R312.1.3) require that a 4-inch sphere cannot pass through a guard, so the clear gap between balusters must be under 4 in. Most builders aim for about 3½–3¾ in to allow for small errors. The number of balusters depends on the width of each baluster and the length of every section between posts.
How to use the Baluster Calculator
- Total railing length (between posts)
- Number of sections
- Baluster width
- Maximum gap
- Price per baluster
Results update as you type, and every field accepts the units shown in its menu.
How it works
Enter the total railing length, the number of sections between posts, the baluster width and the largest gap you will accept. The calculator finds the number of balusters per section so that the gap stays below the limit, then the exact gap you will lay out and the total cost.
Inputs explained
| Field | What to enter |
|---|---|
| Total railing length (between posts) | Units: ft, m, in, yd, cm |
| Number of sections | A number |
| Baluster width | Units: in, cm, mm, ft, m |
| Maximum gap | Units: in, cm, mm, ft, m |
| Price per baluster | Units: /piece |
What each result means
- Section length = [Total railing length (between posts)]÷[Number of sections]
- Balusters per section = ceil(([Section length] – [Maximum gap])÷([Baluster width] + [Maximum gap]))
- Total balusters = [Balusters per section]×[Number of sections]
- Actual gap = ([Section length] – [Balusters per section]×[Baluster width])÷([Balusters per section] + 1)
- On-centre spacing = [Actual gap] + [Baluster width]
- Cost of balusters = [Total balusters]×[Price per baluster]
Example values
How the main result changes when Total railing length changes and everything else stays at the example values above:
| Total railing length (between posts) (ft) | Total balusters |
|---|---|
| 12 | 28 |
| 18 | 40 |
| 24 | 56 |
| 30 | 68 |
| 36 | 80 |
| 48 | 108 |
Formula
Balusters per section = ceil((section length − gap) ÷ (baluster width + gap))
Actual gap = (section length − n × width) ÷ (n + 1)
Worked example
Inputs: Total railing length (between posts): 24 ft; Number of sections: 4; Baluster width: 1.5 in; Maximum gap: 3.75 in; Price per baluster: $4.5 /piece.
Results: Section length = 6 ft; Balusters per section = 14; Total balusters = 56; Actual gap = 3.4 in; On-centre spacing = 4.9 in; Cost of balusters = $252.00.
Key terms
- Baluster
- A vertical post (spindle) between the top and bottom rails of a guard.
Frequently asked questions
What is the maximum baluster spacing?
Under the IRC a 4-in sphere must not pass through, so gaps must be less than 4 in (102 mm). Many builders target 3½ in.
How many balusters per foot?
With 1½ in balusters and a 3½ in gap, about 2.4 balusters per foot of railing.
How many balusters for a 6-ft section?
With 1½ in balusters and a 4 in limit, 13 balusters give gaps of about 3.7 in.