What Is the Handrail Calculator?
The handrail is the one part of a staircase people actually touch, and on the day someone stumbles, it is the only thing between a scare and an injury. Code treats it with matching seriousness: the IRC requires a handrail on any stair with four or more risers, sets its height at 34 to 38 inches above the tread nosings, demands a profile a hand can actually grip, and insists the rail run continuously, including extensions past the top and bottom steps. This free handrail calculator turns those rules into a cut list. Enter your stair dimensions and it works out the sloped rail length for straight runs, the baluster count and spacing that satisfy the 4 inch sphere rule, newel post positions, bracket spacing for wall-mounted rails, and the extension lengths at each end. It also checks graspability, because a chunky 2x4 cap that looks like a handrail but cannot be gripped fails both the code and the purpose. Whether you are installing a simple wall rail in a basement stair or laying out a full railing system with balusters and newels for an open stair, the numbers below keep the result safe, legal, and comfortable to hold.
How to Use This Calculator
- Enter the stair dimensions: total rise, total run, and number of steps. The calculator derives the slope length the rail must cover from nosing to nosing.
- Decide wall-mounted rail, open-side railing, or both. A wall rail needs brackets and blocking; an open side needs balusters or panels plus a guard-height rail and newel posts.
- Set the rail height at 34 to 38 inches, measured vertically from the tread nosing line. The calculator projects this height along the slope so the rail stays parallel to the stair.
- Choose a graspable profile: a circular section 1-1/4 to 2 inches in diameter, or a non-circular shape with an equivalent gripping perimeter. Flat wide caps look substantial but fail the graspability requirement.
- Space wall-rail brackets no more than about 48 inches apart, each one fastened into a stud or solid blocking, never into drywall alone. The rail must not flex or pull away under a sudden grab.