Stair Calculator
Estimate stair quantity and materials needed for any construction project size.
How to Calculate Stairs?
Stair design starts with two measurements: the total rise (vertical distance from finished floor to finished floor) and the available run (horizontal space for the staircase). Divide the total rise by the target riser height to find the number of risers. The number of treads is one less than the number of risers (the top floor serves as the final step). The calculator above determines the number of risers, treads, actual riser height, tread depth, total run, and stair angle from your inputs, ensuring the result meets building code requirements.
What Are the IRC Code Requirements for Stairs?
The International Residential Code (IRC Section R311.7) sets clear limits. Maximum riser height: 7-3/4 inches. Minimum tread depth: 10 inches. Minimum stair width: 36 inches clear. Minimum headroom: 6 feet 8 inches measured vertically from the nosing line. Maximum variation between risers: 3/8 inch. Nosing overhang: 3/4 inch minimum, 1-1/4 inch maximum. Handrails required on at least one side, 34-38 inches above the nosing line. These dimensions represent the minimum acceptable standards. Many builders use 7 to 7.5-inch risers with 10 to 11-inch treads for a more comfortable climbing experience.
How to Determine the Number of Risers?
Divide the total rise by the target riser height. A floor-to-floor height of 108 inches (9 feet) divided by 7.5-inch risers gives 14.4. Since you cannot have a fraction of a riser, round to 14 or 15. With 14 risers: 108 / 14 = 7.71 inches each (under the 7.75 max). With 15 risers: 108 / 15 = 7.20 inches each. Both options are code-compliant. The 15-riser stair has a gentler climb but requires more horizontal run. The choice depends on how much horizontal space is available. The calculator shows the actual riser height for each option so you can pick the best fit.
What Is the Ideal Riser-to-Tread Ratio?
A comfortable stair follows the rule: riser + tread = 17 to 18 inches. A 7.5-inch riser pairs with a 10-inch tread (total 17.5). A 7-inch riser pairs with a 10.5 or 11-inch tread. Another formula used by architects is 2R + T = 24 to 25 inches, where R is the riser height and T is the tread depth. A 7.5-inch riser: 2(7.5) + T = 25, so T = 10 inches. Stairs that deviate significantly from these ratios feel either dangerously steep or awkwardly shallow. Building codes set the boundaries, but these comfort ratios produce the most natural climbing motion within those boundaries.
How to Calculate Stringer Length?
The stringer is the angled board that supports the treads and risers. Its length is the hypotenuse of the triangle formed by the total rise and total run. Total run = number of treads x tread depth. For 14 treads at 10 inches: 140 inches of total run (11.67 feet). With 108 inches of rise (9 feet): stringer length = square root of (108 squared + 140 squared) = square root of (11,664 + 19,600) = square root of 31,264 = 176.8 inches or 14.73 feet. A 16-foot 2x12 is the typical stringer material for this length. Most residential stairs need three stringers: one on each side and one in the center for a 36-inch-wide stair.
How to Cut Stair Stringers?
Mark the stringer using a framing square with stair gauges clamped at the riser height and tread depth. Starting from one end of the 2x12, step the square along the board, marking each riser and tread cut line. The number of steps matches the number of risers. At the bottom, trim the stringer by one tread thickness so the first step is the same height as all others after the tread is attached. At the top, the cut depends on how the stringer connects to the upper floor framing (resting on a ledger or hanging from joist hangers). Check all three stringers against each other before cutting to ensure they match precisely.
What Materials Are Used for Stairs?
Stringers: 2x12 dimensional lumber, typically pressure-treated for exterior stairs or Douglas Fir for interior. Treads: 1-inch hardwood (oak is the standard for finished interior stairs), 2x12 lumber for utility stairs, or composite decking for exterior stairs. Risers: 1x8 hardwood or plywood for interior, often omitted on exterior deck stairs (open riser). Handrails: shaped hardwood profiles for interior, pressure-treated or metal for exterior. Balusters: wood, metal, or glass panels filling the space between the handrail and treads. Pre-fabricated stair systems with pre-cut stringers, treads, and risers save time on standard configurations.
Common Stair Design Mistakes to Avoid
Inconsistent riser heights are the most dangerous error. If one riser is 7 inches and another is 7.75 inches, people trip because their feet expect a consistent step. Building codes limit variation to 3/8 inch between any two risers. Forgetting to subtract the tread thickness from the bottom riser is another common mistake, making the first step taller than the rest. Insufficient headroom (less than 80 inches) forces tall occupants to duck. Skipping the center stringer on a 36-inch-wide stair causes the treads to flex and bounce. Measure the total rise after the finished floor is installed on both levels, not before, because flooring thickness changes the total rise by 1/2 to 3/4 inch.
Frequently asked questions
How many risers for a 9-foot ceiling?
What is the maximum riser height per code?
How wide should stairs be?
What is the riser-tread comfort rule?
How many stringers do I need?
How long is a stair stringer?
Rate This Calculator
Your feedback helps us improve our tools