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.
Need presets, code profiles, printing or sharing? Continue with these values.
Open in the full stair calculatorLayout 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.
| Input | Controls |
|---|---|
| Total rise | Number of risers and riser height |
| Rough opening length | Headroom check at the nosing line |
| Floor thickness | Top riser adjustment |
| Available run | Whether 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.
- Rip a straight, stable board to slightly longer than total rise.
- Mark the finished floor line at the bottom.
- Step off each riser height up the board with a compass or tick marks.
- Label the top riser mark clearly — it's your reference for the header cut.
- 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
- Risers = round(108 / 7.25) = 15, actual riser = 108 / 15 = 7.2 in
- Treads = 14, total run = 14 × 10.5 = 147 in
- 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
- 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
Related stair calculators
Design, layout & building
Stair design calculator
Stair design calculator that scores riser and tread pairs for comfort, sets stair width and nosing, and helps you choose a design before building.
Design, layout & building
Stair building calculator
Stair building calculator that turns riser and tread numbers into a materials list (stringers, treads, risers, skirt), a build sequence and common mistakes.
Design, layout & building
Stair headroom calculator
Check stair headroom clearance and figure the floor opening length you need. Enter rise, riser, opening and floor thickness to see your clearance in inches.
Landings, turns & shapes
Stair calculator with landing
Calculate a two-flight stair with an intermediate landing: risers per flight, landing depth, and each flight's own run and stringer length.
Design, layout & building
Stair dimensions calculator
Stair dimensions calculator covering riser, tread, nosing, width, headroom and handrail height, with a table of typical residential vs. commercial values.
Design, layout & building
Stair calculator with diagram
Free stair calculator with diagram: see the side-elevation and stringer drawing update live as you enter rise, riser and tread, then print it for the job.
- Open the full stair calculator →
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.