
Web Scripts & Software
DEV3 Stair Calculator: Rise, Run & Stringer Layout — Source Code (React + Tailwind)
from $29
Live demoEveryday tool
Free, no sign-up. Runs in your browser; nothing is uploaded. Buy the source code: $29 Regular / $69 Extended
Floor to floor. 108, 9' or 108 1/2
Blank = size treads by rule
Max riser 7.75 in, min tread 10 in, headroom 80 in, width 36 in. Other regions (UK Part K, Canada NBC, India NBC) differ: use Custom limits.
15 risers x 7 3/16" (7.2) and 14 treads x 10 5/16" (10.3)
Passes every IRC residential check entered.
Cut the bottom of each stringer short by 1" (1) (the tread thickness) so the first step equals the others. Framing square: set the blade at 10 5/16 and the tongue at 7 3/16 (inches) and step off 15 times.
| Risers | Riser | Tread | Total run | Angle | Code | |
|---|---|---|---|---|---|---|
| 13 | 8 5/16" (8.308) | 9 3/16" (9.192) | 110 5/16" (110.308) | 44.4 | fail | |
| 14 | 7 11/16" (7.714) | 9 13/16" (9.786) | 127 3/16" (127.214) | 40.3 | fail | |
| 15 | 7 3/16" (7.2) | 10 5/16" (10.3) | 144 3/16" (144.2) | 36.8 | pass | |
| 16 | 6 3/4" (6.75) | 10 3/4" (10.75) | 161 1/4" (161.25) | 33.8 | pass | |
| 17 | 6 3/8" (6.353) | 11 1/8" (11.147) | 178 3/8" (178.353) | 31.2 | pass |
Sources, as of 2026-11: IRC 2021/2024 R311.7 (riser 7 3/4 in max, tread 10 in min, headroom 6 ft 8 in, width 36 in, 151 in max rise per flight) and IBC 2021/2024 section 1011 (riser 4 to 7 in, tread 11 in min, 12 ft max rise per flight). Local codes can amend these; confirm with your building department.
Need Stair Calculator: Rise, Run & Stringer Layout as a full mobile or web app? We build it in about a week. Built in about a week, from $99. Send your requirements or SOW; you get a fixed quote and a delivery date.
The stair calculator: rise, run & stringer layout stays free to use online. If you want the code to run, edit and ship in your own project, get the full source from the DEV3 Marketplace. Instant download, 6 months of support.
Get the full app behind this tool. Buy once, own the source, and try each one live first.

Web Scripts & Software
from $29
Live demo
Web Scripts & Software Mobile app
from $99
Live demo
Enterprise SaaS Starters
from $99
Live demo
Enterprise SaaS Starters
from $99
Live demo
Web Scripts & Software
from $99
Live demo
Web Scripts & Software Mobile app
from $99
Live demo
Web Scripts & Software Mobile app
from $99
Live demo
Web Scripts & Software Mobile app
from $99
Live demoGood stairs have equal risers, equal treads and an angle that feels natural. This calculator does the arithmetic and checks the result against building rules before you cut a single board.
The number of risers is the total rise divided by the target riser, rounded. Every riser is then the total rise divided by that number, which keeps them exactly equal. There is one tread fewer than risers because the top of the stair is the upper floor. The stringer length is the hypotenuse of the whole rise and run. The throat equals the board depth minus the distance from the notch corner to the cutting line.
Keep all risers within 3/8 inch of each other. Check handrail height (34 to 38 in) and guard rules with your local authority, and add a landing when the rise exceeds the maximum for one flight.
This tool is a planning aid. Local code and your building inspector have the final say.
Divide the total rise (floor to floor) by your target riser height, about 7 in, and round to the nearest whole number. Then divide the total rise by that count to get the exact riser. A 108 in rise gives 108 / 7 = 15.4, so 15 risers of 7.2 in. There is always one tread fewer than risers when the top step is the upper floor.
The US IRC allows a maximum riser of 7 3/4 in and requires a minimum tread of 10 in. The IBC for commercial buildings is stricter: 7 in maximum riser and 11 in minimum tread. Local code can differ, so check with your building department. The tool lets you edit every limit.
Common comfort rules are riser plus tread equal to 17 to 18 in, or two risers plus a tread equal to 24 to 25 in. A 7.2 in riser gives a 10.3 in tread with the first rule. You can also fix the tread depth or enter the run you have available.
The stringer is the hypotenuse of the rise and run triangle, so length = sqrt(rise² + run²). The tool adds a small allowance and suggests the next standard board length. A 2x12 is the usual size, and the throat (the wood left under the deepest notch) must be at least 3.5 in.
The stringer sits on the floor, but the first tread adds its own thickness on top. So the bottom of the stringer is trimmed by the tread thickness, otherwise the first step would be taller than the rest. The layout shows this cut.
Stringers are usually spaced at most 16 in apart for 2x12 boards with 1 in or 5/4 in treads. A 36 in wide stair needs 4 stringers at that spacing. Wider stairs or thinner treads need more.