Stair calculator
This free online stair calculator solves a straight flight from one measurement. Enter the total rise and it returns the number of steps, riser height, tread depth, total run, stair angle and stringer length, then draws a diagram from your numbers. It works for interior stairs and deck stairs, and checks risers and treads against IRC 2021.
Online stair calculator with diagram
15 @ 7-3/16"
Set a framing square to 7-3/16" on one arm and 10" on the other to mark the notches, and take one tread thickness off the bottom riser. The app checks the flight against the ruleset you pick.
stringer = √(rise² + run²)
RISE 9' 0" RUN 11' 8" STRINGER 14' 8-13/16"
Stair stringer calculator
The stringer is the diagonal across the whole flight. Its length is √(rise² + run²), the same sum the diagonal calculator does. For a 9 ft rise over 11 ft 8 in of run the stair stringer comes out at 14 ft 8-13/16 in, which means a 16 ft 2×12 with something to spare. Always buy the next length up: the notches eat into the board, and the throat left behind the deepest cut is what actually carries the load.
2×10 or 2×12 stringers
A cut stringer loses the depth of every notch, so the board has to be deep enough that solid wood is left behind the cuts. At a 7 in riser and 10 in tread each notch cuts about 5-3/4 in into the board, measured square to its edge. That leaves about 3-1/2 in of throat on a 2×10 (9-1/4 in actual) and about 5-1/2 in on a 2×12 (11-1/4 in actual), which is why the 2×12 is the usual choice for cut stringers. Common practice is a throat of at least 3-1/2 in, and some jurisdictions and engineers ask for 5 in, so check what your building department wants.
How many stringers, and laying them out
The count depends on the stair width and the tread material. A common rule of thumb, not a code figure, is a stringer about every 16 in on center for 2× wood treads, so a 36 in wide stair usually gets three: one at each side and one in the middle. Thinner 5/4 boards and composite treads often need them closer, so follow the tread maker's span. To lay out each stringer, set a framing square to the riser height on one arm and the tread depth on the other, the two figures in the calculator's note, and step it down the board once per riser. Then take one tread thickness off the bottom of the stringer so the finished steps come out equal. Basement stairs are the classic case: one straight flight, floor to floor.
Stair tread and riser calculator
Riser height is the total rise divided by the number of risers. The calculator rounds the rise divided by your target riser to a whole number of risers first, then divides back, so every riser comes out the same. There is always one tread fewer than there are risers, because the top step is the floor above.
Tread depth is the run of one step, measured from nosing to nosing. The tread board itself is deeper by the nosing: IRC 2021 R311.7.5.3 calls for a nosing of 3/4 in to 1-1/4 in on stairs with solid risers where the tread depth is under 11 in. A 10 in tread depth with a 1 in nosing needs 11 in of board, which a 2×12 tread at 11-1/4 in covers.
To buy the boards, count one tread board per tread (risers − 1) and one riser board per riser. An open-riser stair has no riser boards. The default 108 in rise solves to 15 risers at 7-3/16 in and 14 treads at 10 in, so that flight takes 14 tread boards and 15 riser boards. Riser heights are rounded to the nearest sixteenth: the exact figure is 7.2 in, just over 7-3/16 in, and the inches to fraction calculator turns any decimal like that into a tape mark.
How many stairs for an 8, 9 or 10 foot ceiling
The total rise is measured floor to floor, so it is the ceiling height plus the thickness of the floor above. With 2×10 joists and 3/4 in subfloor that adds 10 in, so an 8 ft ceiling is about 106 in of rise, a 9 ft ceiling about 118 in and a 10 ft ceiling about 130 in. Measure your own floor to floor before you cut: finished flooring on either level changes it. To add the floor thickness to your ceiling height in feet and inches, use the Feet and Inches Calculator.
Sources: International Code Council, 2021 International Residential Code, Chapter 3 (R311.7 Stairways, R312.1 Guards). Always confirm local amendments with your building official.
Steps by rise, at a 7-1/4 in target riser and 10 in treads
| Total rise | Risers | Treads | Total run |
|---|---|---|---|
| 30 in, a low deck | 4 @ 7-1/2" | 3 | 2' 6" |
| 48 in, a 4 ft rise | 7 @ 6-7/8" | 6 | 5' 0" |
| 96 in, 8 ft floor to floor | 13 @ 7-3/8" | 12 | 10' 0" |
| 106 in, 8 ft ceiling | 15 @ 7-1/16" | 14 | 11' 8" |
| 118 in, 9 ft ceiling | 16 @ 7-3/8" | 15 | 12' 6" |
| 130 in, 10 ft ceiling | 18 @ 7-1/4" | 17 | 14' 2" |
Riser heights are to the nearest sixteenth. A flight always has one tread fewer than it has risers, because the top step is the floor.
Rise and run calculator for stairs
You cannot pick a riser height directly because the risers have to divide the total rise exactly. The calculator divides the rise by your target riser, rounds to a whole number of steps, then divides back. That is why asking for 7-1/4 in on a 9 ft rise gives 7-3/16 in: fifteen risers is the count that fits, and 108 ÷ 15 = 7.2 in. Measure from finished floor to finished floor — a flooring layer you forget at 3/4 in becomes a 1/16 in error on every step.
The standard limits for a house are a 7-3/4 in maximum riser and a 10 in minimum tread. Most builders aim for about 7 in of rise and 11 in of run, which is easier to climb. The total run is the number of treads times the tread depth, 14 × 10 in = 11 ft 8 in for the default flight, and the stair length along the slope is the stringer length. The slope of a stair is the riser divided by the tread: 7.2 ÷ 10 = 0.72, an angle of 35.75°. Written as a roof pitch, that is 8.64 in 12.
Deck stair calculator
Deck stairs usually run to a fixed landing point, so the available run is the constraint rather than the rise. Switch to DECK mode and enter the available run: the calculator fits whole treads into that distance first and solves the risers to suit, instead of solving the run to fit the risers. Measure the deck rise from the top of the decking to the finished grade or the top of the landing pad, and remember that the pad settles while the deck does not. The riser height and stringer length for deck stairs come out of the same solve as an interior flight, and the stringer advice above applies: 2×12 stock for cut stringers, and the throat checked before you cut.
Concrete and outdoor stairs
Concrete and exterior steps use the same rise and run method. Measure the total rise from the finished slab or grade at the bottom to the top of the landing or door sill, then solve the flight as usual. Outdoor stairs are often built with a lower riser and a deeper tread than interior ones, something like 6 to 7 in risers and 11 to 14 in treads. That is common practice for comfort on wet or icy steps, not a code figure, and the IRC limits below still apply.
For solid poured steps, each step is a block as wide as the stair, one tread deep and as tall as its own height above the ground. Counting the bottom step as 1, step n is width × tread depth × (n × riser height). Add up the steps, add the landing if you pour one, and divide cubic inches by 46,656 to get cubic yards. For 4 steps with 7 in risers and 11 in treads, 48 in wide, the step heights are 7, 14, 21 and 28 in, which add up to 70 in. 48 × 11 × 70 = 36,960 cubic inches, and 36,960 ÷ 46,656 = 0.79 cubic yards (21.4 cubic feet), before the landing and waste. This page does not work out concrete volume; to turn the volume into bags, see the concrete calculator.
Stair angle and comfortable stairs
A comfortable stair angle sits between 30° and 37° for a main flight. The rule of thumb is that one riser plus one tread lands near 17-18 in, and two risers plus one tread lands near 25 in. The stair angle calculator above shows the exact angle for your flight. If the angle climbs past 40° the treads start to feel tight, and below 25° you end up with a ramp more than a stair.
The handrail follows the stair, so the rail angle is the stair angle the calculator shows: 35.75° on the default flight. Where a rail turns from the slope to level, each piece is mitered at half that angle, about 17.9°. IRC 2021 R311.7.8.1 puts handrail height at 34 in to 38 in, measured vertically from the line of the tread nosings. Guards must not let a 4 in sphere pass through (R312.1.3), and on the open side of the treads the limit is a 4-3/8 in sphere.
Residential stair code requirements
The IRC sets limits rather than prescribing dimensions. The key numbers that catch builders are the maximum riser height at 7-3/4 in (IRC R311.7.5.1), the minimum tread depth at 10 in (R311.7.5.2), and the rule that the tallest and shortest riser in a flight cannot differ by more than 3/8 in. Minimum headroom is 6 ft 8 in (R311.7.2), minimum clear width is 36 in (R311.7.1), and a landing must be at least 36 in deep (R311.7.6). Guards are required at 30 in above the floor below and stand 36 in tall (R312.1). The calculator warns when a riser is over 7-3/4 in or a tread is under 10 in. Headroom, width, landings and guards are measured on site. Local amendments override the IRC values, so check the code in force where you are working.
Stairs with landings, winders and L-shaped stairs
If the run is too long for the space, the choices are a steeper stair within the code limits, a landing that splits the rise into two flights, or winders that turn the corner. This calculator solves one straight flight, so a stair that turns or rests at a landing is solved as two flights:
- Pick a landing height that falls on a whole number of risers: landing height = riser height × risers in the lower flight.
- Solve the lower flight with the landing height as its total rise.
- Solve the upper flight with the total rise minus the landing height.
- Keep the riser height the same on both flights. The code's 3/8 in limit is measured within a flight, but a riser that changes at the landing still catches people out.
- Make the landing at least 36 in deep in the direction of travel (IRC R311.7.6).
For example, a 108 in rise solves to 15 risers at 7.2 in. Put the landing after 8 risers: 8 × 7.2 = 57.6 in, about 57-5/8 in. Entered as the total rise, 57-5/8 in gives 8 risers at 7-3/16 in, 7 treads, 5 ft 10 in of run and a 7 ft 6-11/16 in stringer. The upper flight is 108 − 57-5/8 = 50-3/8 in: 7 risers at 7-3/16 in, 6 treads, 5 ft 0 in of run and a 6 ft 6-5/16 in stringer. With a 36 in landing between them, a straight stair takes 13 ft 10 in of floor.
An L-shaped stair turns 90° at the landing and a U-shaped stair turns 180°, so the two flights sit side by side instead of end to end; the rise and run math is the same. Winders replace the landing with wedge-shaped treads that turn the corner. The code sets its own minimum depths for winder treads, so solve the straight parts here and lay out the winders on site.
Questions about stairs
How do you calculate stair stringers?
Take the total rise and the total run, and the stringer is √(rise² + run²). Mark the notches with a framing square set to the riser height on one arm and the tread depth on the other, then take one tread thickness off the bottom riser so the finished steps come out equal.
What is the maximum riser height?
IRC 2021 sets 7-3/4 in for dwelling stairs in R311.7.5.1. Commercial work under the IBC is tighter at 7 in. Local amendments override both, and your building official has the last word.
What is the 7-11 rule for stairs?
Shorthand for a 7 in riser and an 11 in tread. It sits inside the residential limits of a 7-3/4 in maximum riser and a 10 in minimum tread, and it climbs at 32.4712°, which is a comfortable stair to walk.
How many steps do you need for a 42 inch rise?
Six risers at exactly 7 in, with five treads. 42 ÷ 6 = 7, which is one of the rare rises that divides clean. At a 10 in tread that is 4 ft 2 in of run and a 5 ft 5-5/16 in stringer.
How many stairs do I need for a 9 foot ceiling?
About 16 risers and 15 treads. A 9 ft ceiling with a 2×10 floor above is about 118 in floor to floor, and 118 ÷ 16 is 7-3/8 in per riser. At 10 in treads the flight runs 12 ft 6 in. Measure your actual floor to floor, because the floor thickness changes the count.
How long is a 2×12 for a 5 step stringer?
Five risers at 7 in over four treads at 10 in is a 35 in rise and a 40 in run, so the diagonal is 53-1/8 in. A 6 ft board covers it with waste for the cuts.
Do the risers all have to be the same height?
Within 3/8 in. The tallest and the shortest riser in one flight cannot differ by more than that, which is why the riser count is solved before the height rather than the other way round.
How do you work out stairs for a deck?
A deck stair usually runs to a fixed landing point, so the run is the constraint. Switch to DECK mode and give it the available run: it fits the treads into that distance first and solves the risers to suit, instead of solving the run to fit the risers.
What is a comfortable stair angle?
Between 30° and 37° for a main flight. The rule of thumb behind it is that one riser plus one tread lands near 17-18 in, and two risers plus one tread lands near 25 in.
What does IRC say about stair tread depth?
IRC 2021 R311.7.5.2 sets a minimum tread depth of 10 in for dwelling stairs. The tread is measured from nosing to nosing, not from the riser face. Treads under 10 in trigger a warning.
How do you calculate stairs with landings?
Solve it as two flights. Pick a landing height that is a whole number of risers, solve the lower flight up to the landing and the upper flight from the landing to the floor above, and keep the riser height the same on both. The landing must be at least 36 in deep in the direction of travel.
How many stringers do I need for stairs?
It depends on the stair width and the tread material. A common rule of thumb is a stringer about every 16 in on center for 2× wood treads, so a 36 in wide stair usually gets three. Thinner and composite treads often need them closer, so follow the tread maker's span. This is common practice, not a code figure.
Should I use 2×10 or 2×12 for stair stringers?
Use a 2×12 for cut stringers. At a 7 in riser and 10 in tread each notch cuts about 5-3/4 in into the board, which leaves about 3-1/2 in of throat on a 2×10 and about 5-1/2 in on a 2×12. Common practice asks for at least 3-1/2 in and some jurisdictions want 5 in, so check locally.
How do you calculate concrete for steps?
Each step is width × tread depth × its height above the ground. Add the steps and the landing, then divide cubic inches by 46,656 for cubic yards. Four 48 in wide steps with 7 in risers and 11 in treads come to 36,960 cubic inches, or 0.79 cubic yards.
What is the standard rise and run for stairs?
IRC 2021 allows a riser of up to 7-3/4 in and requires a tread of at least 10 in for dwelling stairs. The comfortable target most builders use is about 7 in of rise and 11 in of run.
