mystaircalculator.com logo mystaircalculator.com
  1. Home
  2. Calculators
  3. Specialty & Accessories
  4. Stair Opening / Floor Cutout Calculator
Specialty & Accessories

Stair Opening / Floor Cutout Calculator

Enter your stair's rise and run, the headroom you need, and how deep the upper floor is framed. Get the rough floor opening length, width and header setback — before anyone cuts a joist.

Free to use No sign-up required Formulas verified against IRC 2021 Imperial & metric supported
Opening length & width calculated Header setback included 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 straight down from the top finished floor to the bottom finished floor.

This is the floor you're cutting into above the stair — its framing depth, not the floor at the bottom of the stair.

Advanced: width, joists & buffer
inches
in/side

[VERIFY: 1" per side is a common carpentry allowance for drywall + trim + framing tolerance — confirm against your own wall finish thickness.]

inches

Add a little extra if you want a walking landing at the top before the header, not just the code-minimum cut.

[VERIFY: most U.S. residential code officials read headroom as a straight vertical measurement, but some jurisdictions and stair-industry references measure perpendicular to the sloped nosing line instead. Confirm which your local building department uses — it changes the opening length.]

Side profile diagram of the stair, headroom line and the floor opening it requires

Results

Opening Length
in
Opening Width
in
Header Setback
in
Stair Angle
°
Headroom Used
in
Floor Depth Used
in
Joists Interrupted
approx
Opening Area
sq ft
How to measure

What to measure before you cut a floor opening

This calculator only works from the same numbers a real framing crew works from. Get these four right first.

1

Total rise, floor to floor

Plumb from the finished floor at the bottom of the stair to the finished floor at the top. If you already ran the Stair Rise and Run Calculator, this is the same number.

2

Riser height and tread depth

Use your finalized step design, not a rough guess — the opening length is sensitive to the stair's angle, which comes directly from these two numbers.

3

The upper floor's framing depth

Measure or confirm from the plans what's actually framing the floor you're cutting into — joist depth plus subfloor thickness. This is the floor above the stair, not the floor at the bottom.

4

Your headroom target

Leave it on Auto for the 80" IRC residential minimum, or enter a taller custom target if you want more comfortable clearance than the code floor.

The math

The five formulas behind every result

The opening isn't just "however long the stair is" — it's the point where the headroom line clears the underside of the upper floor, worked backward from the top.

Header Setback

X = (Rise − D − H) × (T ÷ R)

How far back from the bottom of the stair the header can start. Rise is total rise, D is floor assembly depth, H is headroom target, R and T are the riser and tread that set the stair's slope.

Opening Length

L = Total Run − X + Buffer

Total run is the horizontal distance the stair actually covers. Subtracting the setback point — and adding any extra buffer you want — gives the rough opening length.

Opening Width

W = Stair Width + 2 × Side Clearance

Clear stair width plus an allowance on each side for drywall, trim and ordinary framing tolerance.

Joists Interrupted (approx.)

J ≈ ceil(L ÷ Spacing) + 1

A rough count of how many regularly-spaced joists the opening crosses. Treat this as a planning estimate — confirm the real header and trimmer sizing separately.

Opening Area

A = (L × W) ÷ 144

Total footprint of the rough opening in square feet — useful for comparing against available floor space or an existing stairwell.

Worked example

Walking through a real 108" basement stair

Same 108" rise this site's Rise and Run Calculator uses as its default — 14 steps, a 7.71" actual riser, and a 10" tread once the 2R+T rule gets floored at code minimum.

1

Stair geometry, reused

108" rise ÷ 7.5" target riser rounds to 14 steps, giving an actual riser of 7.71" and, after the 2R+T rule floors at the 10" IRC minimum, 13 treads at 10" each for a 130" total run — identical to this site's Rise and Run Calculator example.

2

Header setback

With an 80" headroom target and a 2×10 + subfloor assembly (10" deep): X = (108 − 10 − 80) × (10 ÷ 7.71) = 18 × 1.297 ≈ 23.3" from the bottom nosing.

