Stair calculator: how many steps do I need?

Measure the total rise — from the finished floor at the bottom to the finished floor at the top — in inches. The calculator finds the fewest risers that stay within the IRC limit.

Last reviewed November 28, 2026 · How we check the numbers

Result

Risers (steps up)
14 of 7.5 in
Treads
13 of 10 in
Total run (horizontal length)
130 in (10.83 ft)
Stringer length, along the slope
167.1 in (13.93 ft)
Stair angle
38.9°
2 × riser + tread (comfortable: 24–25 in)
25 in
Treads under 11 in
need a 3/4–1-1/4 in nosing (IRC R311.7.5.3)

An estimate for buying materials, not a substitute for plans.

Quick answers for common sizes

Stairs with risers up to 7-3/4 in and 10 in treads
Total riseRisersRiser heightTreadsTotal run
30 in47.5 in330 in
48 in76.86 in660 in
84 in117.64 in10100 in
96 in137.38 in12120 in
105 in147.5 in13130 in
108 in147.71 in13130 in
112 in157.47 in14140 in
120 in167.5 in15150 in

105–112 in is typical between floors with 8 ft ceilings; 30–48 in is a typical deck.

Worked out for common sizes

How it is calculated

  1. Risers: total rise ÷ highest riser allowed, rounded up. Riser height: total rise ÷ risers.
  2. Treads: risers − 1 (the top floor is the last step). Total run: treads × tread depth.
  3. Stringer length: √(rise² + run²); angle: arctan(rise ÷ run).
IRC 2021 stair rules for homes (Section R311.7)
RuleLimitSection
Riser height7-3/4 in at mostR311.7.5.1
Tread depth10 in at leastR311.7.5.2
Difference between risers or treads3/8 in at mostR311.7.5.1–2
Nosing, if treads are under 11 in3/4 to 1-1/4 inR311.7.5.3
Stair width36 in at leastR311.7.1
Headroom6 ft 8 in at leastR311.7.2
Rise of one flight151 in at mostR311.7.3
Handrail height34–38 inR311.7.8.1

Your city may have adopted a different edition or local amendments. Check with the building department before building.

Mistakes that give a wrong number

Numbers used and where they come from

Manufacturer figures apply to the products named. Other brands differ — check the bag, can or data sheet of the product you buy.

Worked example

A total rise of 105 in: 105 ÷ 7.75 = 13.5 → 14 risers of 7.5 in. That gives 13 treads; at 10 in each, the run is 130 in (10 ft 10 in). Stringer: √(105² + 130²) = 167 in (13.9 ft), angle 38.9°. Check: 2 × 7.5 + 10 = 25 in.

Tips

Frequently asked questions

What is the maximum stair riser height?

7-3/4 in under the IRC for houses, with treads at least 10 in deep.

How many steps for a 9 ft ceiling?

With 2 × 10 joists and a 3/4 in subfloor the total rise is about 118 in (9 ft plus 10 in): 16 risers of 7.38 in and 15 treads. With 2 × 12 joists, about 120 in: still 16 risers, of 7.5 in.

How long is a stair stringer?

For a 105 in rise with 10 in treads, about 167 in (13.9 ft) along the slope. Use √(rise² + run²).

How many steps for a 3 ft deck?

A 36 in rise needs 5 risers of 7.2 in and 4 treads.

Related calculators

All roof, stairs & lumber calculators

Add this calculator to your website

Free for blogs, contractors and garden centers. Paste this code into your page; the calculator resizes itself. Please keep the link under it.

Sources

  1. City of Boise — IRC handout 437, Treads and Risers: R311.7.5 risers 7-3/4 in max, treads 10 in min
  2. Town of St. John, Indiana — Deck guide: IRC stair width 36 in, 151 in max rise per flight, handrails 34–38 in
  3. City of Albany, Georgia — Stairs handout: IRC headroom at least 6 ft 8 in
  4. Virginia Tech Cooperative Extension — Safe Stairs: 2 rise + 1 run = 24–25 in