Stair Calculator

Enter the height from floor to floor and get risers, treads, run, stringer length and a to-scale drawing checked against the code.

Units
Total rise
ft
in

Finished floor to finished floor, measured plumb.

Work it out
in

Nosing to nosing.

in

7 ¾ in max.

in
in
in
in

Joists plus subfloor.

Stairwell opening length
ft
in

From the top riser back over the stair.

14 risers and 13 treads, each riser

7 ¹¹⁄₁₆in

Treads 10 in deep (11 in boards with the nosing), 10 ft 10 in of run, rising at 37.6°.
Total run
10 ft 10 in
Stringer length
14 ft 1 in
Angle
37.6°
Tread depth
10 in
2R + T comfort
25.4in
Opening, at least
9 ft 9 ¹¹⁄₁₆ in
6 ft 9 ¹³⁄₁₆ in headroom9 ft10 ft 10 in run10 in7 ¹¹⁄₁₆ in14 ft 1 in stringer37.6°

IRC code check

  • Riser height 7 ¹¹⁄₁₆ in

    7 ¾ in max, IRC R311.7.5.1

  • Tread depth 10 in

    10 in min, IRC R311.7.5.2

  • Nosing 1 in

    ¾ in to 1 ¼ in, IRC R311.7.5.3

  • Stair width 36 in

    36 in min, IRC R311.7.1

  • Rise of one flight 9 ft

    12 ft 7 in max, IRC R311.7.3

  • Headroom 6 ft 9 ¹³⁄₁₆ in

    6 ft 8 in min, IRC R311.7.2

Comfort: 2 risers plus 1 tread comes to 25.4 in. That is a long stride: one more riser (a shorter step) brings it toward 24 in to 25 in.

With 14 risers the flight needs a handrail on at least one side, 34 to 38 in above the nosings (R311.7.8).

The math
  1. Risers

    108 in ÷ 7.5 in target, rounded (never above 7 ¾ in) = 14 risers

  2. Riser height

    108 in ÷ 14 = 7.71 in (7 ¹¹⁄₁₆ in)

  3. Treads

    14 risers − 1 (the top floor is the last step) = 13 treads

  4. Total run

    13 × 10 in = 10 ft 10 in

  5. Stringer length

    √(130 in² + 108 in²) = 14 ft 1 in

  6. Angle

    atan(7.71 in ÷ 10 in) = 37.6°

  7. Stairwell opening

    (80 in + 10 in) ÷ (7.71 in ÷ 10 in) + 1 in nosing = 9 ft 9 ¹¹⁄₁₆ in min

Material list

9 ft rise, 14 risers of 7 ¹¹⁄₁₆ in, 13 treads of 10 in, 36 in wide.

QuantityItem
4pcs

2×12 stringer boards

14 ft stock, cut to 13 ft 7 ⁹⁄₁₆ in; 4 at 16 in on center for a 36 in wide stair

13pcs

Stair treads

11 in deep × 36 in wide, 1 in thick

14pcs

Riser boards

36 in long, about 7 ¹¹⁄₁₆ in tall (trim the bottom one by the 1 in tread thickness)

A stair with a total rise of 9 ft (108 in) needs 14 risers of 7 ¹¹⁄₁₆ in and 13 treads. With 10 in treads that takes 10 ft 10 in of floor, the stringers run 14 ft 1 in on the slope, and the stair climbs at 37.6°. Divide the rise into equal risers no taller than 7¾ in, then multiply the treads (one fewer than the risers) by the tread depth.

How the stair is calculated

The riser count comes first. The calculator divides the total rise by your target riser and rounds to the nearest whole number, then makes sure no riser comes out taller than the 7¾ in the IRC allows in R311.7.5.1. Every riser is then the rise divided by that count, so all of them match. The top floor counts as the last step, which is why there is always one tread fewer than risers.

Risers = total rise ÷ target riser, rounded (at least total rise ÷ 7¾ in). Riser height = total rise ÷ risers. Total run = (risers − 1) × tread depth. Stringer = √(run² + rise²).

