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

Stair Headroom Calculator

Find the actual vertical clearance at the tightest point of your staircase — not just under the ceiling, but at the exact nosing where the floor opening above starts to pinch. Checked against IRC/IBC 80" minimums as you type.

Free to use No sign-up required Formulas verified against IRC 2021 Imperial & metric supported
Critical pinch point identified Floor-opening length factored in Standard, spiral & existing-stair minimums Last verified July 2026
Checked line-by-line by our in-house stair-planning team before publishing — figures re-verified July 2026.
in

Measure straight down from the top finished floor to the bottom finished floor.

inches

Measured from the top finished floor surface upstairs down to the underside of the header/joist. A 2x10 joist bay is roughly 9.25"–11.25" with subfloor and finish flooring included; an LVL or engineered header can run deeper.

inches

Horizontal length of the stairwell cutout in the floor above, measured from the top nosing back toward the bottom of the flight. Leave blank to assume the opening runs the full length of the stair.

Advanced: stairway type & measured override

"Existing basement" reflects a limited exception in some IRC editions for existing or replacement stairs whose pitch can't be changed — confirm the exact figure and conditions with your local building department before relying on it.

inches

Already climbed up with a tape measure? Enter the actual clearance here and it overrides the calculated figure for the pass/fail check below.

Side profile diagram of the staircase showing the floor opening and the critical headroom point

Results

Headroom at Critical Point
in
Margin vs. Required Min
in
Required Minimum
in
Critical Step
Ceiling Height (flat run)
in
Riser Height
in
Tread Depth
in
Step Count
steps
Total Run
in
Opening Starts At
in
How to measure

Measuring what actually limits your headroom

Headroom fails aren't caused by the stair's geometry — they're caused by something the rise-and-run math never sees: where the floor structure above happens to sit. Get these four numbers right first.

1

Confirm total rise, riser and tread

These set the pitch line — the sloped line touching every nosing tip. If you already ran the Rise and Run Calculator, carry those same numbers over here.

2

Measure the floor assembly thickness above

From the top finished floor surface down to the underside of the joist, header or beam that crosses the stairwell. Measure the header specifically — it's usually deeper than the surrounding joists, and it's almost always the thing that actually limits headroom.

3

Measure the floor opening length

The horizontal length of the cutout in the floor above, from the header at the top of the stairwell back to where uncut floor framing begins. A longer opening moves the pinch point further down the flight, where the ceiling above is already lower.

4

Let the calculator find the critical nosing

Headroom isn't constant along a stair — it shrinks with every step you climb toward a flat ceiling, then opens up once you pass under the floor cutout. The tightest point is always the last nosing still under the uncut floor, and that's the one this tool checks.

The math

The five steps behind the headroom number

Headroom is a geometry problem with two independent shapes — the stair's pitch line and the floor opening above it — checked against each other at one specific point.

Nosing height at any step

y(n) = n × R

Each nosing sits exactly n risers above the bottom floor, where n is the step number counting up from zero at the base.

Ceiling height under the flat run

C = Total Rise − Floor Thickness

Below the floor opening, the ceiling is flat at this height above the lower finished floor — this is the "roof" the lower steps have to clear.

Where the opening starts

X = Total Run − Opening Length
ncrit = floor( X ÷ Tread )

X is the horizontal distance from the bottom of the stair to the header. The last whole step before that point is the critical nosing.

Headroom at the critical point

Hd = C − (ncrit × R)

Ceiling height minus the critical nosing's own height above the floor — this is the number that gets compared to code.

All of it collapses to one pass/fail test: Hd ≥ required minimum (80" standard, 78" spiral). Everything above the critical nosing — once you're past the header — has more headroom, not less, so only this one point needs checking.

Worked example

Walking through a real 108" basement stair

Same basement stair as the Rise and Run Calculator's default — 108" total rise, 14 steps, 7.71" actual riser, 10" tread — now checked for headroom with an 11.25" floor assembly and a 96" rough opening.

1

Total run and ceiling height

13 treads at 10" gives a total run of 130". The flat ceiling under the uncut floor sits at C = 108 − 11.25 = 96.75" above the lower floor.

2

Find the critical step

