Stairs are one of the few parts of a house where being off by a small amount actually matters. Your legs learn the rhythm of a staircase quickly, and when one step is even a little taller than the rest, people trip. That’s why building codes care about it, and why it’s worth doing the math properly before you cut a single stringer.
This guide walks through how to calculate stair rise and run from scratch. When you’ve got your numbers, you can double-check them with the stair calculator.
The two words you need to know
- Rise is how high one step goes up. The vertical part is called the riser.
- Run is how deep one step is, front to back. This is the tread, the part you stand on.
The total rise is the full height from the bottom floor to the top floor. The total run is the horizontal distance the whole staircase covers.
What the code usually says
Rules differ by place, so check yours. In the US, the International Residential Code (which most local codes are based on) sets limits for homes, including a maximum riser height of 7¾ inches and a minimum tread depth of 10 inches. It also asks that the tallest riser in a flight is no more than ⅜ inch taller than the shortest. Stairs also need a minimum width (usually 36 inches) and enough headroom above them.
A comfortable staircase usually lands where rise plus run adds up to about 17 to 18 inches. Steeper than that feels like climbing a ladder. Shallower and the steps feel oddly long.
Step 1: Measure the total rise
Measure from the finished floor at the bottom to the finished floor at the top. “Finished” matters. If you’re going to add tile or hardwood later, that thickness changes the height. Measure at the point where the stairs will actually land, and double-check with a level, because floors aren’t always as flat as they look.
For our example, say the total rise is 108 inches (9 feet).
Step 2: Work out the number of risers
Pick a riser height you’d like to be near, then divide. A good starting point is about 7 to 7½ inches.
108 ÷ 7.5 = 14.4
You can’t build 0.4 of a step, so round to a whole number. 14 risers is the sensible choice here.
Step 3: Find the exact riser height
Now divide the total rise by the whole number of risers:
108 ÷ 14 = 7.71 inches (a little under 7 ¾)
That’s under the 7¾ inch limit, and every riser in the flight will be the same height. Equal risers are the whole point.
Step 4: Count the treads
There’s always one fewer tread than risers, because the top floor acts as the last step. With 14 risers you’ll have 13 treads.
Step 5: Choose the tread depth and find the total run
Pick a tread depth of at least 10 inches. Using the “17 to 18 inches” rule of thumb, 7.71 + 10 = 17.71, which is right in the range, so 10 inches works.
Total run = 13 treads × 10 inches = 130 inches, or about 10 feet 10 inches.
Check that you have that much floor space. If you don’t, you’ll need a different layout, such as a landing and a turn, or a steeper staircase that still stays within the code limits.
Step 6: Find the stringer length and angle
The stringer is the board that supports the treads, and it runs along the slope. You can find its length with the Pythagorean theorem:
√(108² + 130²) = √(11,664 + 16,900) = √28,564 = 169 inches, or about 14 feet 1 inch
So you’d need a board longer than that, and a bit more to account for the cut ends. The angle of the stairs is about 40 degrees, which is on the steeper side of normal.
Summary of the example
| Item | Value |
|---|---|
| Total rise | 108 in |
| Number of risers | 14 |
| Riser height | 7.71 in |
| Number of treads | 13 |
| Tread depth | 10 in |
| Total run | 130 in (10 ft 10 in) |
| Stringer length | about 169 in |
Common mistakes
- Measuring to the subfloor. If the finished floors will have different thicknesses at the top and bottom, the first and last risers need adjusting so they all end up equal.
- Rounding the riser height by eye. A tiny difference between steps is easy to feel but hard to see. Use the exact figure and mark it carefully.
- Counting treads the same as risers. It’s one fewer tread than risers.
- Not checking headroom. The stairs might work on paper, then the ceiling or a beam gets in the way. Check clearance before building.
- Ignoring local code. The numbers above are common US limits. Your area may have different ones, especially for commercial or outdoor stairs.
Quick checklist
- Measure the total rise, finished floor to finished floor.
- Divide by a target riser height (around 7 to 7½ in) and round to a whole number of risers.
- Divide total rise by that number to get the exact riser height.
- Treads = risers − 1.
- Pick a tread depth of at least 10 in, then multiply to get total run.
- Check you have the space and the headroom.
If you also want to estimate the concrete for a stair pad or landing, see our concrete calculator.
Related guides
- How to Calculate Concrete for a Slab
- How Much Gravel Do You Need?
- How to Calculate Insulation for Walls
See all construction and home project guides
This guide gives general estimates for planning. Materials, local codes and site conditions vary, so confirm the details for your project with a local supplier or professional.


