# Balusters on Stairs: Sloped Rails and Horizontal Gaps

> Stair baluster layouts must distinguish horizontal clear openings from spacing measured along a sloped rail. A slope changes the relationship between those…

Canonical: https://calcbrick.com/blog/balusters-on-stairs-sloped-rails-and-horizontal-gaps/
Last updated: 2026-10-17T06:46:23.193Z

By CalcBrick Editorial · 2 min read

## The short answer

Stair baluster layouts must distinguish horizontal clear openings from spacing measured along a sloped rail. A slope changes the relationship between those two distances.

## Name the direction used for spacing

For vertical balusters on a straight stair, center spacing along the rail projects to a shorter horizontal center spacing. If the rail angle to horizontal is θ, horizontal center spacing equals rail spacing multiplied by cos θ. Clear horizontal opening then subtracts the actual baluster width measured in the relevant plane. A stair guard also has triangular and other special openings that a simple repeated pattern does not check. Use applicable local requirements and the approved system detail; a decorative spacing formula is not a complete barrier-safety assessment.

## Worked example: thirty-degree sloped rail

Assume vertical balusters are 40 mm wide, with centers 120 mm apart measured along a straight rail at 30 degrees to horizontal. Their horizontal center spacing is 120 × cos 30°, approximately 103.923 mm. Subtracting the 40 mm width gives a horizontal clear gap of approximately 63.923 mm. If instead 120 mm was intended as horizontal center spacing, the distance along the rail would be 120 / cos 30°, approximately 138.564 mm. The two uses of '120 mm spacing' clearly describe different layouts.

## Boundary gaps can be the largest openings

A uniformly spaced middle pattern does not ensure acceptable gaps beside posts, above stair nosings or around the bottom rail. Measure each remaining opening in the direction required by the applicable test or code provision. Balusters can also be inclined or shaped, invalidating the vertical-rectangle simplification. AWC's deck resources illustrate why stairs and guards have separate detailed requirements; verify the rules actually adopted for the site. Do not choose a count solely by averaging all gaps if the resulting end openings differ from the repeating interior spaces.

## Use a drawn section for the final count

Record the actual post-to-post distance and rail angle from the design, then mark each baluster center and inspect edge conditions. The baluster tool can support an ordinary equal-spacing check, but its input convention must be matched to the stair's sloped geometry. Fasteners, railing strength and post attachment are separate structural matters. Recheck finished stair surfaces and rail positions before ordering precut parts. Keep the horizontal and along-rail dimensions labeled on the schedule so a correct calculation does not become a misread site measurement during installation.

## Common questions

### Is a 120 mm rail spacing also 120 mm horizontally?

Not on an inclined rail. At thirty degrees, its horizontal projection is approximately 103.923 mm.

### Does a small repeated gap prove the stair guard is compliant?

No. End gaps, triangular openings, guard strength, dimensions and local requirements need separate verification.

## References and calculation basis

Worked examples state their formulas and assumptions in the article. Linked CalcBrick tools support the related geometry or quantity checks; they do not independently calculate every product or budgeting example. Example dimensions and editable product values are assumptions, not manufacturer or engineering specifications. External references explain the specific product or technical context named below; they do not endorse this website or every illustrative input. External sources open in a new tab.

- [American Wood Council: deck construction resources](https://awc.org/topic/decks/)
- [Trex: product installation documents](https://www.trex.com/customer-support/trex-owners/downloads/)
- [NIST conversion factors](https://www.nist.gov/pml/special-publication-811/nist-guide-si-appendix-b-conversion-factors/nist-guide-si-appendix-b8)
- [Baluster Calculator: formula, inputs and limitations](https://calcbrick.com/calculators/baluster-calculator/)

## Related

- [Fence Pickets: Clear Gaps and Whole-Board Rounding](https://calcbrick.com/blog/fence-pickets-clear-gaps-and-whole-board-rounding/) - Fence picket counts depend on full board widths and the actual gap convention. Decide whether the pattern has outside margins before rounding to whole pickets.
- [Fence Gates: Remove Openings Before Counting Panels](https://calcbrick.com/blog/fence-gates-remove-openings-before-counting-panels/) - Fence gate openings must be removed from the panel runs before counting panels. Gate leaves, hinge posts and adjoining runs then need their own component…
- [Fence Post Caps: Count Posts, Not Fence Length](https://calcbrick.com/blog/fence-post-caps-count-posts-not-fence-length/) - Post caps are counted from the post schedule, not from fence length alone. Corners, gates and post sizes determine which compatible cap products belong in…
