Skip to content
Material Guides

Stair Calculator

Divide the total rise by your target riser height and round up to get the number of risers; divide the rise by that count for the exact riser. A 108 in rise gives 15 risers of 7 3/16 in and 14 treads, which meets the IRC limit of 7 3/4 in.

By Eren ŞimşirUpdated Formula and sources

in

Finished floor to finished floor

in

7 to 7.5 in is comfortable

in

Nosing to nosing; 10 in minimum

in

36 in minimum

  • Riser ≤ 7 3/4 in7 3/16 in
  • Tread ≥ 10 in10 1/2 in
  • Width ≥ 36 in36 in
  • Comfort: 2 × riser + tread ≈ 24–25 in24.9 in

Risers

15at 7 3/16 in

14 treads of 10 1/2 in

Total run
12 ft 3 in
Stringer length
15 ft 11 in
Board to buy
16 ft 2×12
Stringers
4 (16 in apart)
Angle
34.4°

Checked against the IRC. Your local code may differ; confirm before you cut.

Key numbers

Max riser (IRC R311.7.5.1)
7 3/4 in
Min tread (IRC R311.7.5.2)
10 in
Max variation in a flight
3/8 in
Min headroom (IRC R311.7.2)
6 ft 8 in

How to use the stair calculator

Measure the total rise: the vertical distance from the finished floor at the bottom to the finished floor at the top. Measure with the final flooring in mind. If the bottom will get 3/4 in hardwood later, the rise shrinks by 3/4 in, and your bottom step would come out short.

Enter the riser height you'd like. The calculator rounds the riser count up so no riser is taller than that, then splits the rise evenly. Enter the tread run (the horizontal depth of each step, measured nosing to nosing) and the stair width. The code checks update as you type.

The math

  • Risers = total rise ÷ target riser, rounded up
  • Riser height = total rise ÷ risers
  • Treads = risers − 1 (the top floor acts as the last step)
  • Total run = treads × tread run
  • Stringer length = risers × √(riser² + tread²)
  • Comfort check: 2 × riser + tread should land near 24 to 25 in

Stair layouts by total rise

Target riser 7 1/2 in, tread run 10 1/2 in:

Total riseRisersRiser heightTreadsTotal runStringer
24 in46 in32 ft 7 1/2 in4 ft 3/8 in
30 in47 1/2 in32 ft 7 1/2 in4 ft 3 5/8 in
36 in57 3/16 in43 ft 6 in5 ft 3 11/16 in
48 in76 7/8 in65 ft 3 in7 ft 3 13/16 in
96 in137 3/8 in1210 ft 6 in13 ft 10 7/8 in
102 in147 5/16 in1311 ft 4 1/2 in14 ft 10 15/16 in
105 in147 1/2 in1311 ft 4 1/2 in15 ft 5/8 in
108 in157 3/16 in1412 ft 3 in15 ft 11 in
112 in157 7/16 in1412 ft 3 in16 ft 1 1/4 in
120 in167 1/2 in1513 ft 1 1/2 in17 ft 2 7/16 in
Riser heights rounded to the nearest 1/16 in for marking. 96 to 120 in covers most floor-to-floor heights in houses.

IRC stair limits

RuleLimitSection
Riser height7 3/4 in maxR311.7.5.1
Tread depth10 in minR311.7.5.2
Largest minus smallest riser or tread3/8 in maxR311.7.5.1, .2
Nosing (where tread is under 11 in)3/4 to 1 1/4 inR311.7.5.3
Headroom6 ft 8 in minR311.7.2
Stair width36 in minR311.7.1
Handrail height34 to 38 inR311.7.8
From the International Residential Code. Many cities amend it; your building department has the final word.

The layout is a planning aid. Stair dimensions, guards, handrails, headroom and landings are set by your local building code and are checked at inspection. Confirm your plan with your building department before you cut stringers.

Worked example: deck stairs

The deck surface is 31 in above the patio. You'd like risers near 7 1/2 in and 11 in treads (two 5.5 in boards).

  1. Risers: 31 ÷ 7.5 = 4.13, rounded up = 5.
  2. Riser height: 31 ÷ 5 = 6.2 in, about 6 3/16 in.
  3. Treads: 5 − 1 = 4; total run 4 × 11 = 44 in.
  4. Stringer: 5 × √(6.2² + 11²) = 5 ft 3 1/8 in, so a 8 ft 2 × 12.
  5. Comfort: 2 × 6.2 + 11 = 23.4 in, inside the comfortable range.

Questions people ask

How many steps do I need for 8 feet?

An 8 ft (96 in) rise is usually 13 risers of 7 3/8 in, which means 12 treads. 14 risers of 6 7/8 in make a gentler stair but need one more tread of floor space. Floor-to-floor height is more than the ceiling height, because it includes the floor framing, so measure the actual rise.

What is the most comfortable riser height?

Between about 7 and 7 1/2 in, paired with a tread of 10 1/2 to 11 in. Use the 2 × riser + tread rule: 24 to 25 in feels natural to most people.

Do treads count the nosing?

The IRC measures tread depth from the front of one nosing to the front of the next, which equals the run of each step. The nosing projection itself (3/4 to 1 1/4 in) is added to the tread board's depth.

Sources