Stair Calculator
Design a staircase from the total rise: riser count and height, total run, slope and 2R+T, checked line by line against IRC and IBC limits.
A staircase is designed backwards from one number: the total rise. Divide it by the tallest riser the code allows and round up, and you get the riser count; divide the rise by that count and every step is the same height, which is the whole secret of a stair that feels right — uneven risers are a trip hazard and a code failure. The worked example on this page: a 108-inch floor-to-floor rise at an 11-inch tread gives 14 risers of 7.714 inches each, 13 treads, a total run of 143 inches, a slope of 35 degrees, and a 2R+T of 26.43 inches — inside the usual 24 to 26.5 comfort band, if at the steep-feeling end of it.
Last verified: 2026-11-14 — limits checked against IRC R311.7.5 (residential) and IBC 1011.5.2 (commercial). Headroom is a separate check this page cannot measure: IRC asks for at least 6 ft 8 in of headroom above the line of the tread nosings, IBC 80 in. Local codes prevail: your city or state may amend these numbers, and a permit inspection follows the local book, not this page.
Quick answers
How do I calculate the number of stairs I need?
Divide the total rise by the maximum riser height and round up, then divide the rise by that count for the true riser height. A 108-inch rise: 108 ÷ 7.75 rounds up to 14 risers, so each riser is 7.714 inches, with 13 treads and a 143-inch run at an 11-inch tread.
Never round the count down — that single move makes every riser taller than the limit you divided by.
What are the code limits for stairs?
IRC (houses): riser no more than 7.75 in, tread at least 10 in, headroom at least 6 ft 8 in. IBC (commercial): riser 4–7 in, tread at least 11 in, headroom 80 in. Local codes prevail — amendments are common. Limits on this page were last verified on 2026-11-14.
The same design can pass the IRC and fail the IBC; the worked example here (7.714-inch risers) does exactly that.
How to use
- Measure the total rise: the finished floor-to-finished floor height the stair has to climb, in inches. Guessing this number is the classic staircase mistake — measure it.
- Enter the tread depth you would like each step to have, in inches.
- Read the design: number of risers (the count is rounded up so no single riser exceeds the limit), the actual riser height, total run, slope angle and the 2R+T comfort figure.
- Check the code lines: IRC for houses, IBC for commercial work, each limit marked pass or fail. Then check headroom on site — this page cannot measure it.
About this tool
The two codes this page checks are the IRC for houses (section R311.7.5: riser at most 7.75 inches, tread at least 10 inches) and the IBC for commercial buildings (section 1011.5.2: riser between 4 and 7 inches, tread at least 11 inches). The same 108-inch example passes the IRC and fails the IBC, purely on the riser height — a useful reminder that a stair legal in a house can be illegal in a shop. Last verified: 2026-11-14. Local codes prevail: states and cities amend the model codes, and the inspector works from the local book, so treat these checks as a design screen, not a permit.
Frequently asked questions
What is the 2R+T rule?
A centuries-old comfort rule (Blondel’s formula): twice the riser height plus the tread depth should land around 24 to 26.5 inches, roughly matching a natural stride on stairs. It is a rule of thumb, not a code requirement — the page shows it alongside the actual code checks so you can tell the difference. The 108-inch example gives 26.43: comfortable on paper, steep in feel.
Why does the calculator round the riser count up?
Because rounding down would push each riser over the maximum height the code allows. Rounding up makes every riser slightly shorter than the limit and — just as important — makes them all identical. Codes also limit how much risers may vary within one flight (typically 3/8 inch), so equal risers are both the comfort and the compliance answer.
What is the difference between the IRC and IBC stair rules?
The IRC covers one- and two-family houses and allows a riser up to 7.75 inches with a tread of at least 10 inches. The IBC covers commercial and public buildings and is stricter: the riser must be between 4 and 7 inches and the tread at least 11 inches. A stair can pass one and fail the other — the example on this page does exactly that.
What about headroom and handrails?
They are real requirements this page cannot check from two numbers. Headroom must be at least 6 ft 8 in under the IRC (80 in under the IBC), measured vertically from the line of the tread nosings, and handrail height, guard and landing rules apply as well. Design the flight here, then verify those dimensions on the actual site against your local code.
First time embedding? Read the step-by-step guide →
More free tools
Concrete Calculator
Work out the volume of a slab, footing or round post and how many 60 lb or 80 lb pre-mix bags it takes.
Paint Calculator
Estimate paint for a room from its dimensions, less doors and windows, for the number of coats you plan — in gallons and litres.
Unit Converter
Convert length, weight and temperature instantly.
Percentage Calculator
Work out percentages, increases and discounts in one click.
Age Calculator
Find your exact age in years, months and days.
BMI Calculator
Check your Body Mass Index in seconds.