mystaircalculator.com logo mystaircalculator.com
  1. Home
  2. Calculators
  3. Core Geometry & Layout
  4. Stair Width Calculator
Core Geometry & Layout

Stair Width Calculator

Enter your rough opening width and get the finished clear width, the reduced width at handrail height, and the governing IRC or IBC minimum — checked live as you type.

Free to use No sign-up required Formulas verified against IRC & IBC 2021 Imperial & metric supported
Finished clear width calculated Handrail intrusion accounted for Code-compliance chips built in Last verified July 2026
Checked line-by-line by our in-house stair-planning team before publishing — figures re-verified July 2026.
in

Measure between the framing members before drywall, not the finished wall face.

Advanced: finish thickness & handrail projection
inches

Drywall plus trim/handrail blocking on each face. Typical is 0.625"–1"; use 0 if your rough opening is already the finished wall-to-wall width.

inches

Code caps this at 4.5" (up to 6.5" only at the narrow exception for passing flights). Measure your actual rail-plus-bracket depth if it's less.

Front elevation diagram of the calculated stair width

Results

Rough Width
in
Finish Deduction
in
Clear Width, No Rails
in
Clear Width, At Rails
in
Governing Minimum
in
Margin vs Minimum
in
Handrails Assumed
Egress Capacity Req.
in
Capacity Margin
in
Overall Result
How to measure

Measuring stair width before you calculate

Width is the number inspectors measure most literally, and the number most often measured wrong. Get the opening right before the calculator does anything else.

1

Measure stud to stud, not wall to wall

If the stair is still framed, measure between the raw framing members. If drywall or paneling is already up, measure between the finished wall faces instead and set Wall Finish Thickness to 0 in Advanced.

2

Measure at the tightest point

Take the width at the narrowest spot along the run — a mid-flight newel post, a stringer skirt board, or a duct chase can all pinch the opening below the number at the top or bottom.

3

Confirm handrail count and side

One rail is code-minimum on most residential flights; two is common on wider or accessibility-focused stairs. Each rail eats into the width only at its mounting height, not the full flight height.

4

Pick the right code column

Residential and commercial stairs are checked against different minimums with different logic. Getting the occupancy type wrong is the single most common way a passing stair reads as a fail, or vice versa.

The math

The four formulas behind every result

Nothing on this page is a black box. Here's exactly what runs when you change a number.

Clear Width, No Rails

W₁ = Rough Width − 2 × Finish Thickness

The rough stud-to-stud opening minus the drywall and trim buildup on each face. This is what code checks above handrail height.

Clear Width, At Rail Height

W₂ = W₁ − (Rails × Projection)

Each installed handrail eats into the width by its projection, but only in the 34"–38" band where it's actually mounted.

Governing Minimum

Min = f( Occupancy, Rails, Occ. Load, Accessible )

Residential uses a two-tier rule (36" / 31.5" / 27"). Commercial uses a single post-intrusion minimum (36", 44" or 48") set by occupant load and egress type.

Egress Capacity Width

W_req = Occupant Load × Capacity Factor

Commercial stairs must also clear a second, independent check: enough width to move the occupant load out, at 0.3"/occupant (0.2" if sprinklered with voice/alarm).

Worked example

Walking through a real 38" rough opening

Same stair, checked two different ways — this is the example that shows why occupancy type is the first decision, not an afterthought.

1

Clear width above the rail

38" rough opening, 0.75" of drywall and trim on each face: 38 − (2 × 0.75) = 36.5" clear. Checked as residential, that clears the IRC 36" minimum — but only by half an inch.

2

Clear width at the handrail

One handrail goes in, projecting the code-maximum 4.5": 36.5 − 4.5 = 32.0" clear at the 34"–38" rail band. That still clears the IRC one-rail minimum of 31.5" — again by half an inch, the same margin carried through.

3

Same stair, checked as commercial

Now suppose this exact opening is re-purposed as an office stair serving 60 people per floor. Commercial doesn't use the two-tier rule — it checks the post-intrusion width directly against occupant load. At 60 occupants (≥50), the minimum jumps to 44". The stair's 32.0" at-rail width now fails by 12 inches.

4

Why the same lumber fails one way and passes the other

