Work out the number of risers, riser height, total run, and stringer length for a staircase — and see whether it meets IRC code limits.
risers = round(total_rise ÷ target); stringer = √(rise² + run²)
Divide the total rise by a comfortable target riser (about 7.5″) and round to a whole number of risers; treads are one fewer than risers.
The IRC sets a maximum riser of 7.75″ and a minimum tread depth of 10″. This calculator flags whether your design passes and explains why if it doesn't.
For a total rise of 9 ft (108 inches) with a comfortable target riser of 7.5 inches: 108 ÷ 7.5 = 14.4, which rounds to 14 risers. That gives an actual riser height of 108 ÷ 14 = 7.71 inches — just under the 7.75-inch IRC maximum, so it passes.
With 14 risers you have 13 treads. At a 10.5-inch tread depth, the total run is 13 x 10.5 = 136.5 inches, about 11.4 ft of horizontal space. The stringer length — the diagonal board the steps attach to — is the square root of (108² + 136.5²) = 174 inches, or about 14.5 ft. Order stringer stock longer than this to allow for the cuts.
The IRC allows no more than 3/8 inch variation between the tallest and shortest riser in a flight. Uneven risers are a trip hazard and a common inspection failure — divide the total rise evenly and don't fudge the top or bottom step.
Limits are from IRC R311.7. The pass/fail check shows the exact reason for a failure (e.g. “riser exceeds 7.75″ max”).
7.75 inches under the IRC, with a minimum tread depth of 10 inches.