How the stair code checker works
Check design dimensions. Each value you enter is compared with the limit of the code you choose. An item passes only if it meets the limit; the report lists every item with the limit, the code section and — for anything that fails — what to change. Items a code does not set (for example, Part K has no minimum width for a house stair) are shown as not checked.
riser ≤ max (and ≥ min where set) · tread ≥ min · nosing within the range · headroom ≥ min · width ≥ min
handrail fitted where required, height within the range · guard ≥ min · opening < sphere · flight rise ≤ max
UK and Australia: pitch = atan(R ÷ G) · 2R + G within 550–700 mm
Check measured stairs. Enter every riser and tread, bottom to top:
total rise = Σ risers · target = total ÷ number of risers
riser spread = largest − smallest · tread spread = largest − smallest · pass if each ≤ 3/8 in (9.5 mm)
correction = target − measured for each riser (+ raise, − lower)
Stair code limits by region
| Item | IRC (homes) | IBC (commercial) | UK Part K | Canada | Australia |
|---|---|---|---|---|---|
| Riser | ≤ 7¾ in | 4–7 in | ≤ 220 mm | 125–200 mm | 115–190 mm |
| Tread / going | ≥ 10 in | ≥ 11 in | by pitch and 2R + G | run ≥ 255 mm | 240–355 mm |
| Nosing | ¾–1¼ in if tread < 11 in | ≤ 1¼ in | — | ≤ 25 mm | — |
| Pitch / 2R + G | — | — | ≤ 42° / 550–700 mm | — | — / 550–700 mm |
| Headroom | 80 in | 80 in | 2000 mm | 1950 mm | 2000 mm |
| Clear width | 36 in | 44 in | — | 860 mm | — |
| Handrail | 4+ risers, 34–38 in | 34–38 in | 3+ risers, 900–1000 mm | 3+ risers, 865–965 mm | rise over 1 m, ≥ 865 mm |
| Guard on stairs | ≥ 34 in | ≥ 42 in | ≥ 900 mm | ≥ 900 mm | ≥ 865 mm |
| Guard openings | < 4⅜ in sphere | < 4 in sphere | < 100 mm | < 100 mm | < 125 mm |
| Flight | ≤ 151 in rise | ≤ 144 in rise | — | ≤ 3.7 m rise | 2–18 risers |
Canadian values are National Building Code values for stairs in homes; provinces adopt their own codes, and Ontario’s 255 mm minimum run is used. Check the edition your building department enforces.
Worked examples
A standard 9 ft stair under the IRC
15 risers of 7.2 in, 10½ in treads with 1 in nosings, 108 in total rise, 82 in headroom, 36 in wide, a 36 in handrail, a 36 in guard with 3¾ in openings: every one of the 9 items passes.
An old basement stair
- Inputs8 in risers · 9½ in treads · ½ in nosing · 78 in headroom · 34 in wide · 40 in handrail · 32 in guard with 5 in gaps · 108 in rise.
- Failsriser (over 7¾ in), tread (under 10 in), nosing (under ¾ in), headroom (under 80 in), width (under 36 in), handrail height (over 38 in), guard (under 34 in), openings (5 in passes the 4⅜ in sphere).
- Passesflight height, 108 in against the 151 in limit — 8 of 9 items fail.
A UK private stair
Rise 200 mm and going 240 mm give a pitch of 39.8° (limit 42°) and 2R + G = 640 mm (550–700 mm). With 2.0 m headroom and a 900 mm handrail, every Part K item passes.
How much can stair risers vary?
No more than 3/8 in between the tallest and shortest riser in a flight under the IRC and IBC, and the same for treads. People set their stride on the first few steps, so a riser that is off by more than that catches a toe or a heel. A built stair measured at 7¼, 7⅛, 7¼, 7 3/16, 7¼ and 7¼ in has an ⅛ in spread — normal site tolerance — and a target of 7.219 in.
The common failure comes after flooring work: new floor upstairs and a finish removed downstairs gave risers of 8, 7¼, 7¼, 7¼, 7¼ and 6½ in — a 1½ in spread. The corrections are −¾ in at the bottom and +¾ in at the top: lower the bottom tread’s landing or build up the bottom floor, and raise the top step or trim the top floor finish. See how floor finishes change the risers with the total rise calculator.
Fixing a stair that fails
- Riser too tall or tread too short: add a riser and re-plan the flight with the stair calculator; the stair gets longer.
- Headroom short: lengthen the stairwell opening — size it with the stairwell opening calculator.
- Guard openings too big: add balusters and space them with the baluster spacing calculator.
- No handrail or wrong height: fit or reset the rail and work out its length with the stair handrail calculator.
- Flight too tall: add a landing part way up.
- Width too narrow for a commercial stair: check what the occupant load needs with the egress stair width calculator.
Are old stairs grandfathered?
Usually, yes. A stair that was legal when it was built can generally stay, so a fail here means it does not meet today’s code, not that it is illegal. Replacing the stair, or a major alteration to it, has to meet the current code — and a buyer’s home inspector may still list it as a safety defect. Local amendments override the model codes, so confirm with your building department before you build.
What this checker does not cover
- Winders and spiral stairs: use the winder stair calculator or the spiral staircase calculator.
- Egress width from occupant load: the egress stair width calculator.
- Stringer and tread spans: the stair span calculator.
- Accessibility rules for public stairs beyond handrails, such as contrasting nosings and tactile warnings.
Stair code FAQs
What are the IRC stair requirements?
For homes: risers no more than 7¾ in, treads at least 10 in, a ¾–1¼ in nosing when the tread is under 11 in, 6 ft 8 in headroom, 36 in clear width, a 34–38 in handrail on flights of four or more risers, guards at least 34 in high on open sides of stairs with openings that stop a 4⅜ in sphere, no more than 151 in of rise per flight, and risers and treads within 3/8 in of each other.
What is the maximum riser height and minimum tread depth?
IRC (homes): 7¾ in maximum riser and 10 in minimum tread. IBC (commercial): risers 4–7 in and treads at least 11 in. UK private stairs: rise up to 220 mm with pitch no more than 42°. Canada: rise 125–200 mm and run at least 255 mm. Australia: riser 115–190 mm and going 240–355 mm.
How much can stair risers vary?
Under the IRC and IBC, the tallest riser in a flight may be no more than 3/8 in taller than the shortest, and the same applies to tread depths. UK, Canadian and Australian codes also require uniform rises and goings in a flight. Enter every riser in the measured-stair mode to see the spread and the fix.
What is the minimum headroom for stairs?
6 ft 8 in (80 in) under the IRC and IBC, 2.0 m under UK Approved Document K and the Australian NCC, and 1950 mm for stairs in Canadian homes. Headroom is measured plumb from the sloping line through the nosings to the lowest point above.
When is a handrail required on stairs?
Under the IRC, on at least one side of any flight with four or more risers. The IBC requires handrails on stairs in commercial buildings, usually on both sides. UK Part K wants a handrail on at least one side, though not beside the bottom two steps. Australia requires one where the stair rises more than 1 m.
What is the minimum stair width?
36 in under the IRC and 44 in under the IBC — more where the occupant load needs it, which the egress stair width calculator works out. Canadian homes need 860 mm. UK Part K and the Australian NCC set no minimum width for stairs in houses.
Are old stairs grandfathered?
Usually. A stair built legally under an older code can normally stay as it is, so a fail here means “not to current code”, not “illegal”. Replacing the stair or making a major alteration brings it under the current code, and a home inspector may still flag it as a safety issue.
What are the UK stair regulations for houses?
Approved Document K for a private stair: rise no more than 220 mm, pitch no more than 42°, 2R + G between 550 and 700 mm, 2.0 m headroom, a handrail 900–1000 mm above the pitch line, guarding at least 900 mm high and openings that stop a 100 mm sphere.
What is the difference between residential and commercial stair rules?
Commercial (IBC) stairs are gentler and wider: risers 4–7 in instead of up to 7¾ in, treads at least 11 in instead of 10 in, at least 44 in wide instead of 36 in, guards 42 in instead of 34–36 in, and openings that stop a 4 in sphere. Flights are limited to 12 ft of rise instead of 151 in.
Sources
- International Residential Code 2021, Sections R311.7 and R312 (opens in a new tab)International Code Council. Width R311.7.1, headroom R311.7.2, flight height R311.7.3, risers, treads and nosings R311.7.5, handrails R311.7.8, guards R312.1.
- International Building Code 2021, Sections 1011, 1014 and 1015 (opens in a new tab)International Code Council. Stairways (1011), handrails (1014) and guards (1015) for commercial buildings.
- Approved Document K: Protection from falling, collision and impact (opens in a new tab)UK Government (statutory guidance for England). Handrails 900–1000 mm above the pitch line; guarding to stairs and landings in dwellings at least 900 mm high, with openings that do not pass a 100 mm sphere.
- National Building Code of Canada 2020, Section 9.8 — Stairs, ramps, handrails and guards (opens in a new tab)National Research Council Canada. Private-stair rise, run, width, headroom, handrails and guards; the 255 mm minimum run is the Ontario Building Code 2024 value. Provinces adopt their own codes.
- National Construction Code 2019, Volume Two, Part 3.9.1 — Stair construction (opens in a new tab)Australian Building Codes Board. Riser and going limits and 2R + G range (Table 3.9.1.1), no more than 18 and no fewer than 2 risers in each flight.
- National Construction Code 2019, Volume Two, Part 3.9.2 — Barriers and handrails (opens in a new tab)Australian Building Codes Board. Barrier openings that do not pass a 125 mm sphere; barriers at least 1 m high, 865 mm above the nosings of stairs.
Code text is the final word. Editions and local amendments differ — check the edition your building department enforces.
Related calculators
- Stair calculatorRe-plan risers and treads
- Stairwell opening calculatorFix the headroom
- Baluster spacing calculatorClose up guard openings
- Stair handrail calculatorHandrail length and height
- Total rise calculatorFloor finishes and riser height
Other stair calculator categories