A flight is a total rise split into equal steps, so careful measuring matters more than the arithmetic. If the stairs come off a deck, the deck step calculator is the page for that job.
How to use this calculator
- Measure the total rise from the finished floor at the bottom to the finished floor at the top. Carpet or tile that goes down later adds height, so measure with it in place or add its thickness.
- Enter the rise in the unit you measured in, and measure again before you type it, because every cut depends on that figure.
- Set the maximum riser height. The starting value is the code limit of 7.75 inches. A lower value gives a gentler climb with more steps.
- Enter the tread depth, measured from the front edge of one step to the front edge of the next. The starting value is the code minimum of 10 inches, and a deeper tread gives more foot room.
- Read the riser count, riser height and stringer length, then lay out the stringer as described below. Cut a test riser from scrap before you cut the full set.
- Use the stringer length with the board feet calculator to work out the lumber.
Worked examples
Deck steps to the yard
Total rise: 54 in
- Risers
- 7 steps
- Riser height
- 7.71 in
- Treads
- 6
- Total run
- 60.0 in
- Stringer length
- 6.73 ft
- Stair angle
- 37.6°
Basement stairs
Total rise: 99 in
- Risers
- 13 steps
- Riser height
- 7.62 in
- Treads
- 12
- Total run
- 120.0 in
- Stringer length
- 12.96 ft
- Stair angle
- 37.3°
Lower riser target
Total rise: 108 in · Maximum riser height: 7 in
- Risers
- 16 steps
- Riser height
- 6.75 in
- Treads
- 15
- Total run
- 150.0 in
- Stringer length
- 15.40 ft
- Stair angle
- 34.0°
Deeper treads
Total rise: 108 in · Tread depth: 11 in
- Risers
- 14 steps
- Riser height
- 7.71 in
- Treads
- 13
- Total run
- 143.0 in
- Stringer length
- 14.93 ft
- Stair angle
- 35.0°
Total run for common floor-to-floor heights and tread depths
| Total rise | Tread depth: 10 in | Tread depth: 11 in |
|---|---|---|
| 7 ft | 100.0 | 110.0 |
| 8 ft | 120.0 | 132.0 |
| 9 ft | 130.0 | 143.0 |
| 10 ft | 150.0 | 165.0 |
Each cell: Total run (in). Inputs not in the table use the calculator's starting values.
How the calculation works
The calculator divides the total rise by your maximum riser height and rounds up to a whole number of risers. That count is the fewest equal risers that keep each one at or under your limit, so the riser height never comes out above the maximum.
The top riser climbs straight onto the upper floor, so only the treads between risers count. Total run is that tread count times the tread depth. Stringer length is the diagonal across the total rise and the total run, and stair angle is the slope of one step, the riser height over the tread depth.
The calculator does not size lumber or flag code violations, so treat its output as an arithmetic check.
Code limits to check
The limits below come from the International Residential Code (IRC). Local codes can be stricter or differ in other ways, and your building department decides what passes inspection.
- Maximum riser height: 7.75 inches.
- Minimum tread depth: 10 inches.
- Largest difference allowed between risers, or between treads, in a flight: 0.375 inch.
- Minimum stair width: 36 inches.
- Minimum headroom: 80 inches.
- Handrail height above the nosings: 34 to 38 inches.
- Handrail threshold: 4 risers or more, with a handrail on at least one side.
- Minimum landing depth for a straight run: 36 inches.
- Minimum guard height on the open side of the stairs: 34 inches.
Laying out the stringer with a framing square
A stringer is the sloped board that carries the treads and risers. Set a framing square so the riser height runs along one leg and the tread depth along the other, mark both, then slide the square down the board and repeat for each step.
Check the top and bottom steps against the real floors before you cut the rest, since small errors are hardest to fix there. If the open side needs balusters, the spindle spacing calculator covers their spacing.
Mistakes to avoid
- Measuring to the subfloor. The top step ends up short by the thickness of the finish you add later.
- Cutting each stringer from its own measurements instead of copying one layout.
- Treating the result as final. Check every riser, tread and rail figure against the limits above.
- Ignoring the landing and the width. Check the floor space at the top and bottom before you commit to a layout.
Adjusting the bottom step for tread thickness
Treads sit on top of the stringer, so the first step is taller than the rest by the thickness of a tread. Cut that thickness off the bottom of the stringer so the first riser matches the others once the tread is on. Check this against the real floor before you cut the other stringers.
How to cut a stair stringer
Cut along your marks with a circular saw, and stop at each inside corner. Finish the corners with a handsaw so you do not cut past the line and weaken the board. Use the first stringer as a pattern and trace it onto the others, so every stringer matches.
When do stairs need a landing?
A landing is a flat platform that breaks up a tall flight. Under the IRC, one flight can rise no more than 151 inches between floors or landings, and a straight landing must be at least 36 inches deep. For decks, the AWC deck guide asks for an intermediate landing once the stairs climb past 144 inches.
Common questions
How to calculate stair stringers for a deck?
Measure the total rise from the top of the deck surface to the finished surface at the bottom. Enter it with the riser and tread you want, then lay out each stringer from the riser count and riser height. Check the handrail and guard limits above before you frame.
How do you calculate rise and run?
Rise is the vertical distance the stairs climb, and run is the horizontal distance the treads cover. Divide the total rise by the number of risers for the riser height, and multiply the treads by the tread depth for the run.
How much floor space does a staircase need?
Multiply the total run by the stair width, which must be at least 36 inches. Add the landing depth at the ends, which is at least 36 inches for a straight run.
How many stair stringers do I need, and how far apart?
Space cut stringers no more than 18 inches apart, measured center to center. A stair at the minimum 36 inches width needs at least 3 stringers cut stringers, and wider stairs need more to hold that spacing. Also check your tread material's span rating.