With a 96" opening, X = 130 − 96 = 34" from the bottom. Dividing by the 10" tread: floor(34 ÷ 10) = step 3 is the last nosing still under the flat ceiling.

3

Headroom at that nosing

Step 3's nosing sits 3 × 7.71 = 23.14" above the floor. Headroom there is 96.75 − 23.14 = 73.61" — six and a third inches short of the 80" IRC minimum. This exact shortfall is the single most common reason a basement stair fails its rough-in inspection.

4

The fix cascades from the opening length

Lengthening the rough opening to 120" moves the critical point to X = 130 − 120 = 10", which is step 1: headroom becomes 96.75 − 7.71 = 89.04" — a clean pass. The stair's own geometry never changed; only where the floor gets cut did.

This is why a stair can pass every riser and tread check and still fail here — headroom is governed by the floor opening decision, a separate choice the rise-and-run math has no visibility into.

Code reference

Headroom minimums by stair type and code

The number itself is one of the more consistent figures across US codes. The exceptions are where jurisdictions and stair types diverge.

ScenarioGoverning codeMinimum headroom
Standard residential stairwayIRC R311.7.280" (6'8")
Standard commercial / egress stairwayIBC 1011.280" (6'8")
Spiral stairwayIRC R311.7.10.178" (6'6")
Existing/replacement basement or attic stair, pitch fixedIRC R311.7.2 exception[VERIFY: exact figure — 76" (6'4") appears in some adopted editions/amendments, but this varies by jurisdiction and IRC edition]
UK primary domestic stairApproved Doc. K1 1.102.0 m (≈78.7")
UK loft-conversion stair (relaxation)Approved Doc. K1 1.10(b)[VERIFY: sources disagree on whether the reduced figure is 1.9m centre/1.8m side or 1.8m centre/1.9m side — confirm current wording before relying on it]

Reference only — always confirm against your local jurisdiction's adopted code edition and any amendments before building. For a full multi-item audit, use the IRC Stair Code Checker.

Beyond the number

Where headroom actually gets measured, and where it gets lost

The 80" figure is simple. Applying it correctly to a real, three-dimensional stairwell is where most planning-stage estimates go wrong.

Vertical, not perpendicular

Measured plumb from the nosing line

Both IRC R311.7.2 and IBC 1011.2 define headroom as a vertical (straight up-and-down) measurement from the sloped nosing line to the obstruction above — not a measurement taken perpendicular to the stair's slope. The distinction matters: a perpendicular reading is always a few inches larger than the vertical one at the same physical point, so using it would overstate your actual clearance.

The side-nosing exception

4-3/4" max projection, side only

Where nosings at the side of a flight run slightly under the edge of the floor opening, code allows that edge to project up to 4-3/4" horizontally into the required headroom without counting as a violation. It only applies at the side of the stair — it doesn't relax the minimum at the center or the far side.

Landings count too

Same minimum, full width and length

The same clearance has to hold over the entire landing, not just the sloped run. A door that swings out over a top landing, or a soffit boxing in a mid-flight landing on a U-shaped stair, checks against the identical number.

Multi-flight stairs have two pinch points

Check the lower flight under the upper one

On an L- or U-shaped stair, the underside of the upper flight's stringers and landing framing often creates a second, tighter pinch point directly over the lower flight — independent of the floor opening this calculator checks. Verify that clearance separately for switchback layouts.

These are planning-stage estimates. Ducts, sprinkler heads, and finish materials added after framing inspection can all eat into a clearance that passed on paper — leave margin where you can.

Avoid these

Common mistakes when checking stair headroom

Headroom is the single most commonly failed code item on basement stairs. Almost every failure traces back to one of these five errors.

📍

Measuring from the wrong point

Headroom is measured from the sloped nosing line, not from the flat tread surface or the sub-floor below it. Measuring from the wrong reference point can overstate clearance by an inch or more per step.

📐

Using a perpendicular reading instead of vertical

A tape held perpendicular to the stair's slope reads larger than the vertical distance code actually requires at the same spot. Always measure straight up and down.

🪵

Assuming the header matches the joist depth

Headers and trimmer beams framing a stairwell opening are routinely deeper than the surrounding joists — an LVL header can add 2" or more that a quick joist-depth estimate misses entirely.

🔀

Skipping the lower flight on a switchback stair

On L- and U-shaped layouts, the tightest headroom is often under the upper flight's stringers, not under the visible ceiling — a check this straight-run calculator doesn't cover on its own.

🔌

Not leaving margin for what comes later

Rough framing that clears 80.5" can end up under 80" once drywall, a duct, or a sprinkler head gets added. A pass that's this close to the line is a pass worth re-checking after trades finish.

Who uses this

When to check stair headroom

Headroom shows up wherever a stair passes under an existing or planned floor structure — indoors, most often, but not exclusively.

🏠

Basement Finishing

Checking a fixed, often tight, existing floor opening before committing to a stair design.

🧱

New Construction Framing

Sizing a floor opening before the joists get cut, so the stair passes on the first rough inspection.

🏚️

Loft & Attic Conversions

Checking clearance under a sloped roofline against the tighter UK Part K loft relaxation or a US attic-stair exception.

🔁

Stair Replacement

Confirming a new stair design still clears an existing, unchangeable floor opening.

🏢

Commercial Egress Review

Verifying IBC 80" clearance during plan review on a commercial stairwell.

🔀

Switchback & U-Shaped Stairs

Flagging the second pinch point under an upper flight before framing locks it in.

FAQ

Common questions

What is stair headroom and how is it measured?
Headroom is the clear vertical distance from the sloped line connecting the tips of the tread nosings up to any ceiling, header, duct or beam above. IRC and IBC both measure it vertically, not at an angle perpendicular to the stair's slope.
What is the minimum stair headroom required by code?
6 feet 8 inches, or 80 inches, under both IRC R311.7.2 for residential stairs and IBC 1011.2 for commercial stairs, held continuously along the full flight and any landings.
Is headroom measured straight up or at an angle to the stair?
Straight up. Both the IRC and IBC define the required clearance as measured vertically from the nosing line to the obstruction above, not perpendicular to the stair's slope.
Does the headroom requirement apply to landings too?
Yes. The same minimum applies across the full width and length of any landing or platform in the stairway, not just the sloped run between floors.
What is the minimum headroom for a spiral staircase?
6 feet 6 inches (78 inches) under IRC R311.7.10.1 — two inches less than a standard stair, alongside the tighter tread and rise limits spiral stairs already carry.
Can an existing basement stair have less than 80 inches of headroom?
Some IRC editions and local amendments allow a reduced minimum for existing or replacement stairs serving an unfinished attic or basement where the pitch can't be altered. The exact figure and conditions vary by adopted edition, so confirm with your local building department before relying on it.
Where is the tightest headroom point usually located on a basement stair?
Almost always at the last tread nosing still under the uncut floor joists, right before the leading edge of the stairwell opening. Every step past that point is under the open stairwell, where headroom stops being restrictive.
How much floor opening length do I need for adequate headroom?
Enough that the last nosing under the flat ceiling still clears by the required minimum. Lengthening the rough opening moves the critical nosing lower on the flight, usually the cheapest fix for a headroom failure that doesn't involve changing the stair's pitch.
Does the 4-3/4 inch side projection exception apply to the whole stair width?
No. It only applies at the side of a flight, where the nosings extend slightly under the edge of the floor opening. It does not relax the minimum measured at the center or the far side of the stair.
What is the UK headroom requirement compared to the US?
UK Approved Document K requires 2.0m (about 78.7 inches) of clear headroom on a primary domestic stair, close to but not identical to the US 80-inch minimum. Loft-conversion stairs get a documented relaxation, though sources differ on the exact centre-versus-side figures, so verify current guidance for that specific case.
Why does my stair pass the riser and tread check but still fail on headroom?
Riser and tread checks only look at the stair's own geometry. Headroom depends on a second, independent thing entirely: where the floor structure above happens to sit. A perfectly compliant flight can still run into a header, duct or beam that rise-and-run math never sees.
What should I do if my planned stair doesn't have enough headroom?
In rough order of cost: lengthen the floor opening so the critical nosing sits further from the header, flatten the stair's pitch to lower every nosing, lower the floor below, or raise the floor above. Moving a duct or beam that crosses the stairwell is usually the last resort.