Baluster Calculator

Calculate exactly how many balusters you need for your railing and determine the precise spacing between them. Enter your railing length, baluster width, and desired maximum spacing to get code-compliant results.

Total railing length between end posts

Width of each baluster

Building code maximum gap between balusters (typically 4 inches)

Number of Balusters = โŒˆ(Railing Length - Baluster Width) รท (Max Spacing + Baluster Width)โŒ‰
Actual Spacing = (Railing Length - Number ร— Baluster Width) รท (Number + 1)
Center Spacing = Railing Length รท (Number of Balusters + 1)
Example โ€” Railing: 96 inches, Balusters: 1.5 inches wide, Max gap: 4 inches:
Space per unit = 4 + 1.5 = 5.5 inches
Balusters = โŒˆ(96 - 1.5) รท 5.5โŒ‰ = โŒˆ17.18โŒ‰ = 18 balusters
Total baluster width = 18 ร— 1.5 = 27 inches
Total gap space = 96 - 27 = 69 inches
19 gaps ร— 3.632 inches each = 69 inches
Result: 18 balusters at 3.63 inch spacing

How do building codes affect baluster spacing?

Most building codes (IRC R312, IBC 1015) require that the space between balusters does not exceed 4 inches (102 mm). This is to prevent a 4-inch sphere from passing through, which protects children from getting their heads stuck. Some areas may have different requirements - always check local codes. For commercial buildings, the requirement may be more strict at 4-inch maximum spacing measured at the narrowest point between balusters.

What is the difference between balusters, spindles, and pickets?

While often used interchangeably, balusters are the vertical posts that support the handrail in a railing system. Spindles typically refer to turned or decorative balusters commonly used in staircases. Pickets are vertical members in fencing rather than railing. All serve similar functions but may have different style characteristics. The calculation method for spacing them evenly is the same regardless of terminology.

Should I space balusters differently on stairs versus decks?

The 4-inch maximum spacing rule applies to both stairs and decks/landings. However, on stairs, balusters are typically installed at an angle following the stair slope. The horizontal measurement between balusters on stairs is what matters for code compliance - the diagonal spacing along the stair angle will be slightly larger. For stairs, measure the horizontal gap at the tread level to ensure code compliance.

How do I center the balusters evenly across my railing?

To center balusters evenly: First, install end posts. Measure the total railing length between posts. Add one baluster width to this length. Divide by the total number of balusters plus one. This gives you the center-to-center spacing. Subtract the baluster width to get the clear opening space. Always dry-lay a few balusters to verify spacing before final installation.