Worked through for the default 9 ft floor to floor: 108 ÷ 7.5 = 14.4, which rounds to 14 risers. 108 ÷ 14 = 7.71 in, just under 7 ¾ in. Thirteen treads of 10 in give 130 in of run, and √(130² + 108²) = 169 in, the 14 ft 1 in stringer. The angle is the arctangent of 7.71 ÷ 10, 37.6°.

Stair rise and run for common heights

With a 7½ in target riser and 10 in treads:

Total riseRisersRiser heightTreadsTotal runStringer
2 ft 6 in47 ½ in32 ft 6 in3 ft 6 ⁷⁄₁₆ in
3 ft57 ³⁄₁₆ in43 ft 4 in4 ft 5 ¹³⁄₁₆ in
4 ft76 ⅞ in65 ft6 ft 4 ¹³⁄₁₆ in
6 ft107 ³⁄₁₆ in97 ft 6 in9 ft 7 ¼ in
8 ft137 ⅜ in1210 ft12 ft 9 ¹¹⁄₁₆ in
9 ft147 ¹¹⁄₁₆ in1310 ft 10 in14 ft 1 in
10 ft167 ½ in1512 ft 6 in16 ft ¹⁄₁₆ in

Stair calculator by height, by run or with risers

By height is the usual case: you know floor to floor and want the stair. Measure plumb from finished floor to finished floor, since a floor covering added later changes the first or last riser.

Rise and run fits the stair into the floor space you have. The calculator takes the fewest risers the code allows, which leaves the deepest treads. For 9 ft of rise in 11 ft of run, that is 14 risers of 7 ¹¹⁄₁₆ in and 13 treads of 10 ⅛ in. If the tread comes out under 10 in, the space is too short for a code stair.

With risers lets you pick the count yourself. Fifteen risers on the same 9 ft rise give 7 ³⁄₁₆ in steps, a gentler 35.8° stair that needs 11 ft 8 in of run.

In metric, a 2.70 m rise with a 19 cm target riser and 25.5 cm treads gives 14 risers of 19.3 cm and 3.32 m of run.

Stair code limits (IRC R311.7)

The 2021 International Residential Code sets these limits for stairs in homes, and the Saint Paul building department's homeowner sheet restates them:

RuleLimitSection
Riser height7¾ in max, within ⅜ in of each otherR311.7.5.1
Tread depth10 in min, within ⅜ in of each otherR311.7.5.2
Nosing¾ to 1¼ in, not needed with 11 in treadsR311.7.5.3
Headroom6 ft 8 in above the nosing lineR311.7.2
Width36 in clearR311.7.1
One flight12 ft 7 in of rise maxR311.7.3
Handrail34 to 38 in, on flights with 4 or more risersR311.7.8

Tread depth is measured nosing to nosing, so a 10 in tread with a 1 in nosing is an 11 in board.

Headroom and the stairwell opening

Headroom is measured straight up from the line through the tread noses. The opening in the floor above has to reach back far enough that the ceiling edge sits 6 ft 8 in over that line. For the 9 ft example with a 10 in deep floor, that takes an opening at least 9 ft 9 ¹¹⁄₁₆ in long, measured back from the top riser. A 10 ft opening leaves 6 ft 9 ¹³⁄₁₆ in. The header across that opening is sized with the beam span calculator.

Is the stair comfortable?

Codes set limits; comfort is a stride. NIST's review of stair research traces the rule twice the riser plus the tread back to Blondel, who set it at 24 in, and notes that the familiar 7 in riser with an 11 in tread gives 25 in. The default 9 ft stair comes to 25.4 in (2 × 7.71 + 10), a slightly long stride. One more riser shortens it: 15 risers of 7.2 in give 2 × 7.2 + 10 = 24.4 in, at the cost of 10 in more run. Deeper treads lengthen the stride, so pair them with shorter risers.

Deck stairs

Choose the deck preset to measure from the top of the decking down to the landing pad. Two 2×6 boards make an 11¼ in tread. A 3 ft deck gets 5 risers of 7 ³⁄₁₆ in and 3 ft 9 in of run. The American Wood Council's DCA 6 guide asks for 2×12 stringers, a guard once the stair rises 30 in, and stringers bearing on a footing, not on a patio slab. Plan the deck itself with the deck calculator and the post footings with the deck footing calculator. For masonry steps, the concrete steps calculator gives the yards.

Calculators for each part of the job