Stair Calculator

To lay out stairs, divide the total rise by your target riser height and round up to get the number of risers; treads are one fewer. For a 106 in rise and 7.5 in risers, 106 ÷ 7.5 ≈ 14.13, so 15 risers of about 7 1/16 in and 14 treads. This stair calculator adds total run, angle, stringer length, a diagram and a code check.

Stair calculator
Total rise (floor to floor)

Risers are made equal and no taller than this.

Measured nosing to nosing, horizontally.

Gives the cut for the bottom of the stringer.

Headroom (optional)

Lowest ceiling or beam above the stairs, measured straight up from the nosing line.

Number of steps
15risersWithin IRC limits

Build 15 risers of ≈ 7 1/16 in and 14 treads of 10 1/2 in. The stair runs 12 ft 3 in horizontally at 33.9°, and each stringer slope is ≈ 15 ft 1 1/4 in long.

Riser height7.067 in (≈ 7 1/16 in)
Treads14
Tread depth10.5 in (10 1/2 in)
Total run12 ft 3 in
Stair angle33.9°
Stringer length≈ 15 ft 1 1/4 in
Stringer length = √(total rise² + total run²)√(106 in² + 147 in²) ≈ 181.23 in
33.9°stringer ≈ 15 ft 1 1/4 intotal rise8 ft 10 intotal run 12 ft 3 in15 risers, 14 treadstread 10 1/2 inriser ≈ 7 1/16 in
Code check: IRC R318.7 (check your local code)
Riser height ≈ 7 1/16 inMaximum 7 3/4 inMeets
Tread depth 10 1/2 inMinimum 10 inMeets
HeadroomMinimum 6 ft 8 inNot entered

Limits from the International Residential Code (IRC), section R318.7, which covers stairs in one- and two-family homes. Your city or county may adopt a different edition or change these limits, and other rules (width, nosing, handrails, guards) also apply. Check your local building code before you cut stringers.

Show steps
  1. Total rise: 8 ft 10 in = 8 × 12 + 10 = 106 in.
  2. Number of risers: total rise ÷ target riser = 106 in ÷ 7.5 in ≈ 14.1333. Round up so no riser is taller than 7.5 in: 15 risers.
  3. Riser height: 106 in ÷ 15 ≈ 7.0667 in, about 7 1/16 in to the nearest 1/16. Every riser is the same, so the 3/8 in variation limit is met.
  4. Treads: one fewer than risers, because the upper floor is the last step: 15 − 1 = 14 treads.
  5. Total run: 14 treads × 10.5 in = 147 in (12 ft 3 in).
  6. Stair angle: tan θ = riser ÷ tread = 7.0667 ÷ 10.5 ≈ 0.673, so θ = arctan(0.673) ≈ 33.94°.
  7. Stringer length (Pythagorean theorem): √(106 in² + 147 in²) = √(11,236 + 21,609) ≈ 181.23 in (≈ 15 ft 1 1/4 in). This is the sloped length from the lower floor to the upper floor; buy stringer stock longer than this to allow for the cuts at each end.
  8. Code check: riser ≤ 7 3/4 in, tread ≥ 10 in.

How to use the stair calculator

  1. Measure the total rise: the vertical distance from the finished lower floor to the finished upper floor. Use finished surfaces, because flooring changes the first and last steps.
  2. Choose From total rise if you have room to spare and want to pick the riser height and tread depth. Choose Fit a space if the horizontal space (total run) is fixed.
  3. Enter the target or maximum riser height and, in the first mode, the tread depth. Add the tread thickness to get the bottom cut of the stringer, and the headroom to check it.
  4. Read the number of risers, riser height, treads, total run, stair angle and stringer length. The diagram is drawn to scale, and Show steps explains each number.

Stair formulas

Quantity Formula
Number of risers, n total rise ÷ target riser, rounded up
Riser height total rise ÷ n
Number of treads n − 1
Total run (n − 1) × tread depth
Tread depth for a fixed run total run ÷ (n − 1)
Stair angle, θ arctan(riser ÷ tread)
Stringer length √(total rise² + total run²)

Rounding the riser count up, never down, keeps every riser at or below your target. There is one tread fewer than risers because the upper floor itself is the last step. The stair forms a right triangle with the total rise and total run as its legs, so the stringer’s sloped length is the hypotenuse from the Pythagorean theorem, and the angle comes from the tangent ratio, rise over run.

Worked example: a basement stair

The total rise is 8 ft 10 in, and you want risers of about 7 1/2 in with 10 1/2 in treads.

  1. Total rise in inches: 8 × 12 + 10 = 106 in.
  2. Risers: 106 ÷ 7.5 ≈ 14.13, rounded up to 15.
  3. Riser height: 106 ÷ 15 ≈ 7.067 in, about 7 1/16 in.
  4. Treads: 15 − 1 = 14, so the total run is 14 × 10.5 = 147 in (12 ft 3 in).
  5. Angle: tan θ = 7.067 ÷ 10.5 ≈ 0.673, so θ ≈ 33.94°.
  6. Stringer: √(106² + 147²) = √(11,236 + 21,609) ≈ 181.23 in, about 15 ft 1 1/4 in.

Worked example: fitting a fixed space

