Structure
Stair calculator
Equal risers from the total rise, a total run from the tread you chose, and the stringer length between them. The 7¾ and 10 inch limits are the common IRC numbers, and your town may amend them.
Equal riser
7.27 in
15 risers, 14 treads, total run 11 ft 8 in.
- Risers
- 15
- Treads
- 14
- Total rise
- 9 ft 1 in
- Total run
- 11 ft 8 in
- Stringer length
- 14 ft 9 7/16 in
- Slope
- 37.9°
- Stringers to rip
- 3
Point to point. The plumb cuts are laid out on this line.
Three on a stair up to 36 inches wide, then another about every 16 inches. Confirm the tread span before you buy.
Risers = total rise ÷ target riser, rounded to a whole number. Riser height = total rise ÷ that count, so every riser matches. Treads = risers − 1. Total run = treads × tread depth. Stringer = √(total rise² + total run²). Neighbors: 14 risers at 7.79 in; 15 risers at 7.27 in; 16 risers at 6.81 in.
- Risers are divided equally. If the finished floor upstairs and downstairs differ in thickness, the first or last riser changes. Measure to the finished surfaces.
Planning estimate. Read the disclaimer before you buy or build.
In the field
-
Measure finished floor to finished floor
Total rise is the vertical distance from the surface you step off to the surface you step onto, including the flooring that will be there when the stair is done. A missing 3/4 inch of hardwood changes the top or bottom riser.
-
Pick a target near 7 to 7½ inches
The form starts at 7½ inches. The calculator rounds the rise divided by that target to a whole number of risers, then divides evenly so every riser matches. It also shows the neighbor counts, one riser fewer and one more.
-
Keep the tread at 10 inches or more, nosing to nosing
Ten inches is the usual US residential minimum, measured between the nosings, not the flat of the board behind an overhang. If the tread is 11 inches or more, nosing rules often relax. Under 10, the page flags it.
-
Read the stringer as the layout line
The length is the hypotenuse of the total rise and the total run. You lay the risers and treads out along that line. The plumb cut at the top and the level cut at the bottom are on the line. They are not extra length you have to add.
-
Check headroom and width as their own measurements
A common residential minimum headroom is 6 feet 8 inches, measured above the nosing line. A common minimum width is 36 inches. This page suggests how many stringers to rip from the width. It does not draw the headroom triangle, because that depends on the floor opening.
A stair is a stack of equal verticals and equal horizontals. The comfort and the code both come from keeping those equals inside a small range. The calculator’s only real job is to divide your floor-to-floor height into a whole number of risers that match, then tell you how far the stair will reach and how long the stringer is.
The default flight
Nine feet one inch is 109 inches. People measure that as 9 feet and then forget the extra inch, and the inch is enough to push a riser over the line. Type 109, not 108, if the tape says 9 feet 1.
A target of 7½ inches divides 109 into 14.53 risers. Rounded, that is 15. Each riser is 109/15, or 7.27 inches. That is under 7¾. The neighbor on the low side, 14 risers, would be 7.79 inches, which the page would flag. The neighbor on the high side, 16 risers, would be 6.81 inches, legal on the maximum and a bit fine-grained for some people. The result lists those neighbors so you can choose a count with your eyes open. The one it leads with is the rounded target, not a secret optimization.
Fourteen treads at 10 inches is a total run of 140 inches, 11 feet 8 inches. That is how much floor the stair consumes in plan, before any landing. If you do not have 11 feet 8 inches, you do not have this stair. You have a winder, a landing that turns, or a steeper riser. Winders have their own rules and this page does not draw them.
The stringer is the diagonal of that 109 by 140 triangle. You can compute it as the square root of 109 squared plus 140 squared. Lay the riser height and the tread depth out along that board with a framing square. The length the page gives is the line you need between the outside of the cuts. Dropping the stringer for a tread thickness is a separate subtraction carpenters do so the first and last riser stay right when the tread stock is laid on. If your treads are 1½ inches thick and you forget the drop, the bottom riser is tall by that thickness. The page does not subtract it, because tread stock varies. Mark it on the stringer when you know the tread.
Three stringers on a 36 inch stair is the suggestion: edges and center. At 52 inches of width the suggestion becomes four. Take it as a prompt to look at the tread span, not as a hardware schedule.
The limits, and whose they are
The International Residential Code, in the edition most recent articles are quoting (the 2021 text is typical), limits residential risers to 7¾ inches and treads to at least 10 inches for the stairs R311.7 covers. Variation between the tallest and shortest riser in a flight, or between treads, is limited to ⅜ inch. Headroom is commonly 6 feet 8 inches. Width is commonly 36 inches above the handrail, with the width at the handrail allowed to be narrower. Nosings on solid risers are commonly ¾ inch to 1¼ inch, and they are not required when the tread is deep enough, often 11 inches. Open risers have a sphere rule.
Those numbers move when a state or city amends the code, and they do not apply to every set of steps. The code section itself has exceptions, including some stairs that are not part of the required egress. A garden step in the yard is not the same review as the stair in a house. The flags on this page compare your number to the common residential limits and stop there. They turn red, in words, when you are over 7¾ or under 10. They do not turn green and call the stair approved.
If the rounding gives you 7.80, add a riser. The target field is how you steer. Drop the target a little and the round may jump to the next count. Or just read the neighbor line and build that count on purpose, by changing the target until the riser count you want is the one in the hero. Every riser still has to be the same. You do not “take the extra” on the bottom step. That is the ⅜ inch rule, and it is also how people trip.
Measure the rise you will actually climb
Subfloor to subfloor is the wrong number if the finishes differ. Tile and a mud bed downstairs, bare plywood upstairs until next year, and the bottom riser is short the day the tile goes in, or tall if you measured the other way. The reliable method is to measure the finishes that will be there, or to decide the finishes now and include them. Write the number on the stringer stock.
A landing breaks one flight into two. Each flight has its own equal risers, and the landing is a tread that is deeper than the others, with its own size rules. Do not run this calculator across a landing as if the landing were one of the 10 inch treads. Compute the lower flight from the bottom floor to the landing surface, and the upper flight from the landing to the upper floor. The two flights can share a riser height if you plan them together. They do not have to, but a house is more comfortable when they do.
Headroom is the reason a stair that fits in plan still fails. The 6 foot 8 inch line is measured vertically from the imaginary slope that connects the nosings, up to the ceiling or the beam or the header of the opening. If a beam crosses the opening low, the stair has to move or the beam has to. The calculator would need the floor thickness, the opening length, and the location of every obstruction to judge that. Measuring it in place is faster and less likely to be a fiction. Take a tape and a level before you cut the stringers, not after the drywall is on.
Materials around the stair
Stringer stock is often a 2×12, and the board-foot tally of three 2×12s is a job for the board-foot calculator. Enter them as nominal 2 by 12 by the length you must buy, which is longer than the theoretical stringer if the stock does not come in the exact foot. Three stringers at 14 feet when the line is a bit under that is the usual waste. The page’s stringer length tells you the shortest line. It does not round up to a lumber length. You do that.
Treads and risers are pieces: one riser board per riser, one or two tread boards per tread if you are building from decking. The deck calculator is the right companion when the stair leaves a deck and the treads are the same board as the deck. Count the treads from this page, then add those boards to the deck order instead of hoping the deck waste percent covers a flight of stairs. It will not, reliably.
Finish flooring at the top and bottom is the flooring calculator and, if you are painting the stringers and the risers, the paint calculator. Stair treads that are the finish floor are not in the room’s rectangle. Cut them as their own pieces, with more waste, because each tread is a fixed length with a nosing.
Handrails, guards, and the 4 inch sphere rule for open guards are outside the riser math. A handrail has a height range and a grip size. A guard is required when the drop is deep enough, and the exact trigger is in the code. Plan the rail when you plan the width, because the rail steals a couple of inches from the walking line and the minimum width is measured with that in mind.
Cut one test riser and set the stringer in place before you cut the other two. The hero number is only as good as the 109 you typed. A tape that was kinked, a floor that is out of level by a half inch across the stair width, and a finish you forgot are all larger than the rounding error between 7.26 and 7.27. The math divides evenly. The house does not, until you measure it as if it does not.
Questions worth asking first
Why is the default riser 7.27 inches?
The default total rise is 109 inches, which is 9 feet 1 inch. Divided by a 7½ inch target, that is 14.53, which rounds to 15 risers. 109 divided by 15 is 7.266, shown as 7.27. Fourteen risers would be 7.79 inches, over the usual 7¾ inch maximum. The rounding landed on the count that still fits. There are 14 treads, the total run is 140 inches, which is 11 feet 8 inches, and three stringers are suggested for a 36 inch width.
What code is the 7¾ inch from?
IRC R311.7.5.1 sets a maximum riser of 7¾ inches for the stairs that section covers, and R311.7.5.2 sets a minimum tread depth of 10 inches. The greatest riser in a flight may not exceed the smallest by more than 3/8 inch, which is why this page forces every riser to the same division. Local amendments are common. Some cities are stricter. The page is a planning check against those widely adopted numbers, not a permit.
Why are there fewer treads than risers?
Each step up is a riser. The flat part you stand on, between risers, is a tread. From one floor to the next you climb one more riser than the number of treads, because the upper floor is the last landing. A single step up is one riser and no tread. A normal flight is risers minus one.
What does the stringer suggestion mean?
Three stringers for a stair up to 36 inches wide: two at the edges and one in the middle. Wider than that, the page adds another stringer for each additional 16 inches. That is a carpentry habit so the tread is not spanning too far. It is not a rated span for the lumber you picked. A thick tread can span more. A thin one cannot. If the stair is the access to a deck, look at the deck and stair details together before you rip three 2×12s and call it done.
How do I handle different flooring thickness at the top and bottom?
Measure to the finished surfaces, or account for the difference in the top or bottom riser on purpose. If both floors get the same hardwood, the total rise between subfloors is the rise you want and the finishes cancel. If the bottom is a thick tile and the top is a thin vinyl, the bottom riser grows unless you adjust the stringer. The 3/8 inch uniformity rule is why you do this before you cut, not after the first riser is proud of the others.