Calculator
Stair stringer calculator with riser height and run
Divide the total rise by the tallest riser you allow and round up: that is the number of risers. There is one fewer tread than risers, and the treads add up to the total run.
Lay out a stair stringer
Measure the total rise in inches, from the finished surface of the lower floor or landing to the finished surface of the upper floor. Pick a tread depth. The boxes start with the example stair in the drawing below. The last two boxes are settings: the tallest riser allowed (the IRC home limit is 7-3/4 inches) and the actual width of the stringer board.
- Number of risers
- –
- Each riser
- –
- Number of treads
- –
- Total run
- –
- Stringer diagonal
- –
- Notch depth (square to the board edge)
- –
- Throat left
- –
- Steepness (riser / tread)
- –

Formula: risers = total rise / tallest riser, rounded up. Each riser = total rise / risers. Treads = risers – 1. Total run = treads x tread depth. Diagonal = square root of (rise squared + run squared). Notch depth = riser x tread / square root of (riser squared + tread squared); throat = board width – notch depth. Follow your local building code where it differs.
Parts of a stair stringer
How the stair math works
Total rise sets everything. Measure it from the finished lower surface to the finished upper surface. If flooring or decking still has to go on, add its thickness where it will change the height.
Risers. Divide the rise by the tallest riser you allow and round up. 42 inches divided by 7.75 is 5.4, so the stair needs 6 risers, and 42 divided by 6 gives 7 inches each.
Treads. When the upper floor serves as the top step, there is one tread fewer than risers. Six risers means five treads. At 10.5 inches each, the total run is 52.5 inches.
Stringer length. The diagonal is the hypotenuse of the rise and the run: the square root of 42 squared plus 52.5 squared, about 67.2 inches. Buy stock long enough to cover it plus the cuts at the top and bottom.
Keep every step the same. The IRC lets the tallest and shortest riser in a flight differ by no more than 3/8 inch, and the same for treads. OSHA’s construction rule allows 1/4 inch.
Stair limits side by side
Homes follow the residential code your area adopts, often the IRC. Workplaces follow OSHA: 1910.25 for general industry, 1926.1052 for construction stairs.
| Item | IRC 2021 (homes) | OSHA 1910.25 (workplace) | OSHA 1926.1052 (construction) |
|---|---|---|---|
| Tallest riser | 7-3/4 in | 9.5 in | Not set; angle and uniformity rules apply |
| Shallowest tread | 10 in | 9.5 in | Not set; angle and uniformity rules apply |
| Angle | Not set as an angle | 30 to 50 degrees | 30 to 50 degrees |
| Step-to-step difference | 3/8 in within a flight | Uniform between landings | 1/4 in in any stairway system |
| Width | 36 in | 22 in | Landings at least 22 in wide (temporary stairs) |
| Headroom | 6 ft 8 in | 6 ft 8 in | Check the rule |
| Landings | One every 12 ft 7 in of rise; 36 in deep | At least 30 in deep | 30 in deep, every 12 ft of rise (temporary stairs) |
| Handrail needed | 4 or more risers | Per 1910.28 | 4 or more risers, or over 30 in of rise |
| Handrail height | 34 to 38 in | Per 1910.28 | 30 to 37 in |
Local codes amend the IRC. OSHA’s 9.5 inch riser and tread limits don’t apply to standard stairs installed before January 17, 2017.
Source: Boulder County: residential stairways, handrails, ramps and guards (2021 IRC sections 311 and 312); Washington State WAC 51-51-0311: IRC R311.7.3 vertical rise; OSHA 29 CFR 1910.25: stairways (general industry); OSHA 29 CFR 1926.1052: stairways (construction)
Laying out the stringer
Clamp stair gauges to a framing square: one at the riser height on the tongue, one at the tread depth on the blade. Set the square on the board with both gauges against the top edge and trace the riser and the tread. Slide it along so the next mark starts where the last one ended, and repeat for every step.
Mark the top and bottom cuts last. The bottom cut sits on the lower floor. The top cut meets the upper floor or the ledger the stringer hangs from.
When the treads go on top of the cut stringer, trim the bottom of the stringer by one tread thickness. Otherwise the first riser ends up taller than the rest by that amount, and the top one shorter.
Cut one stringer, test it in place, then use it as the pattern for the others.
Stringers for deck stairs
Wisconsin’s deck rules give a clear example of the limits many codes put on cut stringers. Stringers must be 2x12s. Cut stringers can be no more than 18 inches apart on center and can span no more than 6 feet. The throat left under each notch must be at least 5 inches.
A dry 2×12 is 1-1/2 by 11-1/4 inches under the national softwood lumber standard. Use the width you measure on your own board in the calculator’s last box.
Where the stair needs a longer span, solid stringers with tread brackets or a mid-span support are the usual answers. Your local building department sets which one it accepts.
Stair stringer questions
How many steps do I need for a 48 inch rise?
With a 7-3/4 inch tallest riser, 48 divided by 7.75 is 6.2, so round up to 7 risers of about 6.86 inches. That gives 6 treads; at 10 inches each the run is 60 inches.
How long a stringer do I need for an 8 foot rise?
96 inches over 7.75 rounds up to 13 risers of about 7.38 inches. With 12 treads of 10 inches the run is 120 inches, and the diagonal is about 153.7 inches. Add length for the end cuts.
What is the maximum riser height?
7-3/4 inches under the 2021 IRC for homes. OSHA allows 9.5 inches on standard stairs in workplaces under its general industry rule.
What is the minimum tread depth?
10 inches under the IRC, measured nosing to nosing. OSHA’s general industry rule sets 9.5 inches.
How far apart should stair stringers be?
Wisconsin’s deck code, as one example, caps cut stringers at 18 inches on center. Check the rule your building department uses.
What is the throat of a stair stringer?
The solid wood left between the back corner of each notch and the bottom edge of the board. Wisconsin’s deck code requires at least 5 inches.