3

Opening length

L = 130" − 23.3" = 106.7", with no extra buffer added. That's the minimum rough opening length this flight needs in the upper floor's joists.

4

Width, joists and area

At a 36" clear stair width plus 1" clearance per side, the opening is 38" wide. At 16" O.C. joist spacing that crosses roughly 8 joists, for a total rough opening area of about 28.1 sq ft.

Now swap only the floor assembly to an 11-7/8" I-joist (12.625" deep): the opening length grows to roughly 110.1" — over 3" longer for the same stair, just from a deeper upper floor. Stack a taller 82" headroom target on top of that same I-joist and the opening pushes to about 112.7" — the two advanced inputs compound rather than cancel out.

Reference

Common upper-floor assembly depths

The dropdown above uses these standard depths. Dimensional lumber sizes are fixed nationally; engineered I-joist depths vary slightly by manufacturer, so confirm from your own spec sheet.

FramingActual Member Depth+ 3/4" SubfloorNotes
2×8 dimensional7.25"8.0"Short spans, additions, low-clearance retrofits.
2×10 dimensional9.25"10.0"The most common residential floor joist size.
2×12 dimensional11.25"12.0"Longer spans or heavier loads.
9-1/2" I-joist9.5" [VERIFY]10.25" [VERIFY]Engineered lumber — depth varies by manufacturer series.
11-7/8" I-joist11.875" [VERIFY]12.625" [VERIFY]Common in new construction with longer joist bays.
14" I-joist14" [VERIFY]14.75" [VERIFY]Deep bays for wide-open floor plans; longest opening impact.

Reference only — always confirm your actual joist depth from the framing plan or the engineered-lumber spec sheet before cutting.

Beyond the opening size

Header, trimmers & framing the opening

Knowing how long and wide to cut the hole is step one. Actually framing it safely is a separate job this calculator doesn't do for you.

Rough opening vs. finished opening

Finished = Rough − (drywall + trim)

Everything above is the rough framed opening. Once drywall, trim and any stairwell guard go in, the finished clear opening is smaller — this is the single most common source of "why is my opening tighter than the calculator said" complaints.

Double headers and trimmers

Standard practice: 2-ply header + trimmer

Both ends of the opening typically get a doubled header carrying the cut (interrupted) joists, supported by doubled trimmer joists running parallel to the field joists. Exact ply count and species/grade come from a span table, not this calculator.

Which floor actually matters

Use the upper floor's depth, always

It's easy to grab the framing depth of the floor you're standing on by habit. The header that constrains headroom lives in the upper floor's joists — using the wrong floor's depth is a common and easy-to-miss error.

Multi-flight and turned stairs

Not modeled by this calculator

An L-shaped, U-shaped, or winder stair has a headroom line that changes direction at the turn. Straight-run math like this can't check that condition — treat each straight flight separately and verify the turn itself by eye or with a code checker.

For the actual joist, header and trimmer sizing once you know the opening dimensions, see the Landing Framing Calculator and Joist Hanger Count Calculator linked below — this page stops at "how big does the hole need to be."

Avoid these

Common mistakes when sizing a stair opening

Most "the stair doesn't fit the hole" problems on site trace back to one of these five planning errors.

🧱

Using the wrong floor's framing depth

The header lives in the upper floor. Plugging in the lower floor's joist depth by mistake understates how far back the opening actually needs to start.

📏

Confusing rough opening with finished opening

Drywall, trim, and any guard or half-wall at the stairwell edge all eat into the rough-framed dimension. Order materials to the rough number, not the finished one.

📐

Measuring headroom from the wrong line

Headroom is measured from the nosing line — the line connecting tread leading edges — not from the tread surface itself and not from an adjacent wall.

🪜

Treating a landing stair as one straight flight

Once total rise passes 147", code requires an intermediate landing. This calculator's formula assumes a single uninterrupted flight — a landing stair needs each flight sized separately.

