Stair Code & Structure Calculators

Three calculators for the questions an inspector or engineer will ask: does the stair meet the code, item by item — or, for a built stair, are the risers even enough; how wide must commercial exit stairs be for the people they serve; and will the stringers and treads carry the load over their span. Each quotes the code section behind every limit.

By the Stair-Math TeamUpdated

The 3 stair code and structure calculators

Which code or structure calculator do you need?

Pick the calculator by the question you need answered
Your questionCalculatorWhat you get
Will my stair pass the code?Stair code checkerPass or fail for riser, tread, nosing, headroom, width, handrail, guard, openings and flight — with a fix for each failure
Are the steps of my built stair even?Stair code checker (measured mode)Riser and tread spread against 3/8 in, and how much to raise or lower each step
How wide must commercial exit stairs be?Egress stair width calculatorOccupant load, stair capacity, width per stair, exits required and the loss-of-one-exit check
Will the stringers and treads hold?Stair stringer & tread span calculatorBending, shear and deflection of cut or solid stringers, and the maximum stringer spacing for a tread board

Which code applies to your stair?

The code sets the calculators can check against
WhereCodeTypical use
US homesInternational Residential Code (IRC)One- and two-family houses and townhouses, including their decks
US commercialInternational Building Code (IBC)Apartments, offices, shops, schools and public buildings
EnglandApproved Document KPrivate, utility and general-access stairs
CanadaNational Building Code (Part 9 for houses)Adopted province by province, often with changes
AustraliaNational Construction CodeVolume Two for houses

The limits differ more than people expect: an IRC riser may be 7¾ in, an IBC riser only 7 in; a UK house stair has no minimum width, a Canadian one needs 860 mm. Choose the code in each calculator and it applies that set throughout.

What an inspector checks on a stair

  1. Risers and treadsEach riser and tread measured with a tape; the tallest and shortest riser within 3/8 in under the IRC, and the same for treads.
  2. Nosings and headroomNosings within ¾–1¼ in where the tread is under 11 in; 6 ft 8 in of headroom plumb from the nosing line.
  3. Width and landings36 in clear in a home; a landing at the top and bottom at least as deep as the stair is wide.
  4. Handrail34–38 in above the nosings on flights of four or more risers, graspable, continuous from the top riser to the bottom one, with returned or post-ended ends.
  5. GuardsWhere the drop is more than 30 in: 34 in high along the stair, openings that stop a 4⅜ in sphere, 6 in at the tread–riser triangle.
  6. LightingA light over interior stairs, with a switch at the top and bottom when the stair has six or more risers (IRC R303.7).

Worked checks

Results from the three calculators
CheckInputResult
Old basement stair, IRC8 in risers, 9½ in treads, ½ in nosing, 78 in headroom, 34 in wide, 40 in handrail, 32 in guard with 5 in gapsFails 8 of 9 items; only the flight height passes
Built stair after new flooringRisers 8, 7¼, 7¼, 7¼, 7¼, 6½ in1½ in spread — fails; lower the bottom step ¾ in and raise the top ¾ in
Restaurant floor, IBC6,000 ft² of tables and chairs, two stairs400 occupants, 120 in of stair capacity — each stair 60 in wide
Deck stringersThree cut 2x12 Douglas fir, 6 ft span, 36 in stairUtilisation 0.74 — passes; at 12 ft 3 in it is 3.01 and needs a support

Loads a stair must carry

Under the IRC, stairs in a home are designed for 40 psf of live load, and any single tread for a 300 lb concentrated load; handrails and the top of guards must resist 200 lb in any direction, and their infill 50 lb over one square foot. Commercial stairs take 100 psf. The stair span calculator checks wood stringers and treads against the 40 psf and 300 lb loads with National Design Specification wood values; steel, LVL and long or commercial stairs need the maker’s tables or an engineer.

The prescriptive deck rules give a simpler check: cut stringers up to 6 ft between supports, no more than 18 in apart, with at least 5 in of wood below the notches. Lay out the notches and read the throat with the stair stringer calculator.

Stair code and structure FAQs

What do building inspectors check on stairs?

Riser height and tread depth and how even they are, nosings, headroom, width, landings at the top and bottom, the handrail (height, grip, continuity and ends), guards and their openings, and the stair lighting. On decks they also look at the stringers, their supports and the fasteners. The stair code checker covers the dimensional items in one report.

Does my stair follow the IRC or the IBC?

Stairs inside one- and two-family homes and townhouses follow the IRC in most US states. Stairs in apartment buildings, offices, shops and other commercial buildings follow the IBC, which asks for gentler, wider stairs. Your state or city may amend either code.

Do deck stairs have to meet the code?

Yes. Deck stairs follow the same riser, tread, handrail and guard rules as stairs indoors, and their stringers are often limited by the prescriptive deck rules — cut stringers no longer than 6 ft between supports and no more than 18 in apart.

How do I find out which code edition my area uses?

Ask your local building department or check its website — it will name the code and edition it enforces (for example the 2021 IRC with local amendments). The limits on Stair-Math pages are model-code values; local amendments override them.

Is a calculator result enough for a building permit?

It is a strong start: the riser, tread, headroom and span numbers are what a permit drawing needs. But the permit is issued on your drawings and the inspector’s check, and structural or commercial work may need a design stamped by an engineer or architect.

What are the most common reasons stairs fail inspection?

Uneven risers — usually the top or bottom step after flooring changes — headroom that is a few inches short, guard openings that pass the 4 in sphere, handrails that stop short of the top or bottom riser, and missing returns at the handrail ends.

Sources

  1. International Residential Code 2021, Sections R303.7, R311.7, R312 and Table R301.5 (opens in a new tab)International Code Council. Stair lighting (R303.7), stairways (R311.7), guards (R312) and live loads including the 300 lb tread load (Table R301.5).
  2. International Building Code 2021, Chapter 10 — Means of egress (opens in a new tab)International Code Council. Occupant load (1004), egress capacity (1005), exits (1006), stairways (1011), handrails (1014) and guards (1015).
  3. Approved Document K: Protection from falling, collision and impact (opens in a new tab)UK Government (statutory guidance for England). Maximum riser, maximum pitch and 2R + G range.
  4. National Building Code of Canada 2020 (opens in a new tab)National Research Council Canada. Riser and run limits for stairs.
  5. 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.
  6. Wisconsin Administrative Code, chapter SPS 325 — deck constructionWisconsin Department of Safety and Professional Services. Prescriptive rules for cut deck stringers: 5 in minimum throat, 18 in maximum spacing and 6 ft maximum horizontal span. Cited by name; read it on the Wisconsin Legislature's administrative code site.

Code text is the final word. Editions and local amendments differ — check the edition your building department enforces.

All calculatorsEvery Stair-Math calculator on one page, by category.View all

Other stair calculator categories