Free tool · Home and DIY
Stair calculator
Type the total rise, a target riser height and the tread depth to get the number of steps, run, stringer length and angle.
- Free
- No sign-up
- Runs in your browser
15 risers, 7.2 in each14 treads of 10 in · total run 11 ft 8 in · stringer line 14 ft 8 13/16 in · angle 35.8°
- 15 steps up
- 14 treads
- Meets the IRC limits
- Number of risers
- 15
- Number of treads
- 14
- Riser height
- 7.2 in (7 3/16) · 183 mm
- Tread depth
- 10 in · 254 mm
- Total run
- 11 ft 8 in · 3,556 mm
- Stringer line
- 14 ft 8 13/16 in · 4,491 mm
- Angle
- 35.75°
- 2 × rise + tread
- 24.4 in
| Check | Your stair | Limit | Result |
|---|---|---|---|
| Riser height | 7 3/16 in | at most 7 3/4 in (196 mm) | Meets |
| Tread depth | 10 in | at least 10 in (254 mm) | Meets |
| Layout | Riser | Run | Angle | Code |
|---|---|---|---|---|
| 14 risers | 7.71 in | 130 in | 37.6° | Meets |
| 15 risers | 7.2 in | 140 in | 35.8° | Meets |
| 16 risers | 6.75 in | 150 in | 34.0° | Meets |
Formula: risers = total rise ÷ target riser height, rounded to a whole number; riser height = total rise ÷ risers; treads = risers − 1 (the upper floor is the last tread); total run = treads × tread depth; stringer line = √(total rise² + total run²); angle = arctan(riser ÷ tread).
Your numbers: 108 in ÷ 7 in = 15.43, so 15 risers of 108 ÷ 15 = 7.2 in; 14 × 10 = 140 in of run; √(108² + 140²) = 176.82 in; arctan(7.2 ÷ 10) = 35.75°.
The stringer line runs along the nosings. A real stringer board must be longer to leave material at the ends and under the cuts, and a flight also needs headroom, a landing and a handrail. Codes change with the place and the edition: use the limits as guidance only and check with your local building authority before you build.
How to use the Stair Calculator
- Choose US or Metric under Units.
- Type the Total rise from finished floor to finished floor, the Target riser height and the Tread depth. Fractions such as 7 3/4 work.
- Pick a code under Check against if you want the stair compared with the cited limits.
- Read the number of risers and treads, the run, the stringer line and the angle under Result, and compare the layouts with one step fewer or one more.
How do I calculate stair rise and run?
Start from the total rise, the vertical distance from the finished lower floor to the finished upper floor. Divide it by the riser height you would like and round to a whole number of risers, then divide the total rise by that number so that every riser is equal. With a total rise of 108 inches (9 ft) and a target of 7 inches, 108 ÷ 7 = 15.4, so the stair has 15 risers, and each one is 108 ÷ 15 = 7.2 inches, or 7 3/16 inches to the nearest sixteenth.
The run is the horizontal distance the stair covers. A flight with 15 risers has 14 treads, because the upper floor acts as the last tread, so the total run is treads × tread depth. With a 10 inch tread that is 14 × 10 = 140 inches, or 11 ft 8 in. The tool shows the sums with your own numbers, in inches and millimeters.
How many steps do I need for a given height, and how long is the stringer?
The number of steps is the number of risers, and the closest whole number to the total rise divided by the target is only one option. The second table under the result shows the layout with one riser fewer and one more: for 108 inches, 14 risers give a steeper 7.71 inch riser with a shorter run, and 16 risers give a gentler 6.75 inch riser with a longer run. Pick the one that fits the space you have and the proportions you want, and keep the riser equal along the whole flight.
The stringer is the sloping board that carries the treads, and its length along the nosing line is the hypotenuse of the triangle formed by the total rise and the total run: √(total rise² + total run²). For 108 inches of rise and 140 inches of run that is √(11,664 + 19,600) = 176.8 inches, or 14 ft 8 13/16 in. The angle of the stair is arctan(riser ÷ tread), which here is 35.8 degrees. A real stringer board must be longer than this line, to leave material at the ends and under the cuts, so add a margin when you buy timber.
What is the maximum riser height and minimum tread depth by code?
Limits depend on the place and the edition of the code, so treat the check as guidance. For US residential stairs under the International Residential Code, the City of Boise handout for section R311.7.5 gives a riser height of at most 7 3/4 inches (196 mm) and a tread depth of at least 10 inches (254 mm), with no more than 3/8 inch difference between the largest and smallest riser in a flight. Because the tool makes every riser equal, that variation is zero.
In England, Approved Document K (2013 edition, Table 1.1) allows a private stair, one used by a single dwelling, a rise of 150 to 220 mm and a going of 220 to 300 mm, with a maximum pitch of 42 degrees. It says that the normal relationship between the two is that twice the rise plus the going is between 550 and 700 mm. The tool checks all four for the England option. Other countries, states and cities have their own rules, and codes also cover headroom, landings, handrails and winder treads, which this calculator does not check. There is no single ideal angle: confirm the limits with your local building authority before you build.
Use it with
- Pythagorean Theorem Calculator: find a missing side.
- Square Footage Calculator: area of rooms and plots.
- Brick Calculator: bricks and mortar needed.
Questions
How do I calculate the number of steps for a staircase?
Divide the total rise by the riser height you want and round to a whole number. A 108 inch rise at 7 inches gives 15 risers, each 7.2 inches high.
Why are there one fewer treads than risers?
The top of the flight is the upper floor, which acts as the last tread. A stair with 15 risers therefore has 14 treads, and the run is 14 times the tread depth.
How do I find the stringer length?
Use the Pythagorean theorem on the total rise and total run: √(rise² + run²). For 108 inches of rise and 140 inches of run the line is about 176.8 inches. The board has to be longer than that to allow for the cuts.
What is the maximum riser height under the IRC?
The IRC section R311.7.5.1, as reproduced in a city code handout, says a riser is at most 7 3/4 inches, and R311.7.5.2 says a tread is at least 10 inches. Local rules may differ, so check with your building authority.
What are the stair limits for a house in England?
Approved Document K gives a private stair a rise of 150 to 220 mm, a going of 220 to 300 mm and a pitch of no more than 42 degrees, with 2 × rise + going between 550 and 700 mm.
Is this calculator a building code check?
No. It compares your numbers with two cited limits as guidance. A real stair also needs headroom, landings, handrails and guards, and the rules change by place and edition.
Sources
How this page was made: the tool's results are computed in your browser by the code on this page, using the sources listed above; the explanations were drafted with AI help and checked against the tool's own output.