How the calculation works
Risers = ceiling(total rise ÷ maximum riser). Actual riser = total rise ÷ risers. Separate treads = risers − 1. Run(ft) = treads × tread depth(in) ÷ 12. Full-rise diagonal envelope(ft) = √((rise(in)/12)² + run(ft)²); this is not a stringer cut length.
Start with the finished elevations
Measure vertically between the finished lower floor and finished upper landing. A measurement from unfinished framing can change once flooring is added. Write down which surfaces were measured before choosing a riser count. This tool assumes a single straight flight ending at an upper landing, with one fewer separate tread than risers. Other arrangements need a layout that represents their actual landings and flights.
Why the riser count rounds upward
Dividing total rise by the chosen maximum riser gives the smallest possible count under that numerical limit. A fractional count must round up. The calculator then divides total rise by the whole count so all modeled risers are equal. It does not simply use the maximum height repeatedly and leave the final step to absorb a remainder. That shortcut would produce a different final riser.
Treat the code defaults as a named reference
The default maximum of 7¾ inches and tread depth of 10 inches reference 2021 IRC R311.7.5.1 and R311.7.5.2. They are not a claim about the edition adopted in your area. Confirm local requirements and amendments before designing a stair. Changing these fields changes only the geometry; the form does not run a complete code-compliance review.
Allow space for the whole assembly
Horizontal run uses the modeled number of treads and their entered depth. Check that space against doors, landings, and the actual plan. The displayed stringer diagonal envelope combines the full rise and modeled run as a geometric envelope. It is not a stringer cut length: end conditions, tread thickness, nosings, attachments, and the definition of the layout line must be resolved on a proper stair drawing.
What this estimate cannot settle
Headroom, stair width, guards, handrails, openings, landings, and structural capacity are outside the calculation. It also does not check the consistency of an existing stair built from field measurements. Consult your local building department and a qualified designer or builder before construction. Avoid choosing an unsafe measurement simply because a numerical input can be accepted by the calculator.
Worked example
The default total rise is divided by the reference maximum to choose a whole riser count. The actual height is recalculated from that count, and the upper floor serves as the landing. The example output includes both the horizontal footprint and the explicitly labeled diagonal envelope.
Example inputs — Total finished floor-to-floor rise: 108 in; Maximum riser — 2021 IRC reference, verify locally: 7.75 in; Tread depth — verify local requirements: 10 in.
Calculated example
- Risers
- 14
- Actual riser height (in)
- 7.7143
- Separate treads (upper floor is landing)
- 13
- Horizontal run (ft)
- 10.8333
- Full-rise diagonal envelope (ft, not cut length)
- 14.0841
Frequently asked questions
Why are there fewer treads than risers?
In this model the upper floor is the final landing. You climb the final riser onto that floor rather than onto another separate tread. A different arrangement needs its own layout.
Is the diagonal a stringer shopping length?
No. It is a simplified envelope only. A buildable stringer requires correct layout references, end cuts, bearing and fastening details, and an appropriate structural design.
Does an accepted input mean the stair meets code?
No. The calculator accepts positive geometry inputs to help explore a layout. It does not certify legal limits, safe proportions, or compliance with any adopted building code.
Sources and scope
- International Code Council — 2021 IRC, Chapter 3, R311.7 — Historical reference edition: R311.7.5.1 maximum 7¾-inch riser; R311.7.5.2 minimum 10-inch tread. Local adoption and amendments govern. Accessed 2026-11-20.
- NIST Guide to the SI — Appendix B.8: Conversion Factors — Length, area, volume, and mass conversion definitions. Accessed 2026-11-20.