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

Treads are one fewer than risers: the top step is the upper floor. Tread depth is the run of each step (nosing to nosing), the figure you mark on the stringer; the tread board itself is that plus the nosing.

Risers
–
Treads
–
Total run
–
Stringer length
–
Angle
–
Tread board depth
–

–

    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.

    LimitCode 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 riseRisersRiser heightTreadsRun at 10 inRun at 11 inStringer at 10 in
    24 in (2 ft 0 in)46.00 in (≈ 6)330 in33 in38.42 in
    36 in (3 ft 0 in)57.20 in (≈ 7 3/16)440 in44 in53.81 in
    48 in (4 ft 0 in)76.86 in (≈ 6 7/8)660 in66 in76.84 in
    60 in (5 ft 0 in)87.50 in (≈ 7 1/2)770 in77 in92.20 in
    72 in (6 ft 0 in)107.20 in (≈ 7 3/16)990 in99 in115.26 in
    84 in (7 ft 0 in)117.64 in (≈ 7 5/8)10100 in110 in130.60 in
    96 in (8 ft 0 in)137.38 in (≈ 7 3/8)12120 in132 in153.67 in
    102 in (8 ft 6 in)147.29 in (≈ 7 5/16)13130 in143 in165.24 in
    105 in (8 ft 9 in)147.50 in (≈ 7 1/2)13130 in143 in167.11 in
    108 in (9 ft 0 in)147.71 in (≈ 7 11/16)13130 in143 in169.01 in
    114 in (9 ft 6 in)157.60 in (≈ 7 5/8)14140 in154 in180.54 in
    120 in (10 ft 0 in)167.50 in (≈ 7 1/2)15150 in165 in192.09 in
    132 in (11 ft 0 in)187.33 in (≈ 7 5/16)17170 in187 in215.23 in
    144 in (12 ft 0 in)197.58 in (≈ 7 9/16)18180 in198 in230.51 in
    151 in (12 ft 7 in)207.55 in (≈ 7 9/16)19190 in209 in242.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.

    Related