Stair Stringer Calculator
Enter the total rise and a tread depth to get a uniform-riser layout, the pitch-line stringer length, and a comparison with 2021 IRC residential stair limits. Results update as you type.
Formula
Let H be the total rise and Rmax the maximum riser you entered. The default riser count is the smallest whole number n such that H ÷ n ≤ Rmax, which is n = ceil(H / Rmax). Actual riser height is then r = H / n.
For a stair that ends on an upper landing or deck, the number of treads is n − 1, because that landing is the last stepping surface and is not a cut tread. Total run is (n − 1) × tread depth. The pitch-line length used to size a stringer is the hypotenuse: √(H² + total run²). The angle is arctan(r / tread depth).
The default example is a 96 in (8 ft) total rise, a 7.75 in maximum riser, and a 10 in tread: 13 risers at about 7.385 in, 12 treads, a 120 in total run, and a pitch-line length of about 153.675 in (12 ft 9.675 in), at about 36.45°.
2021 IRC limits used in the checks
| Topic | 2021 IRC model-code figure | Section |
|---|---|---|
| Maximum riser height | 7¾ in (196 mm) | R311.7.5.1 |
| Minimum tread depth | 10 in (254 mm) | R311.7.5.2 |
| Riser or tread variation in a flight | ⅜ in (9.5 mm) maximum | R311.7.5.1, R311.7.5.2 |
| Nosing projection, treads under 11 in | ¾ in to 1¼ in | R311.7.5.3 |
| Maximum vertical rise between landings | 12 ft 7 in (151 in) | R311.7.3 |
| Minimum width | 36 in | R311.7.1 |
| Minimum headroom | 6 ft 8 in | R311.7.2 |
| Handrail required | At least one side, flights with four or more risers | R311.7.8 |
| Handrail height | 34–38 in, from the nosing plane | R311.7.8.1 |
These are 2021 IRC residential model-code figures, not a local adoption and not the International Building Code, which uses different commercial limits (commonly a 7 in riser and 11 in tread). Headroom and width are listed for reference; this calculator does not invent a headroom or remaining-throat check from the stringer size.
Sources
- 2021 International Residential Code (IRC), Sections R311.7 (stairways), R312 (guards), and R507 (exterior decks), including Tables R507.5(1), R507.5(5), and R507.6. The IRC is published by the International Code Council; the figures on these pages are the model-code values as printed in that edition.
- Public municipal extracts of the same 2021 IRC text, used to confirm section numbers and table cells: Town of Easton, Maryland, Typical Deck Details Based on the 2021 International Residential Code, and City of Venus, Texas, 2021 deck-code excerpt (Table R507.6).
- American Wood Council, Prescriptive Residential Wood Deck Construction Guide (DCA 6), as complementary commentary on IRC deck provisions. Use the edition that matches the adopted IRC, and read the code table rather than a marketing summary.
Disclaimer: These pages are planning tools and code-chart extracts only. They are not a substitute for the adopted building code, a local amendment, a permit review, or a licensed designer or engineer. The International Residential Code is a model code: it has legal force only where a jurisdiction adopts it, and many places amend individual limits. Approved Document K is guidance for meeting the Building Regulations in England; other UK nations use different documents. Stair Deck Reference does not inspect sites, approve drawings, or sign off construction.