Skip to content

Stair Calculator

Enter your total rise to get the number of steps, exact riser height, total run, stringer length and how many stringers to cut, with every result checked against the residential stair code.

Free · No sign-up · Shows the math · Updated 2026-11-07

Quick answer

Risers = total rise ÷ 7.75 in, rounded up. Riser height = total rise ÷ risers. Treads = risers − 1. A 9 ft (108 in) rise needs 14 risers of 7 11/16 in and 13 treads; with 10 ½ in treads the stairs run 11.4 ft and each stringer is about 15.6 ft long.

Stair dimensions for common heights

Using the 7.75 in maximum riser and 10.5 in treads. Treads are one fewer than risers because the top step is the floor or deck.

Total riseRisersRiser heightTreadsTotal runStringer length
24 in (2 ft)46 in32.6 ft4.3 ft
30 in (2.5 ft)47 1/2 in32.6 ft4.7 ft
36 in (3 ft)57 3/16 in43.5 ft5.7 ft
48 in (4 ft)76 7/8 in65.3 ft7.6 ft
60 in (5 ft)87 1/2 in76.1 ft9.0 ft
72 in (6 ft)107 3/16 in97.9 ft11.0 ft
84 in (7 ft)117 5/8 in108.8 ft12.3 ft
96 in (8 ft)137 3/8 in1210.5 ft14.3 ft
108 in (9 ft)147 11/16 in1311.4 ft15.6 ft
120 in (10 ft)167 1/2 in1513.1 ft17.6 ft
132 in (11 ft)187 5/16 in1714.9 ft19.6 ft
144 in (12 ft)197 9/16 in1815.8 ft20.9 ft

Residential stair code at a glance (IRC R311.7)

RuleLimit
Riser height7.75 in maximum
Tread depth10 in minimum (plus a ¾–1¼ in nosing when under 11 in)
Riser and tread variationNo more than ⅜ in between the largest and smallest in a flight
Stair width36 in minimum
Headroom6 ft 8 in minimum
Rise of one flight151 in (12 ft 7 in) maximum, then a landing
HandrailRequired with 4 or more risers, 34–38 in above the nosings

Local codes can be stricter, and decks follow the deck guide (AWC DCA 6) for stringers. Comfort rule of thumb: 2 × riser + tread ≈ 24–25 in.

Frequently asked questions

How do I calculate the number of stairs I need?

Measure the total rise from the finished lower floor (or ground) to the finished upper floor (or deck surface) in inches. Divide by 7.75 in and round up: that is the number of risers. Divide the total rise by that number for the exact riser height. You need one fewer tread than risers. For 108 in of rise: 108 ÷ 7.75 = 13.9, so 14 risers of 7 11/16 in and 13 treads.

What is the standard stair rise and run?

U.S. residential code (IRC) allows risers up to 7.75 in and treads at least 10 in deep. Most comfortable stairs land around a 7 to 7 ½ in riser with a 10 ½ to 11 in tread, which follows the rule 2 × riser + tread = 24 to 25 in.

How long is the total run of a staircase?

Total run = number of treads × tread depth. With 13 treads of 10 ½ in, the stairs run 136.5 in, about 11 ft 4 in, measured horizontally from the top nosing to the bottom riser.

How many stringers do I need?

Space cut stringers no more than 18 in apart for decks (AWC DCA 6), so a 36 in wide stair needs 3 stringers and a 48 in stair needs 4. Interior stairs with thick treads may allow wider spacing; check your code.

When do stairs need a landing?

When one flight would rise more than 151 in (12 ft 7 in), or where a door swings over the stairs. Landings must be at least as wide as the stairs and 36 in deep in the direction of travel.

Run a garden club, nursery or landscaping site? Embed this calculator free with one line of code.

Related free tools

Sources and assumptions

Code limits from the 2021 International Residential Code, section R311.7; stringer spacing (18 in) and minimum throat (5 in) from the American Wood Council DCA 6 deck guide. Board depths are actual sizes (2×12 = 11 ¼ in). Your local code and inspector have the final say.