🔨

Cutting before confirming joist direction

The opening's long dimension needs to run perpendicular to the joists it interrupts, with header and trimmer framing on solid bearing — check joist direction on the plan before anyone touches a saw.

⚖️

Skipping the header/trimmer span check

A correctly-sized hole with an undersized header is still a failed inspection. Confirm the doubled header and trimmer framing against a span table once you have the opening dimensions.

Who uses this

When to size a stair floor opening

This comes up any time a new or resized stair needs a hole cut in an existing or planned floor.

🏚️

Basement Stair Framing

Cutting a new opening into a main-floor deck for basement access.

🪜

Attic Ladder-to-Stair Conversion

Replacing a pull-down ladder with a real staircase and its own floor opening.

📋

Failed Headroom Re-Inspection

Reworking an opening that failed a headroom check the first time around.

🏗️

New Construction Framing Plans

Confirming the stairwell opening before floor sheathing goes down.

🏢

Loft & Mezzanine Access

Sizing the opening for a new stair up to a loft or mezzanine level.

🛒

Buying a Prefab Stair Kit

Checking an existing opening against a manufactured stair's footprint before ordering.

FAQ

Common questions

How long does a stair floor opening need to be?
The rough opening length is driven by required headroom clearance and the depth of the upper floor's framing, not just the stair's total run. A steeper stair needs a shorter opening; a thicker upper floor assembly or a taller headroom target both need a longer one.
What is the difference between rough opening and finished opening for a stair?
The rough opening is the raw framed dimension in the joists before drywall, trim or a stairwell rail is added. The finished opening is smaller once those finish materials eat into the clear width and length.
Does the opening length depend on the floor below or the floor above?
The upper floor. The header that constrains headroom sits in the upper floor's joist framing, so it is that floor's joist depth plus subfloor thickness that matters, not the framing of the floor you are standing on at the bottom of the stair.
How wide should a stair opening be?
Rough opening width is generally the finished clear stair width plus an allowance on each side for drywall, trim and a small framing tolerance, commonly an inch or so per side, so confirm the exact allowance against your own wall finish thickness.
What happens if my calculated opening is longer than my available floor space?
You generally have three levers: increase total rise if possible, use a shallower upper floor assembly, or raise the stair's angle within the code comfort range so it climbs more per foot of run. Reducing the headroom target below code minimum is not an option.
Do I need a structural engineer for a stair opening?
This calculator sizes the opening; it does not size the header or trimmer lumber that carries the interrupted joists. Wide openings, long spans, or anything supporting more than typical residential floor loads should be sized by a framer's span table or an engineer.
Can I use this for an L-shaped or winder staircase?
No. This calculator assumes one straight flight with a constant riser and tread. Winders, switchbacks and stairs with an intermediate landing have a headroom line that changes direction partway up, which this straight-run formula does not model.
Why does a thicker upper floor need a longer opening?
A deeper joist means the underside of the header sits lower relative to the finished floor above it, so the header has to be pushed further back down the stair before it clears the required headroom line.
What if my stairs need a landing partway up?
Once total rise passes 147 inches, IRC requires an intermediate landing, which splits the stair into two flights, each needing its own opening treatment. Run each flight through this calculator separately using its own rise.
How many joists get cut for a typical stair opening?
It depends on the opening length and joist spacing. This calculator gives an approximate count for planning, but the exact header and trimmer sizing for the joists that get interrupted should come from a framing span table or a landing framing calculation.
Where exactly do I measure headroom from?
From the nosing line, the imaginary line connecting the leading edge of every tread, up to whatever is overhead at that point along the stair, not from the tread surface itself and not from the wall next to the stair.
Is the rough opening the same on every floor a stair passes through?
Not necessarily. A stair connecting three floors needs a headroom check, and potentially a different opening length, at each level it passes through, since floor assembly depth and headroom obstructions can differ floor to floor.