Nothing about the physical opening changed between steps 2 and 3 — only the occupancy classification did. This is the interaction that trips people up: a stair sized to comfortably clear residential code can be badly undersized the moment it's classified as commercial egress, and the fix (widening the rough opening) has to happen at framing, not at trim-out.

This is exactly why the calculator asks for occupancy type before anything else — every downstream minimum, and which of the two result checks even applies, depends on that one selection.

Handrail rules

How handrails reduce required width

Both IRC and IBC cap handrail projection at 4.5" per side, but they apply that number to the required width very differently.

CodeRule shapeAbove/without railAt rail height / with rail
IRC R311.7.1 (residential)Two-tier — a full-width minimum and a separate, lower minimum where the rail actually sits36" min31.5" (1 rail) / 27" (2 rails)
IBC 1011.2 (commercial)Single-tier — the minimum already assumes the rail is intrudingn/a44" (or 36" if occ. load <50)
IBC 1009.3 (accessible egress)Single-tier, higher floor, with a sprinkler exceptionn/a48" (or standard min. if sprinklered)

Need the full multi-stair, occupant-load-distributed egress width for a whole floor? Use the Egress Stair Width Calculator.

Code reference

IRC & IBC stair width, quick reference

This calculator checks your result against the rows below. Full code also covers rise, run, headroom and guards — see the linked calculators for those.

ElementResidential (IRC)Commercial (IBC)
Min. clear width, general36"44" (36" if occ. load <50)
Min. clear width, accessible egressn/a48" (sprinkler exception applies)
Max. handrail projection/side4.5" (6.5" passing-flight exception)4.5"
Handrail height34"–38"34"–38"
Egress capacity factorn/a0.3"/occupant (0.2" if sprinklered+alarm)

Reference only — always confirm against your local jurisdiction's adopted code before building. The Rise & Run Calculator's code table shows a single "44"+ (varies)" commercial figure; this page is where that "varies" gets resolved.

Beyond the width number

Egress capacity, accessible stairs & landings

A commercial stair can clear the flat 44" minimum and still fail inspection on two things this section covers — whether it moves enough people, and whether the landing it lands on matches it.

Egress capacity, not just minimum width

W_req = Occupant Load × 0.3" (or 0.2" if sprinklered+alarm)

A 44"-wide stair is only guaranteed adequate up to roughly 146 occupants at the 0.3"/occupant factor. Past that, the occupant-load math — not the flat minimum — becomes the governing number. This calculator's Egress Capacity result and chip flag it automatically when you enter an occupant load.

Accessible means of egress

48" between handrails, unless fully sprinklered

Not every commercial stair has to meet this — only ones designated as part of the accessible means of egress. Where the building is fully sprinklered per NFPA 13 or 13R, the requirement reverts to the standard 44"/36" minimum instead.

Landing width must match stair width

Landing width ≥ Stair width served

Widening a stair to pass this calculator's checks does nothing if the landing at the top or bottom is still sized to the old, narrower opening — both codes require the landing to be at least as wide as the flight. Check it separately.

These are planning-stage checks, not a stamped code review. For a full multi-element audit — width, headroom, handrails, guards and landings together — see the IRC Stair Code Checker linked below.

Avoid these

Common mistakes when sizing stair width

Most stair-width failed inspections trace back to one of these five planning errors, not to a genuinely undersized opening.

📏

Measuring stud-to-stud and calling it done

The rough opening isn't the code number. Drywall, trim, and any handrail blocking all eat into it before it's "clear width" — skip that deduction and a marginal stair reads as passing when it isn't.

🏢

Applying the residential minimum to a commercial job

36" is only the residential floor. A commercial stair serving 50+ occupants needs 44", and one on the accessible egress route can need 48" — using the wrong column is the single most common width miss on TI projects.

🖐️

Checking full width but not rail-height width

A residential stair can clear the 36" full-width check and still fail once a handrail is factored in — the reduced 31.5"/27" minimum at rail height is a separate check, not a formality.

🔧

Adding a second rail without re-checking width

Retrofitting a second handrail for accessibility doubles the intrusion at rail height. A stair that comfortably cleared the one-rail minimum can fail the two-rail minimum on the same opening.

