Calculate stair dimensions including rise, run, angle, and stringer length for any staircase.
The step count is the whole number of risers nearest to total rise ÷ desired rise, but never fewer than the smallest count that keeps each riser at or under 7¾ in (IRC R311.7.5.1).
| Dimension | Value | Code Limit | Pass? |
|---|---|---|---|
| Rise per Step | 7.71 in | 7¾" max (IRC R311.7.5.1) | ✓ |
| Tread Depth | 10.00 in | 10" min (IRC R311.7.5.2) | ✓ |
| Angle | 39.72° | 30°–50° recommended | ✓ |
Figures are from the International Residential Code (R311.7) and OSHA 29 CFR 1910.25. The IRC sets a maximum riser height but no minimum. Local amendments and other codes differ, so check your local building code before you build.
| Dimension | IRC (one- and two-family homes) | OSHA 1910.25 (general industry) |
|---|---|---|
| Max Rise | 7¾" | 9½" |
| Min Tread | 10" | 9½" |
| Riser variation in a flight | 3/8" max | see standard |
| Min Width | 36" | 22" |
| Headroom | 6'8" | see standard |
| Handrail height | 34"–38" | see standard |
A deck 40 inches above the ground with a 7.5-inch target riser looks like 5 steps, since 40 / 7.5 = 5.33 rounds to 5. Five steps would mean 8.00-inch risers, over the 7 3/4 inch limit in the International Residential Code, so the page does not accept that count. It raises the answer to 6 steps of 6.67 inches and prints a line under the Solve by menu saying so. That rule, nearest whole number but never fewer steps than the code maximum allows, is the heart of this page, and the sections below show it with real numbers.
In Desired Rise per Step mode: Steps = the larger of (Total Rise / Desired Rise, rounded to the nearest whole number) and (Total Rise / 7.75, rounded up). Rise per Step = Total Rise / Steps. In Number of Steps mode you type the count and only the division is done, with no raising. Then Total Run = (Steps - 1) x Tread, because the floor above acts as the last tread. Angle = arctan(Total Rise / Total Run), and Stringer Length = the square root of Total Rise squared + Total Run squared. Values show to two decimals.
Defaults first: Total Rise 108, Desired Rise 7.5, Tread 10 inches. 108 / 7.5 = 14.4 rounds to 14, and 108 / 7.75 = 13.94 rounds up to 14, so 14 steps. Rise per Step = 108 / 14 = 7.71 in, Total Run = 13 x 10 = 130 in, Angle = arctan(108 / 130) = 39.72 degrees, Stringer = the square root of 108 squared + 130 squared = 169.01 in, about 14 ft 1 in. A 36-inch deck gives 36 / 7.5 = 4.8, so 5 steps of 7.20 in, run 40 in, angle 41.99 degrees and stringer 53.81 in, with three green checks.
When the code floor takes over. The 40-inch deck: 40 / 7.5 rounds to 5, but 40 / 7.75 = 5.16 rounds up to 6, so the page uses 6 steps, Rise per Step 6.67 in, Total Run 50 in, Angle 38.66 degrees and Stringer 64.03 in. Another case is Total Rise 120 with Desired Rise 9: 120 / 9 = 13.3 gives 13, the floor is 16, and the page shows 16 steps of 7.50 in with the note "Here that raised the count from 13 to 16 steps." Solve by Number of Steps instead and enter 5 for the 40-inch deck: the riser becomes 8.00 in and the Pass column shows a red cross.
Metres. Switching Units to Meters / cm converts what is typed, so the defaults become Total Rise 2.743, Desired Rise 0.191 and Tread 0.254. The answer is the same 14 steps, 39.72 degrees and a Total Run of 3.30 m, with a stringer of 4.29 m. Rise per Step shows 0.20 m because only two decimals are printed (7.71 in is about 0.196 m), so read heights in inches or work in centimetres if you need finer values. Rise plus tread of 17.71 in sits inside the traditional 17 to 18 inch rule of thumb, which is not a code requirement.
Riser at most 7 3/4 inches (IRC R311.7.5.1), tread at least 10 inches (R311.7.5.2) and an angle between 30 and 50 degrees. It is a quick screen only; the IRC also limits riser variation within a flight to 3/8 inch, which the page does not check.
No. The IRC sets a maximum riser of 7 3/4 inches but no minimum. The page adds a note in the Rise per Step row when the riser falls under 4 inches, suggesting you check local code.
No. Steps counts risers. Because the top step is the upper floor, a staircase with 14 risers has 13 treads, which is why Total Run is 13 times the tread.
No. In Desired Rise per Step mode it never lets a riser exceed 7 3/4 inches, so it raises the count of steps and the line under the Solve by menu tells you by how many.
Treat it as a planning aid. Local amendments and other codes differ, and OSHA 1910.25 has its own figures for general industry, so confirm with your local building department.