Handrail Length Calculator
Enter the stair run, rise and any extensions.
Result
How it is calculated
A stair rail follows the sloping line from the first nosing to the last, which is the hypotenuse of a right triangle made by the total run and total rise. slope length = √(run² + rise²), total handrail = slope length + top extension + bottom extension, and angle = arctan(rise ÷ run) in degrees. Run is the total horizontal distance of the stair, rise is the total vertical height, and both must be in the same unit. The result is in that same unit, with three decimals, since the tool does not convert anything. Top and bottom extensions are optional and count as 0 when empty; they are simply added to the slope length. Run must be above zero. The tool does not enforce any building code rule on extension length or rail height, so confirm those separately.
Worked example
A stair has a total run of 120 in and a total rise of 105 in, with 12 in extensions at the top and bottom. Slope length: √(120² + 105²) = √(14,400 + 11,025) = √25,425 = 159.452 in. Add the extensions: 159.452 + 12 + 12 = 183.452 in of rail. Angle: arctan(105 ÷ 120) = arctan(0.875) = 41.19°. Without the extensions the rail would be only 159.452 in, so a rail cut to the slope length alone would be 24 in short.
Common mistakes
- Using one number for run in inches and another for rise in feet or millimetres. Both must be the same unit or the slope length is meaningless.
- Entering the length of the stair run measured along the slope as the run. The run must be the horizontal distance.
- Entering the riser height of one step instead of the total rise, or one tread depth instead of the total run.
- Forgetting the extensions at either end, which makes the rail too short to reach the landing or the post.
- Ordering material at exactly this length. Cuts at the angle of the slope, waste and fittings mean you should add some extra.
About this calculator
A sloped stair handrail's total length isn't just the horizontal run or vertical rise — it's the hypotenuse along the slope, found with the Pythagorean relationship √(run² + rise²), plus any horizontal extensions required at the top and bottom landings for code compliance and graspability. This calculator computes that sloped length, adds your specified top and bottom extensions, and reports the slope angle (arctan of rise over run) that the rail — and its wall brackets — will need to be cut and mounted at.
Stair builders, finish carpenters and code inspectors use this calculation because most building codes (like the IRC in the US) require handrail extensions of roughly one tread depth at the top and bottom of a stair run, specifically so a hand can find secure support before the first step and after the last one — getting the sloped length and angle right the first time avoids re-cutting an expensive hardwood or metal rail, since the cut angle at each end must match the slope precisely to seat flush against the newel post or wall bracket.
Was this helpful?
You can pick up to 3 reactions.
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
- Loan Calculator
- Profit Calculator
- Discount Calculator
- BMI Calculator
- Percentage Calculator
- Ideal Weight Calculator
- Age Calculator
- Pregnancy Due Date Calculator
- Compound Interest Calculator
- BMR Calculator (Basal Metabolic Rate)
- Tip Calculator
- Fuel Cost Calculator
- Date Difference Calculator
- Sleep Cycle Calculator
- Daily Water Intake Calculator
- Simple Interest Calculator
- Heart Rate Zones Calculator
- Running Pace Calculator
- Pet Age Calculator
- Calories Burned Calculator
- Macro Calculator
- TDEE Calculator (Total Daily Energy Expenditure)
- Waist-to-Hip Ratio Calculator
- Honor Roll Calculator
- One Rep Max (1RM) Calculator
- Ovulation Calculator
- Electricity Cost Calculator
- Unit Price Calculator
- Savings Goal Calculator
- Break-Even Point Calculator
- Paint Calculator
- Course Grade Average Calculator
- Business Days Calculator
- Time Duration Calculator
- Fuel Economy Calculator
- Temperature Converter
- Tile Calculator
- Aspect Ratio Calculator
- Roman Numeral Converter
- Goal Weight Timeline Calculator
- Salary Converter (Hourly to Annual)
- Credit Card Validator (Luhn)
- Body Surface Area (BSA) Calculator
- Feels-Like Temperature Calculator
- Ohm’s Law Calculator
- PPI (Pixel Density) Calculator
- Molar Mass Calculator
- Zodiac Sign Calculator (Western + Chinese)
- IBAN Validator
- Shoe Size Converter
- Country Info & Dialing Code Lookup
- Time Zone Difference (World Clock)
- CAGR (Compound Annual Growth Rate) Calculator
- Rule of 72 Calculator
- Blood Alcohol Content (BAC) Calculator
- Lean Body Mass (LBM) Calculator
- Pythagorean Theorem Calculator
- Speed Converter
- Download Time Calculator
- Date Calculator (Add/Subtract)
No calculators found
Comments