Design & layout

Stair layout calculator

A stair layout calculator turns your riser and tread numbers into actual floor marks — where the top riser sits, where the bottom lands, and whether the rough opening gives enough headroom.

Laying out a stair on site is different from calculating it. You're transferring dimensions onto a floor, a wall, or a story pole, and small layout errors compound over a dozen risers.

Enter your total rise, riser target, rough opening length and floor thickness, and this calculator gives you the marks you need before you cut a single stringer.

Stair layout calculator

Finished floor to finished floor, measured plumb.

The riser height you would like; the calculator rounds to a whole number of equal risers.

Nosing to nosing. Nosing overhang is not included.

Horizontal length of the stairwell opening, measured back from the top riser.

Joists plus subfloor plus finish floor plus any ceiling below.

15 risers of 7 3/16″, 14 treads of 10 1/2″, total run 147″, angle 34.4°, stringer 182 7/16″.

Risers

15

Riser height

7 3/16″

Treads

14

Tread depth

10 1/2″

Total run

12′ 3″

Stair angle

34.4°

Stringer length

15′ 2 7/16″

2R + T

24 7/8″

comfort ≈ 24–25 in

Headroom

6′ 5/16″

  • Warning: Insufficient headroom

    Headroom at the floor opening is about 72 5/16″, below the 80″ reference minimum. Lengthen the floor opening by about 11 1/4″ or steepen the stair.

Important: Building codes vary by location. Always verify your final stair design against the applicable local building code and authority having jurisdiction.

Stair side-elevation diagramSide elevation of a stair with 15 risers of 7 3/16″ and 14 treads of 10 1/2″, total rise 108″, total run 147″, angle 34.4°.UP108″147″7 3/16″10 1/2″34.4°Stringer 182 7/16″Headroom 72 5/16″
Side elevation of the calculated flight (auto-scaled).

Need presets, code profiles, printing or sharing? Continue with these values.

Open in the full stair calculator

Layout is different from design

Designing a stair picks riser and tread sizes. Laying it out means physically marking those numbers onto the framing so the stair lands exactly where it's supposed to.

You're usually working from a rough opening in the floor above, a header at the top, and a finished floor line at the bottom — none of which line up perfectly with the theoretical numbers until you account for floor thickness and finish materials.

Locating the top riser from the header

The top riser height is measured from the top of the upper finished floor down to the top of the first tread below it — not to subfloor, unless your subfloor and finish floor are the same thickness as the lower level's.

If the upper floor has 3/4 in flooring the lower level doesn't have yet, that difference has to come out of the top riser or it'll be taller than the rest. Enter your floor thickness so the calculator adjusts for it.

Mark the top riser location on the header or rim joist first, since everything else — total run, stringer length, bottom landing point — is measured down and out from that mark.

Marking the total run on the floor

Snap a chalk line from directly under the top riser mark out to the calculated total run distance. That line is your reference for stringer placement and for checking that the stair actually fits the available opening.

If the rough opening above is shorter than the total run below (common with steep stairwells), the diagram and layout numbers will show it immediately — you'll either need a steeper riser or a longer opening.

Layout inputs and what they control
InputControls
Total riseNumber of risers and riser height
Rough opening lengthHeadroom check at the nosing line
Floor thicknessTop riser adjustment
Available runWhether the stair physically fits

Checking headroom before framing

Headroom is the vertical clearance measured from the nosing line of each tread straight up to the framing or finished ceiling above. Commonly cited IRC reference values call for a minimum of 6 ft 8 in of headroom over the full stair, though local codes vary and the authority having jurisdiction makes the final call.

The rough opening length you enter determines where the header ends and open stairwell begins — walk that point on the diagram and confirm it clears the required headroom before you frame anything permanent.

Headroom is measured to the nosing, not the riser face — a stair that looks fine at the wall can still be tight at the walking line under a low header.

Using a story pole

A story pole is a straight board marked with each riser height, held plumb next to the framing to transfer riser marks without re-measuring every time. It's faster and less error-prone than pulling a tape for each of fifteen risers.

Mark your story pole using the exact riser height this calculator returns, not a rounded number — a 1/8 in rounding error repeated over fifteen risers adds up to almost 2 in of drift by the top.

  1. Rip a straight, stable board to slightly longer than total rise.
  2. Mark the finished floor line at the bottom.
  3. Step off each riser height up the board with a compass or tick marks.
  4. Label the top riser mark clearly — it's your reference for the header cut.
  5. Use the pole to transfer marks to stringers or wall layout lines.

Snapping lines for skirt boards

If the stair runs against a wall, skirt boards need a layout line parallel to the walking line, offset by the tread and riser thickness. Snap this line before installing stringers so the skirt sits tight without gaps at each step.

The side-elevation diagram gives you the exact rise-over-run slope to transfer to a level or laser for that line.

Worked math

Worked example: laying out a 108 in rise, 120 in opening

Given

  • Total rise: 108 in
  • Riser target: 7.25 in
  • Rough opening: 120 in
  • Floor thickness: 10 in

Steps

  1. Risers = round(108 / 7.25) = 15, actual riser = 108 / 15 = 7.2 in
  2. Treads = 14, total run = 14 × 10.5 = 147 in
  3. Rough opening is 120 in, so the last 27 in of run (147 − 120) fall outside the opening — normal for a stair that continues past the header line into open floor space
  4. Confirm headroom at the point where the nosing line passes under the header edge (120 in from the top riser)

This layout needs 147 in of floor run with the header ending at 120 in, so headroom must be checked specifically at that 120 in mark, not just at the top of the stair.

Questions

Stair layout calculator FAQ

What is the difference between a stair design calculator and a layout calculator?

Design picks the riser and tread sizes for comfort and code. Layout takes those sizes and tells you where to mark the header, floor and stringers so the physical stair lands in the right place.

How do I account for finished floor thickness in stair layout?

Subtract the difference between upper and lower finished floor thickness from the top riser height, or enter your floor thickness here so the calculator adjusts it for you.

Where exactly is headroom measured on a stair layout?

From the nosing line of each tread straight up to the framing or ceiling above, not from the riser face. Commonly cited IRC reference values call for at least 6 ft 8 in, but local code and the AHJ decide the exact requirement.

What is a story pole used for in stair layout?

It's a marked board with each riser height stepped off, used to transfer accurate riser marks to framing without re-measuring with a tape for every step.

Can this calculator handle a stair with a landing?

This tool lays out a single straight flight. For a stair that turns at a landing, use the stair calculator with landing or the L-shaped stair calculator, which lay out both flights and the landing depth.

Why doesn't my total run match my rough opening length?

That's common on stairs that continue past the header into open room below — only the portion under the header needs the full headroom clearance, but the full run still needs to fit your floor plan.

Keep going

Important

Disclaimer

StairCalculator.app provides calculations and educational information. Building codes and construction requirements vary by location. Verify final dimensions and requirements with the applicable local building authority or qualified professional.

Calculations are only as accurate as the measurements and inputs you provide; small errors in measuring total rise or floor thickness can shift the results, so double-check field measurements before cutting materials, and treat every reference value and worked example on this site as illustrative rather than a guarantee of code compliance.