Stair Calculator — Build Steps That Feel Right
Calculate Stair Rise, Run, Stringer Length and Number of Steps. Enter your total rise and preferred step dimensions. The calculator gives you a fully engineered stair layout — with compliance badges for the building code you select, a live diagram, and a breakdown of every formula used in seconds.
Advanced options
Recommended Stair Layout
How the Stair Calculator Works
This tool uses the rise-and-run relationship every carpenter and building surveyor works from. Give it your total vertical rise, and it solves for the number of steps, the exact height of each riser, the depth of each tread and the length of the stringers.
It divides your rise by your maximum riser height, rounds up to the nearest whole step, then re-divides to get an exact riser height so every step is identical — which is what building codes require. From there, it multiplies the tread count by tread depth to get the total run, uses the Pythagorean theorem to get the stringer length, and uses arctangent to get the stair angle.
The Blondel rule — the international ergonomic test for comfortable stairs — is applied automatically. If your layout falls outside the ideal 60–66 cm range for 2 × riser + tread, the tool flags it and shows which alternatives bring you back into range.
Stair Rise and Run: The Complete Formula
Every number this calculator returns is derived from these formulas — here they are, so you can verify the maths or explain it to a client.
- Number of risers = round up (total rise ÷ max riser height)
- Actual riser height = total rise ÷ number of risers
- Number of treads = number of risers − 1
- Total run = number of treads × tread depth
- Stringer length = √(total run² + total rise²)
- Stair angle = arctan (total rise ÷ total run)
- Blondel value = (2 × riser height) + tread depth
- Number of stringers = 2 for ≤ 1000 mm wide, +1 per additional 500 mm
Example: A 2700 mm total rise with 190 mm max riser gives 15 risers of 180 mm, 14 treads at 280 mm, a 3920 mm total run, a 4760 mm stringer and a 34.6° angle. The Blondel value is 640 mm — well within the ideal 600–660 mm range.
The Blondel Rule: Why 2R + T Matters
The Blondel rule — named after 17th-century French architect François Blondel — is the most widely used test of stair comfort. It says that twice the riser height plus the tread depth should fall between 600 mm and 660 mm (or 24–26 inches).
- Below 600 mm: stairs feel shallow and unnatural — the user takes short steps
- 600–660 mm: ideal — the stair "feels" right for almost everyone
- Above 660 mm: stairs feel steep and tiring, especially on long climbs
Many stair calculators skip this. This one doesn't — you get a live Blondel score with every result, so you can adjust your layout before you cut a single board.
Stair Building Code Requirements by Region
Building codes vary around the world. These are the most common residential limits the calculator checks against:
- US IRC (Residential) — Max riser 7.75" (196 mm), min tread 10" (254 mm), min width 36" (914 mm), headroom 6'8" (2032 mm)
- US IBC (Commercial) — Max riser 7" (178 mm), min tread 11" (279 mm), min width 44" (1118 mm)
- UK Approved Document K — Max riser 220 mm, min going 220 mm for private stairs, 250 mm for public
- EU / Eurocode — Max riser 190 mm, min tread 240 mm (varies by member state)
- Australia NCC — Max riser 190 mm, min tread 250 mm, min width 1000 mm
- India NBC 2016 — Max riser 190 mm, min tread 250 mm, min width 1000 mm
- Nigeria NIS 550 — Max riser 190 mm, min tread 250 mm, min width 900 mm
Frequently Asked Questions About Stair Calculation
What is the ideal riser height for a staircase?
Most residential codes cap riser height at 190 mm (7.5"), with 180 mm (7") being the most comfortable for everyday use. Below 150 mm the stairs feel shallow and waste space; above 200 mm they become tiring and fail code in most regions. The calculator uses 190 mm as the default maximum and adjusts the actual riser to fit your total rise evenly.
How do I calculate the number of steps I need?
Divide your total floor-to-floor rise by the maximum riser height you want. Round the answer up — never down. Then divide your total rise by that rounded number. The result is the exact height each riser must be so every step is identical. For example, 2700 mm ÷ 190 mm = 14.2, rounded up to 15 risers, giving 180 mm per riser.
What is a stringer and how long should it be?
A stringer is the diagonal side board that supports the treads. Its length is the hypotenuse of a right triangle formed by the total rise and total run — solved with the Pythagorean theorem. Always add at least 300 mm (12") of extra length to your cut so you have room to notch the top and bottom properly. For a 900 mm wide stair you'll typically need 3 stringers; wider stairs need 4 or more.
What is the ideal stair angle or pitch?
Residential stairs are most comfortable between 30° and 37°. Below 30° they become ramp-like and take up too much floor space; above 40° they feel steep and unsafe. The classic 7:11 ratio gives about 32.5°, which most people find the sweet spot. This calculator shows your exact angle and flags anything outside 30–40°.
How many treads do I need compared to risers?
The number of treads is always one less than the number of risers. This is because the top of the last riser becomes the floor level, not a tread. So 15 risers means 14 treads. Forgetting this is one of the most common mistakes in DIY stair building and leads to a short or long stringer.
What is the Blondel rule and why does it matter?
The Blondel rule says that 2 × riser height + tread depth should fall between 600 mm and 660 mm. It's an international ergonomic standard for comfortable stairs. A stair that complies with code can still feel terrible to climb if it fails the Blondel rule. This calculator shows you the score with every result.
Can I use this calculator for outdoor deck stairs?
Yes. The rise-and-run math is identical for interior and exterior stairs. The only differences: outdoor stairs often have a slightly deeper tread (300–350 mm) for weather safety, and stringers should be treated or naturally rot-resistant timber. Enter your deck height as the total rise and you'll get the right layout.
How many stringers do I need?
For a stair up to 1000 mm wide, 2 stringers (one on each side) is standard. For wider stairs you'll need a centre stringer every 500 mm — so 1000–1500 mm needs 3 stringers, and 1500–2000 mm needs 4. The calculator determines this automatically from your stair width.
What if my result shows a code violation?
If the calculator flags your layout, the most common fixes are: increasing your max riser (if you have headroom to spare), reducing your tread depth, or adding a landing to split the flight. A landing is also a good idea for any stair with more than 16 risers. Adjust one value and recalculate — the tool updates instantly.
Do I add the nosing to the tread depth?
The nosing is the small overhang at the front of each tread, typically 20–25 mm. It makes the step feel more generous and reduces tripping risk. In most codes the nosing is measured in addition to the tread depth, so a 280 mm tread with a 20 mm nosing gives a total step depth of 300 mm. The calculator factors this in when you enter a value.
How wide should my staircase be?
Residential stairs should be a minimum of 860 mm (34") wide, with 900 mm (36") being the practical sweet spot. Commercial stairs need 1100 mm (44") minimum. If you plan to move furniture up the stairs, or the stairs are the main path between floors, go wider — 1000 mm (39") is a comfortable upgrade.
How much headroom do I need above the stairs?
Most codes require a minimum of 2000 mm (6'8") of headroom measured vertically from the nosing of any tread to the ceiling or obstruction above. If you're building under a sloped ceiling, this is measured at the nosing of each step — the lowest clearance point is usually on the lower steps.
References & Standards
- International Code Council — International Residential Code (IRC), Section R311.7
- International Code Council — International Building Code (IBC), Section 1011
- UK HM Government — Approved Document K: Protection from falling, collision and impact
- BS 5395-1 — Code of practice for the design of stairs, straight and winders
- EN 1991-1-1 — Eurocode 1: Actions on structures (Part 1-1)
- NCC Volume One — Australian Building Code Board, Section D2
- NBC 2016 — National Building Code of India, Part 4
- NIS 550 — Nigerian Industrial Standard, Building Code
- ISO 14122-3 — Safety of machinery: stairs, stepladders and guard-rails
- OSHA 29 CFR 1910.24 — Fixed industrial stairs