Staircase Calculator
Calculate staircase dimensions to building code. Get number of risers, tread depth, total run, and stringer length from your floor-to-floor height.
Quick Answer
A standard 9-foot floor-to-floor height requires 14-15 risers at 7.2-7.7 inches each, with treads of 9.8-10.3 inches deep. The total horizontal run is about 10-11 feet, and the stringer length is approximately 13.5-14.5 feet. Building code requires risers of 7-8 inches and treads of 9-11 inches.
Measure from finished floor to finished floor. Standard: 8 ft (single story) to 9 ft (modern homes).
Code requirement: 7" min, 8" max. Most comfortable: 7-7.5". The calculator adjusts to even divisions.
Staircase Dimensions
Building Code Requirements (IRC 2021)
About This Tool
Building a staircase requires precise calculations that must conform to building codes, or you will end up with stairs that are uncomfortable, unsafe, or fail inspection. The most common mistake in staircase construction is not measuring the total rise accurately, which leads to uneven risers. Even a 1/4-inch variation between risers is noticeable and creates a tripping hazard. This calculator takes your floor-to-floor height and desired riser height, then computes all the dimensions you need to build code-compliant stairs.
The Riser-Tread Relationship
The comfort and safety of a staircase depends primarily on the relationship between riser height and tread depth. The most widely used rule is that the riser height plus tread depth should equal 17 to 18 inches. This rule, based on the average human stride, ensures that ascending and descending feel natural. A 7.5-inch riser with a 10-inch tread (7.5 + 10 = 17.5) is considered ideal by most builders and architects. Steeper stairs (8-inch risers, 9-inch treads) save horizontal space but feel steep. Shallower stairs (7-inch risers, 11-inch treads) are more gradual and comfortable but require more floor space.
Measuring Total Rise
Total rise is the vertical distance from the surface of the lower finished floor to the surface of the upper finished floor. This is the single most important measurement in staircase design. Measure in multiple locations, as floors are rarely perfectly level. Use the largest measurement to ensure no riser exceeds the code maximum. Account for finished floor thickness on both levels. If the upper floor is not yet installed, add the thickness of the subfloor, underlayment, and finished flooring to your measurement. A measurement error of even 1/2 inch distributed across 14 risers creates a 1/28-inch error per riser, which is acceptable, but a 1-inch error creates a noticeable 1/14-inch variation.
Stringer Design and Cutting
Stringers are the diagonal structural members that support the treads and risers. For residential stairs, use 2x12 lumber for stringers. After marking the riser and tread cuts with a framing square, the effective depth of the stringer at the thinnest point (the throat) must be at least 3.5 inches. If it is less, the stringer will be weak and may crack under load. Most staircases use three stringers: one on each side and one in the center. For stairs wider than 36 inches, a center stringer is essential to prevent tread bounce. The stringer length calculated by this tool is the hypotenuse of the total rise and total run, which tells you the minimum board length you need.
Code Requirements Explained
The International Residential Code (IRC) sets the minimum standards that most U.S. jurisdictions follow. Maximum riser height is 7-3/4 inches (some jurisdictions use 8 inches). Minimum tread depth is 10 inches (some allow 9 inches, measured from nosing to nosing). The maximum variation between any two risers or any two treads in the same staircase is 3/8 inch. Minimum stair width is 36 inches clear (measured above the handrail). Minimum headroom is 6 feet 8 inches measured vertically from the nosing line. Handrails are required on at least one side and must be 34 to 38 inches above the nosing line. Always check your local building code, as some jurisdictions have adopted stricter standards.
Common Staircase Mistakes
The most frequent errors in staircase construction include: not accounting for finished floor thickness when measuring total rise, which leads to the first or last riser being a different height than the others; cutting stringers with the wrong riser or tread dimensions because of math errors; not dropping the stringers (lowering them by the thickness of the tread material) so the first step is the same height as all others; using lumber that is too short, warped, or has large knots at the throat; and not securing the stringers properly to the header and floor framing. Each of these mistakes results in stairs that are uncomfortable, unsafe, or require costly rework.
Frequently Asked Questions
What is the ideal riser height for stairs?
How do I calculate the number of stairs I need?
What is the 17-18 rule for stairs?
How long does a stringer need to be?
Do I need a permit to build stairs?
What is the minimum stair width?
You might also like
Was this tool helpful?