Stair stringer calculator
Enter the total rise from finished floor to finished floor. Example: a 108 in (9 ft) rise ÷ the IRC's 7 3/4 in maximum riser = 13.94, so you need 14 risers of 108 ÷ 14 = 7.71 in (about 7 11/16 in). That makes 13 treads; at 10 in each the total run is 130 in (10 ft 10 in), the stringer runs √(108² + 130²) = 169.01 in (14 ft 1 in) along the nosings, and the stair is 37.6° steep. Every result is checked against the 2021 International Residential Code.
How to use this calculator · what to enter and what the result means
–
How the calculator works
The number of risers is the total rise divided by the maximum riser height, rounded up, so no riser is taller than the limit (or the number you enter). Dividing the total rise by that whole number gives equal risers, which keeps every riser within the code's 3/8 in variation. There is one tread fewer than risers. The total run is the treads × the tread depth (or, if you start from the run you have, the tread depth is the run ÷ the treads). The stringer length is the diagonal along the nosings, √(total rise² + total run²), and the angle is arctan(riser ÷ tread). The board you cut the stringer from must be longer than this diagonal, to leave room for the cuts at the top and bottom.
Checks use the inch figures in the code (7 3/4 in riser, 10 in tread, 3/4–1 1/4 in nosing, 36 in width, 12 ft 7 in rise per flight); the millimetres in brackets are the code's own rounded conversions. Metric uses 1 in = 2.54 cm exactly.
IRC stair limits used
From the 2021 International Residential Code, Section R311.7 Stairways (ICC Digital Codes). The 2024 IRC keeps the same limits under Section R318.7.
| Limit | Code text (2021 IRC) | Section |
|---|---|---|
| Riser height | “The riser height shall be not more than 7 3/4 inches (196 mm).” | R311.7.5.1 |
| Riser variation | “The greatest riser height within any flight of stairs shall not exceed the smallest by more than 3/8 inch (9.5 mm).” | R311.7.5.1 |
| Tread depth | “The tread depth shall be not less than 10 inches (254 mm).” It is “measured horizontally between the vertical planes of the foremost projection of adjacent treads”. | R311.7.5.2 |
| Tread variation | “The greatest tread depth within any flight of stairs shall not exceed the smallest by more than 3/8 inch (9.5 mm).” | R311.7.5.2 |
| Nosing | “A nosing projection not less than 3/4 inch (19 mm) and not more than 1 1/4 inches (32 mm) shall be provided on stairways.” Exception: “A nosing projection is not required where the tread depth is not less than 11 inches (279 mm).” | R311.7.5.3 |
| Width | “Stairways shall be not less than 36 inches (914 mm) in clear width at all points above the permitted handrail height and below the required headroom height.” At and below the handrail: “not less than 31 1/2 inches (787 mm) where a handrail is installed on one side and 27 inches (698 mm) where handrails are installed on both sides.” | R311.7.1 |
| Headroom | “The headroom in stairways shall be not less than 6 feet 8 inches (2032 mm) measured vertically from the sloped line adjoining the tread nosing or from the floor surface of the landing or platform on that portion of the stairway.” | R311.7.2 |
| Rise of one flight | “A flight of stairs shall not have a vertical rise greater than 12 feet 7 inches (3835 mm) between floor levels or landings.” | R311.7.3 |
| Landings | “There shall be a floor or landing at the top and bottom of each stairway.” “Where the stairway has a straight run, the depth in the direction of travel shall be not less than 36 inches (914 mm).” | R311.7.6 |
| Handrails | “Handrails shall be provided on not less than one side of each flight of stairs with four or more risers.” Height “not less than 34 inches (864 mm) and not more than 38 inches (965 mm)”, measured from the sloped plane adjoining the tread nosing. | R311.7.8, R311.7.8.1 |
| Floor coverings | “For the purposes of this section, dimensions and dimensioned surfaces shall be exclusive of carpets, rugs or runners.” | R311.7.5 |
The section applies “where required by this code or provided”, except stairways not within or serving a building, porch or deck, and stairways leading to nonhabitable attics or crawl spaces. Spiral stairs, winders, alternating tread devices and ship's ladders have their own rules in the same section and are not covered by this calculator. In the 2024 IRC the nosing section adds an exception allowing more than 1 1/4 in of nosing where risers are open.
Your city or county may have adopted a different edition of the IRC, or its own amendments. Check with your local building department before you build; its code and inspector have the final word.
Risers and run for common total rises
| Total rise | Risers | Riser height | Treads | Run at 10 in | Run at 11 in | Stringer at 10 in |
|---|---|---|---|---|---|---|
| 24 in (2 ft 0 in) | 4 | 6.00 in (≈ 6) | 3 | 30 in | 33 in | 38.42 in |
| 36 in (3 ft 0 in) | 5 | 7.20 in (≈ 7 3/16) | 4 | 40 in | 44 in | 53.81 in |
| 48 in (4 ft 0 in) | 7 | 6.86 in (≈ 6 7/8) | 6 | 60 in | 66 in | 76.84 in |
| 60 in (5 ft 0 in) | 8 | 7.50 in (≈ 7 1/2) | 7 | 70 in | 77 in | 92.20 in |
| 72 in (6 ft 0 in) | 10 | 7.20 in (≈ 7 3/16) | 9 | 90 in | 99 in | 115.26 in |
| 84 in (7 ft 0 in) | 11 | 7.64 in (≈ 7 5/8) | 10 | 100 in | 110 in | 130.60 in |
| 96 in (8 ft 0 in) | 13 | 7.38 in (≈ 7 3/8) | 12 | 120 in | 132 in | 153.67 in |
| 102 in (8 ft 6 in) | 14 | 7.29 in (≈ 7 5/16) | 13 | 130 in | 143 in | 165.24 in |
| 105 in (8 ft 9 in) | 14 | 7.50 in (≈ 7 1/2) | 13 | 130 in | 143 in | 167.11 in |
| 108 in (9 ft 0 in) | 14 | 7.71 in (≈ 7 11/16) | 13 | 130 in | 143 in | 169.01 in |
| 114 in (9 ft 6 in) | 15 | 7.60 in (≈ 7 5/8) | 14 | 140 in | 154 in | 180.54 in |
| 120 in (10 ft 0 in) | 16 | 7.50 in (≈ 7 1/2) | 15 | 150 in | 165 in | 192.09 in |
| 132 in (11 ft 0 in) | 18 | 7.33 in (≈ 7 5/16) | 17 | 170 in | 187 in | 215.23 in |
| 144 in (12 ft 0 in) | 19 | 7.58 in (≈ 7 9/16) | 18 | 180 in | 198 in | 230.51 in |
| 151 in (12 ft 7 in) | 20 | 7.55 in (≈ 7 9/16) | 19 | 190 in | 209 in | 242.70 in |
Fewest risers at the IRC maximum of 7 3/4 in; risers all equal; treads = risers − 1. Runs are for that number of treads at 10 in (the IRC minimum) and 11 in (the depth at which the IRC no longer requires a nosing). Stringer length is the diagonal along the nosings for 10 in treads. 151 in (12 ft 7 in) is the most one flight may rise.
Before you cut
- Measure to the finished floors. The code measures riser height between the leading edges of adjacent treads and leaves out carpets, rugs and runners (R311.7.5). If a floor finish will be added at the top or bottom later, include its thickness in the total rise, or the first or last riser will differ from the others by more than the 3/8 in the code allows.
- Plan the landing and the headroom. A floor or landing is needed at the top and bottom, at least 36 in deep for a straight stair (R311.7.6; an interior stair may skip the top landing if no door swings over the stairs). Check that every point along the nosing line has 6 ft 8 in clear above it, which sets how long the floor opening above the stair must be (R311.7.2).
- Long rises need a landing. One flight may rise at most 12 ft 7 in (R311.7.3). For more, split the stair with a landing and run the calculator for each flight.
- Deck and porch stairs count too. Section R311.7 covers stairways serving a building, porch or deck, so the same riser, tread and handrail limits apply to deck stairs. With four or more risers, a handrail 34 to 38 in high is required on at least one side (R311.7.8). Where the open side of the stair needs a guard, the baluster spacing calculator spaces the balusters for the 4 3/8 in stair rule.
- Lay out from one riser and one tread. Set the riser height and tread depth from the result on a framing square and step them along the stringer, so every step is the same.