🚨

Ignoring egress capacity on a wide-occupancy commercial floor

Meeting the flat 44" minimum doesn't automatically satisfy the occupant-load capacity check. High-occupancy floors can require more width than the flat minimum, especially without a qualifying sprinkler system.

🚪

Widening the stair but not the landing

Both codes require the landing to be at least as wide as the flight it serves. A stair widened during a remodel but landing left untouched still fails inspection.

Who uses this

When to use a stair width calculator

Width planning shows up whenever a wall, framing decision, or hardware choice could pinch a stair below code — indoors or in a commercial fit-out.

🏚️

Basement & Attic Remodels

Confirming a cramped existing stairwell still clears code once new drywall and trim go in.

🧱

New Construction Framing

Setting the stud-to-stud rough opening before framers close in the stairwell walls.

🏢

Commercial Tenant Improvements

Verifying egress stair width against occupant load before a plan check submittal.

Accessibility Retrofits

Checking whether a second handrail can be added without dropping below the two-rail minimum.

📋

Permit & Plan Review Prep

Having the exact clear-width numbers ready before an inspector measures the same thing.

🛒

Handrail Hardware Selection

Choosing a slimmer rail profile when a stair is right at the width minimum and can't absorb a deep bracket.

FAQ

Common questions

What is the minimum width for a residential stairway?
Under IRC R311.7.1, a residential stairway must be at least 36" clear above the handrail height. Where a handrail is installed, the required width drops to 31.5" at and below the 34"–38" rail band with one rail, or 27" with rails on both sides.
What is the minimum width for a commercial stairway?
Under IBC 1011.2, most commercial stairways need at least 44" of clear width between handrails. Stairways serving an occupant load under 50 can be reduced to 36". Accessible means of egress stairs generally need 48" unless the building is fully sprinklered.
Is stair width measured stud-to-stud or wall-to-wall?
Code cares about the finished, clear width — wall face to wall face, or handrail face to handrail face where rails are present. A stud-to-stud rough opening measurement has to be reduced by the drywall and trim thickness before it's the number that gets checked.
How much does a handrail reduce stair width?
Both IRC and IBC cap handrail projection at 4.5" into the required width, per rail, per side. That reduction only applies in the 34"–38" band where the rail is mounted — the full width above that band is checked separately under residential code.
Why does my stair pass the 36" check but fail the handrail-height check?
Residential code applies two separate minimums: 36" for the full width above the handrail, and a lower 31.5"/27" minimum specifically at the rail height. A stair can clear the first and still fail the second once the rail's projection is subtracted — that's not a bug, it's two different checks.
Do two handrails always require a wider stair than one?
For the same rough opening, yes — two rails intrude on both sides at rail height, so the required minimum drops further (27" vs 31.5" residential) and the physical clear width at that height shrinks by roughly double the single-rail intrusion.
What occupant load triggers the 44" commercial minimum?
IBC 1011.2 sets 44" as the default commercial minimum, with an exception down to 36" only where the stairway serves an occupant load of less than 50. At 50 or more, 44" applies regardless of how wide the physical opening happens to be.
What is egress capacity width, and is it different from minimum width?
Yes — they're two independent checks. Minimum width is a flat floor (44", 36", or 48"). Capacity width is calculated from occupant load times a per-occupant factor (0.3", or 0.2" if sprinklered with a voice/alarm system) and can require more width than the flat minimum on high-occupancy floors.
When does a stair need to be 48" wide instead of 44"?
Only when it's designated part of the accessible means of egress under IBC 1009.3. If the building is fully sprinklered per NFPA 13 or 13R, an exception reverts that requirement back to the standard 44"/36" minimum instead of 48".
Does the landing need to be the same width as the stair?
Yes, under both IRC and IBC the landing width perpendicular to travel must be at least the width of the stairway it serves. Widening a flight without widening its landing still fails inspection — check the landing separately with the Landing Size Calculator.
Can a spiral stairway use a narrower width?
Yes — spiral stairways are a named exception to the standard width rules in both codes and are allowed a reduced minimum width, since they're evaluated under their own dedicated section instead. This calculator's results assume a standard straight or turned flight, not a spiral stair.