Handrail Angle & Height Window Calculator
Enter horizontal distance and elevation for each measured nosing relative to the lowest one. Compare two candidate handrail angles at those stations. See whether one vertical placement keeps every sampled nose-to-top height inside the entered band, and calculate the full range of slopes that could work for the same measurements.
Compare straight handrail angles
Find the vertical placement that fits your measured nosings and your chosen height band.
Edit measured nosings, slopes and height limits
One horizontal run, elevation pair per line. Start at 0, 0 and list the nosings uphill.
Only Candidate A fits the measured height band.
5 measured nosings · 900 to 904 mm vertical height band
Candidate A · 30.9638°
Common datum available904 mm
Datum height above nosing 1
Lower bound from nosing 4 · upper bound from nosing 1
Candidate B · 31.1739°
Datum bounds cross1.25 mm gap
Minimum added height-band width at this slope
Lower bound from nosing 4 · upper bound from nosing 5
All feasible angles
30.9638°
Exact rise/run 3/5
Lower bound from nosings 1 and 4 · Upper bound from nosings 4 and 5
Inspect height above each nosing
Vertical height (mm)
Entered band 900 to 904 mm
Horizontal run from nosing 1
- Candidate A
- Candidate B
- Entered height band
Nosing 4 · 750 mm run
454 mm measured elevation
Candidate A · 900 mm above nosing
Inside the band · 904 mm plotted datum
Candidate B · 899.375 mm above nosing
Outside the band · 899.625 mm plotted datum
Review the exact datum ledger
| Candidate | Nosing | Run (mm) | Elevation (mm) | Vertical height (mm) | Allowed datum low (mm) | Allowed datum high (mm) | Inside band |
|---|---|---|---|---|---|---|---|
| A | 1 | 0 | 0 | 904 | 900 | 904 | Yes |
| A | 2 | 250 | 151 | 903 | 901 | 905 | Yes |
| A | 3 | 500 | 300 | 904 | 900 | 904 | Yes |
| A | 4 | 750 | 454 | 900 | 904 | 908 | Yes |
| A | 5 | 1000 | 600 | 904 | 900 | 904 | Yes |
| B | 1 | 0 | 0 | 7197/8 | 900 | 904 | No |
| B | 2 | 250 | 151 | 7199/8 | 3599/4 | 3615/4 | No |
| B | 3 | 500 | 300 | 7217/8 | 1795/2 | 1803/2 | Yes |
| B | 4 | 750 | 454 | 7195/8 | 3601/4 | 3617/4 | No |
| B | 5 | 1000 | 600 | 7237/8 | 895 | 899 | No |
How to use this calculator
- Measure each nosing’s horizontal run and vertical elevation from the lowest measured nosing. Enter one run, elevation pair per line, starting at 0, 0.
- Enter the vertical height band for the top gripping surface above every measured nosing. The example uses illustrative limits.
- Enter rise and run for two candidate rail slopes in millimeters. Each pair defines a slope independently of the measured stair length.
- Read the common datum windows and the inverse slope range. Inspect the chart and choose a nosing to see both candidates' plotted heights.
- Review the exact ledger or download all measured nosings and the corresponding datum constraints.
The Formula
The mathematical logic powering this calculation is:
At a nosing with horizontal run x and elevation y, a straight rail at slope m and datum b has vertical height b + mx − y. The first nosing is the origin, so b is the rail height above that nosing. For limits L and U, the datum must be in [L + y − mx, U + y − mx]. The common datum interval has lower endpoint max(L + y − mx) and upper endpoint min(U + y − mx). Equal endpoints allow one datum. The plotted datum is the midpoint of these endpoints. In a crossed interval, it splits the unavoidable gap equally between the extrema and cannot satisfy the whole band. The gap is the minimum extra total height-band width needed at the candidate slope if the datum is free. Ties identify the first limiting nosing.
The inverse slope interval uses every pair in ascending run order. For pair differences Δx > 0 and Δy, the condition is Δy − (U − L) ≤ mΔx ≤ Δy + (U − L). Intersect all pair intervals and the supported range 0 ≤ m ≤ 4. This is equivalent to requiring the residual span max(y − mx) − min(y − mx) to be at most U − L. Candidate slope is rise ÷ run and display angle is arctan(slope) in degrees. Rational comparisons and CSV are exact for entered decimals. Angle labels are rounded for display.
Enter 3–12 ordered pairs from 0 to 20,000 mm starting at 0, 0, with strictly increasing run and elevation. Candidate rise may be 0–20,000 mm and run 0.001–20,000 mm. Vertical height limits may be 0–3,000 mm. Use up to three decimal places per entry. The model reports sampled vertical geometry for one straight flight and leaves brackets, member length, attachments, extensions, clearances and compliance for separate review.Worked Example
If you input:
- Measured nosings (run, elevation): (0, 0), (250, 151), (500, 300), (750, 454), (1,000, 600) mm
- Entered height band: 900–904 mm
- Rail slopes (rise ÷ run): Candidate A 600 ÷ 1,000 and Candidate B 605 ÷ 1,000
Result:
Candidate A fits at a single 904 mm datum. The only feasible slope is 0.6, about 30.9638°. Candidate B has a 1.25 mm datum gap. Lowering the upper height to 903.999 mm eliminates every feasible slope for the same measurements.
Frequently Asked Questions
What does one allowed datum mean?
The tightest lower and upper permitted datums coincide. That exact placement puts every sampled height inside the entered band. A band of datums allows all placements between the endpoints.
How are the height and the rail angle measured?
Height is the vertical difference from the entered nosing to the top gripping surface at that horizontal station. Angle is measured from horizontal and calculated from rise divided by run.
How should I read a plotted candidate with a datum gap?
It is shown at the midpoint of its crossed bounds. The lowest and highest violations split the minimum gap evenly at that slope. Widening the band must account for the relevant edge limits.
Can a third angle fit when both candidates fail?
Yes, if the inverse slope interval is nonempty. Any angle in that interval has at least one common datum over the entered measurements.
Does the tool specify how to attach the handrail?
It calculates the sampled geometry for a straight flight using your height band. Attachment, load, continuity, returns and code requirements need their own checks.
Similar Calculators
Stair Layout Calculator
Compare straight and quarter-turn stair layouts by rise, going and available footprint. Explore riser counts and landing splits, solve a going that fits, and export scaled-layout coordinates.
Concrete Steps, Fill & Pour Cost Calculator
Calculate concrete for steps and a landing, deduct an authored fill core, inspect profile and plan diagrams, and compare whole bags with ready-mix order costs.
Deck Baluster Spacing Calculator
Plan deck baluster spacing from actual widths and post-to-post spans. Compare even and half ends, tape-rounded marks, clear gaps and cut quantities.