Same 106 in rise, but only 12 ft 6 in (150 in) of floor is available, and risers may be at most 7 3/4 in. Risers: 106 ÷ 7.75 ≈ 13.68, so 14 risers of 106 ÷ 14 ≈ 7.571 in (about 7 9/16 in). Treads: 13, each 150 ÷ 13 ≈ 11.54 in (about 11 9/16 in). The angle is arctan(7.571 ÷ 11.54) ≈ 33.27°, and the stringer is √(106² + 150²) ≈ 183.67 in.

Worked example: when the run is too short

A 96 in rise with only 9 ft (108 in) of run and 7 3/4 in maximum risers needs 13 risers of about 7 3/8 in (96 ÷ 7.75 ≈ 12.39, rounded up). The 12 treads would be 108 ÷ 12 = 9 in deep, under the 10 in minimum, and the stair would be about 39.4° steep. To get 10 in treads you need 12 × 10 = 120 in (10 ft) of run, which gives an angle of about 36.4°. The calculator flags this in the code check, so you can change the plan before you cut anything.

Stair code limits (IRC)

Most U.S. homes are built under a local version of the International Residential Code (IRC). Section R318.7 sets these limits for stairs in one- and two-family homes:

Rule IRC limit
Maximum riser height 7 3/4 in
Minimum tread depth (nosing to nosing) 10 in
Riser height variation in one flight no more than 3/8 in
Minimum headroom 6 ft 8 in
Minimum width above handrail height 36 in
Nosing projection 3/4 in to 1 1/4 in, where required

These are code minimums, not comfort targets, and they are not the whole code: landings, handrails, guards, winders and spiral stairs have their own rules. Your city or county may adopt a different edition or amend these numbers, so check your local building code, and your building department, before you build. Commercial buildings follow the International Building Code instead.

Riser height and stair angle

Because the angle depends only on riser ÷ tread, a small change in either moves it noticeably. At the code limits (7 3/4 in risers, 10 in treads) the angle is arctan(0.775) ≈ 37.78°, which is steep. The first example, at about 33.9°, climbs more gently. Lowering the riser adds a step, and every extra step adds one more tread depth to the total run, so a gentler stair always needs more floor space.

Common stair calculation mistakes

  • Measuring to the subfloor. Measure finished floor to finished floor, or the top and bottom steps will differ from the rest.
  • Counting treads as steps. A stair with 15 risers has 14 treads; the upper floor is the last step.
  • Rounding the riser count down. 14.13 risers means 15; rounding to 14 makes every riser taller than planned.
  • Forgetting the tread thickness. Cut the bottom of the stringer down by one tread thickness so the first step matches.
  • Buying stringers at exactly the slope length. The calculated length runs floor to floor; stock must be longer to allow for the cuts.

Stair layout practice quiz: 10 questions

Test yourself with 10 multiple-choice questions. Choose an answer and press Submit to see if you are right and why. Your score appears at the end.

Question 1 of 10
1. The total rise is 105 in and risers may be at most 7.5 in. How many risers do you need?

Found a mistake? Let us know!

2. A total rise of 100 in with a 7.5 in target riser gives how many risers?

Found a mistake? Let us know!

3. A stair has 16 risers. How many treads does it have?

Found a mistake? Let us know!

4. A total rise of 112 in is split into 16 equal risers. What is each riser height?

Found a mistake? Let us know!

5. A stair has 12 treads, each 10.5 in deep. What is the total run?

Found a mistake? Let us know!

6. The total rise is 96 in and the total run is 128 in. How long is the stringer slope?

Found a mistake? Let us know!

7. Risers are 7 in and treads are 11 in. What is the stair angle, to the nearest degree?

Found a mistake? Let us know!

8. Under IRC R311.7, what is the maximum riser height for stairs in a home?

Found a mistake? Let us know!

9. A plan has 13 risers and 108 in of total run. Does the tread depth meet the IRC 10 in minimum?

Found a mistake? Let us know!

10. Treads are 1 in thick and the riser height is 7 1/4 in. How high is the first rise cut on the stringer?

Found a mistake? Let us know!

Frequently asked questions

How many steps do I need for a 9 ft rise?

108 in ÷ 7.75 ≈ 13.94, so at least 14 risers of about 7 11/16 in, with 13 treads. At a 7.5 in target, 108 ÷ 7.5 = 14.4 rounds up to 15 risers of 7.2 in.

What is the maximum riser height for stairs?

The IRC sets 7 3/4 in for homes, with a minimum tread depth of 10 in. Local codes can differ, so confirm with your building department.

How do you calculate the length of a stair stringer?

Use the Pythagorean theorem: stringer = √(total rise² + total run²). For 106 in of rise and 147 in of run that is about 181.23 in. Buy stock longer than this to allow for the end cuts.

What is a good stair angle?

The angle follows from riser ÷ tread. At the IRC limits, 7 3/4 in risers on 10 in treads, it is about 37.8°; 7 in risers on 11 in treads give about 32.5°. The lower the riser and the deeper the tread, the gentler the climb, at the cost of more floor space.

Is the number of steps the number of risers or treads?

Builders count risers, because each riser is one step up. The number of treads is one less.

Related calculators

Sources

Related to This Article

What people say about "Stair Calculator: Risers, Treads, Stringer & IRC Check"?

No one replied yet.

Leave a Reply