How to use this calculator
Enter the total rise, the vertical distance in inches from one finished floor to the next. Set your preferred riser height (7.5" is a comfortable default), tread depth, and stairway width. The calculator instantly shows the number of risers, actual riser height, total horizontal run, stair angle, and stringer details.
The building code compliance indicator turns green when your riser height falls between 7" and 7.75" and your tread depth is at least 10". If either value is outside the IRC range, you'll see a warning with the specific issue.
IRC building code requirements for stairs
The International Residential Code (IRC) sets specific limits for residential staircases to ensure safety. Understanding these requirements before you cut your first stringer saves time, money, and potential inspection failures.
| Measurement | IRC Requirement | Recommended |
|---|---|---|
| Riser height | 7.75" maximum | 7" to 7.5" |
| Tread depth | 10" minimum | 10" to 11" |
| Stair width | 36" minimum | 36" to 42" |
| Headroom | 6'8" minimum | 7'0" or more |
| Riser variation | 3/8" max between any two | As uniform as possible |
How to cut stair stringers
1. Mark your framing square: Clamp stair gauges to the framing square at the riser height on one leg and the tread depth on the other. This ensures every layout line is identical.
2. Walk the square down the board: Starting at one end of a 2x12, align the gauges with the board edge and trace the rise and run. Slide the square down and repeat for each step.
3. Drop the stringer: At the bottom of the stringer, shorten the first riser by the thickness of one tread board. This compensates for the tread that will be added on top of each step.
4. Cut carefully: Use a circular saw for the main cuts, stopping short of the inside corners. Finish each corner with a handsaw to avoid over-cutting, which weakens the stringer.
Common stair building mistakes
Measuring to subfloor instead of finished floor: If you measure total rise before flooring is installed, your first or last riser will be off by the flooring thickness. Always account for finished floor heights at both top and bottom.
Forgetting to drop the stringer: Without subtracting one tread thickness from the bottom riser, your first step will be taller than the rest. This is the most common DIY stair mistake and a code violation.
Over-cutting stringer notches: Letting the circular saw blade run past the inside corner creates a stress point. Over time this can cause the stringer to crack under load. Always finish corners with a handsaw.
Too few stringers: Treads that span too far between stringers will flex and squeak. Space stringers no more than 16 inches apart for solid, quiet stairs.
Frequently asked questions
What is the standard riser height for residential stairs?
The IRC limits riser height to 7.75 inches maximum. Most builders aim for 7 to 7.5 inches as an ideal range for comfortable, safe stairs. The maximum variation between any two risers on the same staircase is 3/8 inch.
How do I calculate the number of stairs I need?
Divide the total rise (floor-to-floor height in inches) by your preferred riser height, typically 7.5 inches. Round to the nearest whole number to get the number of risers. The number of treads is always one less than the number of risers.
What is the minimum tread depth for residential stairs?
The IRC requires a minimum tread depth of 10 inches, measured from nosing to nosing. Many builders prefer 10 to 11 inches for comfort. Deeper treads make stairs feel more gradual and are especially appreciated on exterior deck stairs.
How many stringers do I need for a staircase?
Most residential staircases need at least 3 stringers. For wider stairs, add a stringer every 16 inches of width. A 36-inch wide staircase needs 3 stringers, while a 48-inch wide staircase needs 4. Adequate stringer spacing prevents tread flex and squeaking.