Handrail Length
Sloped length from run and rise plus horizontal landing rail.
About this calculator
This calculator uses the Pythagorean theorem to find the sloped handrail length from a stair flight's total run and rise, then adds a separate horizontal landing rail extension. At this calculator's default dimensions, Total run (in) has a somewhat larger effect on Sloped than Total rise (in) does -- with a longer run than rise in a typical stairway, a given percentage change in run shifts the hypotenuse by more than the same percentage change in rise, though both inputs genuinely move the result since Sloped is the square root of the sum of their squares. Landing rail (in), by contrast, has no effect whatsoever on Sloped -- it is added separately, only after the sloped length is calculated, to produce the Total figure.
This distinction matters when ordering material: Sloped tells you how much rail to cut at an angle to follow the stair pitch, while Total tells you the full length to purchase including any straight horizontal run at a landing. This is a straight-line geometric estimate -- it doesn't account for rail fittings, wall-mounted bracket spacing, or code-required rail height and graspability requirements, which vary by jurisdiction.
Inputs
Results
Sloped
170.6 in
≈ 3 adult heights
How to Use This Calculator
- Measure the total horizontal run of the stair flight in inches.
- Measure the total vertical rise in inches (floor to floor height for the flight).
- Enter the horizontal landing rail length in inches if a top or bottom landing extension is required.
- Read the sloped handrail length in inches and the total with landing extension to determine your rail material length.
How the result changes with Total run (in)
| Total run (in) | Sloped |
|---|---|
| 66 | 126.6 in |
| 99 | 146.5 in |
| 198 | 225.5 in |
| 330 | 347.2 in |
What each input means
- Total run (in)
- Total horizontal distance of the stair flight in inches, measured from first to last riser.
- Total rise (in)
- Total vertical height of the stair flight in inches, from bottom floor to top floor.
- Landing rail (in)
- Additional horizontal rail extension at the top or bottom landing. Code often requires 12 inches minimum.
How this is calculated
Worked example, using the default values
- Identify Input ParametersTotal run (in) = 132, Total rise (in) = 108, Landing rail (in) = 36 = 3 input(s) provided
- Calculate SlopedSloped170.6 = 170.6
Engine last updated . Checked against 2 independently-derived tests — how we verify calculators. Built by Paul Gunder, a software engineer, not a licensed financial, medical, or legal professional.
Frequently Asked Questions
Does the stair's run or its rise have a bigger effect on handrail length?
At this calculator's default proportions (a longer run than rise, typical of most stairways), Total run (in) moves Sloped by a somewhat larger percentage than an equivalent change in Total rise (in) does. Both inputs genuinely affect the result, since Sloped comes from the Pythagorean theorem applied to both dimensions together.
Does the landing rail length affect the sloped handrail length?
No -- Landing rail (in) is added on separately, after Sloped is already calculated from run and rise alone, to produce the Total figure. Changing the landing rail input has zero effect on the Sloped output; it only affects Total.
Why are there two different length outputs instead of just one?
Sloped gives the angled rail length that follows the stair pitch itself, which is what you need to order pre-angled rail sections or cut stock to the correct slope. Total adds the horizontal landing extension on top of that, giving the full length to purchase when a landing run is also required.
How is the sloped rail length actually calculated?
The calculator applies the Pythagorean theorem, treating Total run (in) and Total rise (in) as the two legs of a right triangle and finding Sloped as the hypotenuse -- the straight-line distance a handrail would travel following the pitch of the stairs.
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
Anchor Embedment
Illustrative tension embedment — verify with ICC-ES data.
MasonryCMU Block Count
Stretcher face area with 5% waste; rough mortar bags.
Accessibility & ADAWheelchair Ramp Calculator
Calculate ADA-compliant wheelchair ramp length, landings, and handrail requirements based on rise height.
Finish CarpentryBaseboard Calculator
Linear footage from room perimeter minus door openings.
Finish CarpentryCrown Molding Calculator
Linear feet and miter angles for rooms with corners.
More in Construction & Building Trades.