Measuring

Stair Opening Calculator: Sizing the Stairwell Before You Frame

The stairwell opening in the floor above must be long enough to clear headroom requirements along the full run of the stair. For a straight flight with 14 risers at 7.5 in (19 cm) and 13 treads at 10 in (25 cm), a stair opening calculator typically returns a rough opening of about 130-145 in (330-368 cm) long by 37-38 in (94-97 cm) wide, depending on floor joist and framing thickness.

Start with the numbers: our stair runner calculator also works as a stair runner length calculator, adding nosing wrap, landings, winders, pattern repeat and waste so you order the right length first time.

By Sophie Ainsworth, Design editor · · 6 min read

Last updated · Reviewed by James Whitfield, Stair runner fitter and flooring estimator

Stair Opening Calculator: Sizing the Stairwell Before You Frame — measuring tread, riser and nosing on a flight of stairs

Why the stairwell opening is its own calculation

It is tempting to assume the stairwell opening simply equals the total run of the staircase, but the opening actually needs to be longer than total run in most cases, because headroom must be maintained not just at the base of the stair but continuously along the walking line as a person climbs. A stair opening calculator works backward from your minimum required headroom (80 in under the IRC, 2 m under UK Part K) to find how far the header joist needs to be set back from the bottom of the stair.

How headroom drives opening length

Headroom is measured as a vertical distance from a sloped line drawn through the nosing points of each tread up to the underside of the header or ceiling above. Because this measuring line is sloped and the header above is flat and horizontal, the critical, tightest headroom point is usually a few steps up from the bottom of the flight, not at the very bottom or very top. To find where the header must start, you essentially work out where a vertical line up from the required headroom point intersects the sloped floor above, then extend the opening from there to the top of the stair.

How a stair runner is measuredOne step showing tread depth, riser height and the nosing wrap that all add together to give the runner length per step.Tread depthRiser heightNosing wrapRunner per step = tread + riser + nosing allowance
How each step contributes to total runner length: tread, riser and nosing wrap.

A simplified worked example

Take our 14-riser, 7.5 in riser, 10 in tread stair, with a floor/ceiling assembly above that is 12 in thick (joist plus subfloor plus finish flooring). To maintain 80 in of headroom measured vertically from the tread nosing line, and given the stair's pitch (rise over run, here roughly 7.5/10 = 0.75, or about 37 degrees), you need the header to begin far enough back from the bottom of the stair that the sloped headroom line clears it. In practice, most residential straight stairs with standard pitch need the stairwell opening to extend roughly 12-15 in beyond the point where the total rise alone would suggest, which is why builders typically add a buffer of 12-24 in past bare total run when framing the rough opening, then verify with a direct headroom check once framing is up.

ElementUS (in)UK (cm)
Total run (12 treads x 10 in)130330
Headroom buffer allowance12-1530-38
Rough opening length (approx.)142-145360-368
Rough opening width (36 in stair + framing)37-3894-97

Know your numbers in 30 seconds

Enter your step count, tread depth and riser height — the stair runner calculator gives you the exact length to order, in metres and feet, with waste included.

Open the stair runner calculator

Framing width of the opening

Opening width is more straightforward than length: take your desired clear stair width (36 in under most US codes above handrail height) and add roughly 1-2 in for wall finish and framing tolerance on each side, landing around 37-39 in of rough opening width. In the UK, an 800 mm practical stair width typically needs a rough opening closer to 850-900 mm once wall finishes and any handrail projection are accounted for.

Stair Opening Calculator: Sizing the Stairwell Before You Frame — a runner centred on a wide staircase with equal timber margins

Always verify headroom after framing, before finishing

Because the exact headroom calculation depends on the thickness of your specific floor assembly and the precise pitch of your stair, treat any opening-length formula as a starting point. After the header joist is framed, physically measure headroom along the stair's sloped walking line at several points before closing up the ceiling or installing drywall.

