Stair calculator

Measure the total rise from the landing surface to the top surface. The calculator splits it into equal steps and gives the measurements in fractions.

From the finished surface at the bottom to the finished surface at the top.

7¾ in is the US residential code maximum.

At least 10 in under US residential code.

Steps (risers)

5 risers of 7 3/16 in

Riser height
7 3/16 in (7.2)
Treads
4 treads
Total run
3 ft 4 in
Stringer length
4 ft 5 13/16 in minimum
Stair angle
35.8 degrees

Shop for this project

As an Amazon Associate, Measure the Dream earns from qualifying purchases.

How it works

The calculator divides the total rise by your maximum riser height and rounds up to get the number of risers. It then divides the rise evenly among them, so every step is the same height. That matters: uneven steps are a classic trip hazard.

When the top tread is the deck or floor itself, a stair has one fewer tread than risers. Total run is treads × tread depth, and the stringer length is the diagonal of the rise and run. Buy stringer stock longer than that to allow for the top and bottom cuts.

Example

With total rise 36 in, maximum riser height 7.75 in, tread depth 10 in, the answer is 5 risers of 7 3/16 in.

How to measure

Measure the total rise: the vertical distance from the finished surface at the bottom to the finished surface at the top. If the flooring isn’t down yet, add its thickness, or the first or last step will come out a different height.

Measure in a straight vertical line with a level, not along a slope. For outdoor steps, run a level board out from the top surface and measure down to where the bottom step will land.

Steps for common rises

With a 7¾ inch maximum riser and 10 inch treads, the US residential code limits.

Total riseRisersRiser height (in)Total run
18 in361 ft 8 in
24 in462 ft 6 in
30 in47 1/22 ft 6 in
36 in57 3/163 ft 4 in
48 in76 7/85 ft 0 in
60 in87 1/25 ft 10 in

Common mistakes

  • Forgetting the finished floor. A missed ¾ inch of flooring makes one step noticeably different, which is a tripping hazard.
  • Letting riser heights vary. The code allows no more than ⅜ inch difference between the tallest and shortest riser in a flight.
  • Leaving out the handrail. A flight with four or more risers needs one under the residential code.
  • Cutting all the stringers from a guess. Lay out and cut one, test it in place, then use it as the template.

Tips before you buy

  • US residential code (IRC) limits risers to 7¾ inches and requires treads of at least 10 inches. Your local code may differ, so check it.
  • Riser heights within one flight shouldn’t vary by more than 3/8 inch.
  • Measure the rise at the exact spot where the bottom of the stairs will land. Sloped ground changes the number.
  • A common comfort rule: two risers plus one tread should add up to about 24–25 inches.

Common questions

How many steps do I need for a 36-inch rise?

Five risers of 7 3/16 inches each, with four treads.

What is the difference between rise and run?

Rise is the vertical height of each step. Run is the horizontal depth of each tread.

Why does a stair have one fewer tread than risers?

The top step is the deck or upper floor itself, so it doesn’t need a separate tread.

Add this calculator to your website

Free for any site or blog. Paste this code where you want the calculator to appear. The short script makes it resize to fit; if your site doesn’t allow scripts, the calculator still works without it.