Stair Stringer Calculator: Risers & Treads

Lay out a staircase from the total rise: number of risers, riser height, treads, total run, stringer length and angle, checked against building-code limits.

Updated · Free · Runs in your browser

Units
in
in

7¾ in under the US IRC.

in

Minimum 10 in under the US IRC, excluding nosing.

in
Top step is the upper floor?
Number of risers (steps) —
Riser height —
Number of treads —
Total run —
Stringer length —
Stair angle —
Stringers —
    Was this calculator helpful?

    The formula

    Number of risers = ceil(total rise ÷ maximum riser height)
    Riser height = total rise ÷ number of risers
    Treads = risers − 1 (when the top step is the upper floor)
    Total run = treads × tread depth
    Stringer length = √(total rise² + total run²)
    Angle = arctan(total rise ÷ total run)
    Comfort check: 2 × riser + tread ≈ 24–25½ in (550–700 mm)

    Worked example

    1. Floor to floor is 108 in (9 ft) and the US IRC allows risers up to 7¾ in.
    2. Risers = 108 ÷ 7.75 = 13.9, rounded up to 14.
    3. Riser height = 108 ÷ 14 = 7.71 in (about 7 11/16 in).
    4. With the upper floor as the top step there are 13 treads; at 10 in each, the total run is 130 in (10 ft 10 in).
    5. Stringer length = √(108² + 130²) = 169 in (14 ft 1 in), so cut the stringers from 16 ft boards.
    6. The angle is 39.7°, and 2 × 7.71 + 10 = 25.4 in, within the comfortable range.
    7. A 36 in wide stair needs 4 stringers at no more than 16 in centres.

    Rise, run and the number of steps

    A stair is defined by its total rise, the vertical distance from finished floor to finished floor, and its total run, the horizontal distance it covers. Each step has a riser (the vertical part) and a tread (the part you stand on). All risers must be the same height, because people subconsciously expect each step to match; a variation of more than 3/8 in (about 10 mm) is a common cause of trips and is not allowed by building codes. The calculator divides the total rise by the maximum riser height, rounds up to a whole number of steps and then divides again so every riser is equal.

    Building code limits

    In the US, the International Residential Code (IRC) limits riser height to 7¾ in and requires treads of at least 10 in, measured without the nosing, with headroom of at least 6 ft 8 in. Stairs must be at least 36 in wide, and a handrail is required on stairs with four or more risers. Commercial stairs under the IBC are stricter: risers of 4–7 in and treads of at least 11 in. In England and Wales, Approved Document K allows private stairs with risers up to 220 mm, goings of at least 220 mm and a maximum pitch of 42°. Canada, Australia and other countries have similar rules. Always check your local code, because some areas change these figures.

    The comfort rule

    Stairs feel natural when the riser and tread match the length of a typical stride. A long-standing rule of thumb, used in UK regulations as the 2R + G rule, is that twice the riser plus the tread should be about 24–25 in in the US, or 550–700 mm in the UK. A 7 in riser with an 11 in tread (2 × 7 + 11 = 25) is widely considered ideal. Steeper stairs with tall risers and short treads are harder to climb and more dangerous to descend; shallower stairs take up more floor space. Most residential stairs end up between 30° and 38°.

    Laying out and cutting stringers

    Stringers are the sloping boards that carry the treads. For an open stringer, mark each riser and tread on a 2 × 12 with a framing square and stair gauges, then cut out the notches. Remember to trim the bottom of the stringer by the thickness of one tread, called dropping the stringer, so the first step isn't taller than the rest. Leave at least 3½ to 5 in of solid wood below the notches for strength. Space stringers no more than 16 in apart for 1-in thick treads; wider stairs need extra centre stringers.

    Headroom, landings and handrails

    Stairs also need enough headroom: at least 6 ft 8 in (2.03 m) under the US IRC and 2.0 m in UK regulations, measured vertically from the line of the nosings. Long flights need intermediate landings: the IRC limits a single flight to a vertical rise of 151 in (about 12 ft 7 in), and UK regulations limit flights to 16 risers. Landings must be at least as deep as the stair is wide. Handrails are typically 34–38 in (865–965 mm) above the nosings, and guards are needed on open sides more than 30 in above the floor.

    Outdoor and deck stairs

    Deck and garden stairs follow the same rules. Use pressure-treated or naturally durable lumber, fix the stringers to the deck rim with hangers or ledgers, and support the bottom on a concrete pad rather than bare soil. Our deck and fence calculator works out the boards for the deck itself, the concrete calculator sizes the landing pad, and the slope calculator helps when you'd rather build a ramp.

    Frequently asked questions

    How many steps do I need for a 9 ft rise?
    At a maximum riser of 7¾ in, 108 in ÷ 7.75 = 13.9, so 14 risers of about 7.71 in, with 13 treads if the top step is the upper floor.
    What is the maximum riser height allowed?
    7¾ in (197 mm) for homes under the US IRC, 7 in for commercial stairs under the IBC, and 220 mm for private stairs in England and Wales.
    How long should a stair stringer be?
    Use the Pythagorean theorem: √(rise² + run²). For a 108 in rise and 130 in run, the stringer is about 169 in, so you need 16 ft boards.
    How many stringers do I need?
    At least two, plus one for every 16 in (400 mm) of width in between. A 36 in wide stair usually has three or four.
    What is a comfortable stair angle?
    Between about 30° and 37°. Codes typically allow up to roughly 41–42° for homes; steeper stairs feel more like ladders.

    ↑↓ to navigate · Enter to open