UK Part K opening considerations

Approved Document K requires 2 m of headroom across the full width of the stair, reducing to 1.9 m at the side of a stair in constrained loft or attic conversion situations, which is a common area where opening size becomes a genuine design constraint. For loft conversions in particular, the available headroom often dictates the minimum stairwell opening size before any other design choice, sometimes forcing a steeper stair or a different stair type such as a space-saver design to fit within an existing roof structure.

Coordinating the opening with finishes

Once the rough opening is framed and headroom verified, the finished opening (after drywall, trim, and any header wrap) will be slightly smaller than the rough opening, typically by 1-1.5 in per side. Keep this in mind if you are specifying a stair width or runner width based on rough framing dimensions, since the finished clear width the runner and handrail actually need to fit within will be a touch narrower.

Sizing the runner once the opening and stair are finished

The stairwell opening itself does not affect runner length, but it does often affect runner width, since a stair built into a tighter opening may end up narrower than originally planned. For a finished 36 in wide stair, a 27-30 in wide runner with a 3-4.5 in gap per side remains standard. For length, using our 13-tread, 7.5 in riser, 10 in tread numbers: 7.5 + 10 + 1 in nosing wrap = 18.5 in per step, times 13 = 240.5 in, plus 24 in finishing = 264.5 in (22 ft), plus 10% waste, order about 24 ft. In metric: 19 cm + 25 cm + 2.5 cm = 46.5 cm per step, times 13 = 604.5 cm, plus 60 cm finishing = 664.5 cm, plus 10% waste, roughly 7.3 m. Confirm these numbers with a stair runner calculator once the finished stair width and step count are locked in.

  • Work backward from required headroom to find opening length, not just total run.
  • Add a framing buffer of roughly 12-24 in beyond total run for standard-pitch stairs.
  • Verify headroom physically after framing, before finishing walls or ceiling.
  • Remember finished opening width is smaller than rough opening by 1-1.5 in per side.
  • Use a stair runner calculator for length and width once the finished stair dimensions are set.

Whatever you decide, get the numbers first: the stair runner calculator doubles as a stair runner length calculator, adding nosing wrap, landings, winders, pattern repeat and waste so you order the right length the first time.

Still deciding on material, width or pattern? Our hub on stair runners compares weaves, widths, backings and fitting styles side by side, then hands the numbers straight to the calculator.

Frequently asked questions

Does the stairwell opening need to be the same length as the total run?

No, it typically needs to be longer, to maintain headroom along the sloped walking line above the stair, not just at the bottom.

What is the minimum headroom for a US residential stair?

80 inches (6 ft 8 in), measured vertically from the tread nosing line under the IRC.

What is the minimum headroom under UK Part K?

2 metres across the full stair width, reducing to 1.9 m at the stair's edge in constrained situations like loft conversions.

How much extra length should I frame beyond total run?

A common buffer is 12-24 in beyond bare total run for standard-pitch residential stairs, though always verify with a direct headroom check.

Why is the tightest headroom point not at the bottom of the stair?

Because the headroom line is measured against a sloped nosing line under a flat header above, so the critical clearance point is usually partway up the flight.

How wide should the rough opening be for a 36 in stair?

Roughly 37-39 in to account for wall finish and framing tolerance on each side.

Does the stairwell opening affect stair runner length?

No, runner length depends on riser and tread dimensions, though a constrained opening can affect the finished stair width and therefore runner width.

When should I verify headroom on site?

Immediately after the header joist is framed and before any drywall or ceiling finish is installed, so adjustments are still possible.

Know your numbers in 30 seconds

Enter your step count, tread depth and riser height — the stair runner calculator gives you the exact length to order, in metres and feet, with waste included.

Plan the finish with the stair runner calculator

Every guide is written from hands-on measuring and fitting experience, checked against the calculator’s own maths, and re-reviewed whenever prices or methods change. Read our editorial standards.

Keep reading