Stair Layout Calculators

Six calculators that take a straight stair from a tape measurement to cut stringers: the finished total rise, the riser and tread layout, the angle, the stairwell opening for headroom, the floor space the stair takes and the stringer layout. Each one works in inches or millimetres and checks against the IRC, IBC, UK, Canadian or Australian rules you choose.

By the Stair-Math TeamUpdated

The 6 stair layout calculators

Which stair layout calculator do you need?

Pick the calculator by the question you are asking
Your questionCalculatorWhat you get
How high does my stair actually climb?Total rise calculatorFinished floor-to-floor height from the framing and flooring, or deck height on sloped ground
How many steps, and how deep?Stair calculatorRisers, treads, total run and a code check — for an indoor stair, a fixed space or a deck
Is the stair too steep?Stair angle calculatorAngle, comfort rules and the code maximum, or the rise and run for a target angle
How long must the hole in the floor be?Stairwell opening calculatorOpening length and width for legal headroom, or a headroom check on an existing opening
Will the stair fit the room?Staircase footprint calculatorFloor space of straight, landing, L, U and spiral layouts side by side
Where do I cut the stringers?Stair stringer calculatorFraming-square settings, bottom drop, throat, board length and stringer count

If the stair has to turn, wind or climb steeply in a tight space, start with the turning and specialty stair calculators instead.

Plan a straight stair in six steps

  1. Fix the total riseMeasure finished floor to finished floor. If the flooring is not down yet, add its thickness at the top and subtract it at the bottom — a ¾ in mismatch is already enough to fail the 3/8 in riser rule.
  2. Lay out risers and treadsDivide the rise into equal risers under the code maximum and choose a tread depth. The run follows: treads × tread depth.
  3. Check the angleA 7 in riser on an 11 in tread climbs at 32.5°; the IRC limits of 7¾ in and 10 in make 37.8°. If the layout is steeper than the code allows, add a riser or deepen the treads.
  4. Size the stairwell openingThe floor above must stop far enough back that nobody hits their head. On a typical stair the opening covers most of the flight.
  5. Check the floor spaceAdd a landing at the top and bottom at least as deep as the stair is wide. If the length will not fit, compare turning layouts.
  6. Lay out the stringersWith the numbers fixed, set the framing square, drop the bottom riser by the tread thickness and check the throat left below the notches.

A 9 ft stair, start to finish

The same stair run through all six calculators, built to the IRC: 108 in finished floor to finished floor, 36 in wide, 10½ in treads with a 1 in nosing, a 12 in floor above and 2x12 stringers.

One stair, six calculators
CalculatorResult
Stair calculator15 risers of 7.20 in (7-3/16") and 14 treads of 10½ in — 147 in (12 ft 3 in) of run
Stair angle calculator34.4° — inside the comfortable range and under the IRC maximum of about 37.8°
Stairwell opening calculatorOpening at least 135.17 in long for 80 in of headroom: (80 + 12) × 10.5 ÷ 7.2 + 1
Staircase footprint calculatorAbout 148 in × 36 in — 37 ft² — plus landings; a 60 in spiral would take 25 ft²
Stair stringer calculatorThree 2x12 stringers on a 36 in stair, 190.97 in long — buy 16 ft boards; 5.31 in throat, bottom riser dropped 1 in for the tread

Change any one number — say the floor finish adds ¾ in upstairs — and the total rise calculator feeds a new rise into the rest. That is why the order matters.

The rules that shape a stair layout

Layout limits the calculators check, by region
RuleUS IRC (homes)US IBCUK Part KCanadaAustralia
Riser≤ 7¾ in4–7 in≤ 220 mm125–200 mm115–190 mm
Tread / going≥ 10 in≥ 11 inpitch ≤ 42°, 2R + G 550–700 mmrun ≥ 255 mm240–355 mm
Headroom6 ft 8 in80 in2.0 m1950 mm2.0 m
Width36 in44 in—860 mm—
Flight≤ 151 in rise≤ 12 ft rise—≤ 3.7 m rise2–18 risers

Every flight also needs equal risers and treads — within 3/8 in under the IRC — and a landing at the top and bottom at least as deep as the stair is wide. The stair code checker runs the full list, including handrails and guards.

Layout mistakes that cost a rebuild

  • Measuring to the subfloor. Flooring added later makes the top riser short and the bottom riser tall. Measure to finished floors, or allow for the finishes in the total rise calculator.
  • Counting treads as risers. A standard stair has one tread fewer than risers, because the upper floor is the last step. Getting this wrong adds a whole tread depth to the run.
  • Forgetting the bottom drop. The bottom of the stringer is cut down by one tread thickness so the first riser comes out right once the treads go on.
  • A stairwell opening that is too short. Headroom is measured plumb from the sloping line through the nosings, so the opening has to reach back over most of the flight — not just the top few steps.
  • No room for the landing. The last riser cannot end at a door swing or a wall; plan at least a stair-width of clear floor at the bottom and top.

Stair layout FAQs

In what order should I plan a stair?

Total rise first, because every other number depends on it. Then the riser and tread layout, then the angle check, then the stairwell opening for headroom, then the floor space the stair needs at the top and bottom, and the stringer layout last — once the numbers are fixed.

What do I need to measure before I use a stair calculator?

The finished floor-to-floor height (or the deck surface to the ground where the stair lands), the floor thickness at the top of the stair for the headroom opening, the stair width you want, and the length of floor available in front of the stair at the bottom. Measure to finished floors, or note the thickness of the flooring still to go down.

What is the difference between total rise and total run?

Total rise is the vertical height the stair climbs, finished floor to finished floor. Total run is the horizontal length the stair covers, from the face of the bottom riser to the face of the top riser — the number of treads times the tread depth. A 108 in rise with 15 risers of 7.2 in and 14 treads of 10½ in has a 147 in total run.

Is a straight stair the right choice for my space?

A straight stair is the simplest and cheapest to build, but it needs a long, clear strip of floor — about 12 ft 3 in of run for a 9 ft floor height, plus a landing at each end. If the room is shorter, an L-shaped, U-shaped, winder or spiral stair packs the same climb into less length; compare them with the staircase footprint calculator.

Which building code do these calculators check against?

You choose: the US IRC for homes (the default), the US IBC for commercial buildings, UK Approved Document K, the Canadian code or the Australian NCC. Each calculator shows the limit it used and the code section, so you can check it against the edition your building department enforces.

Do I need a permit to build or replace a stair?

In most places, yes — a new stair, or replacing one, is structural work that must meet the stair rules for rise, run, headroom, width, handrails and guards. Repairs such as new treads or carpet usually do not. Check with your local building department before you start; it may ask for a drawing with the numbers these calculators produce.

Do the calculators work in metric?

Yes. Every layout calculator takes inches, feet and inches, millimetres, centimetres or metres, shows results in your units, and remembers your choice across the site. You can type fractions such as 7 1/4 or values with units such as 184mm.

Sources

  1. International Residential Code 2021, Chapter 3, Section R311.7 — Stairways (opens in a new tab)International Code Council. Riser, tread, nosing, width and handrail limits for homes; flight height limit at R311.7.3.
  2. International Building Code 2021, Chapter 10, Section 1011 — Stairways (opens in a new tab)International Code Council. Riser, tread and flight limits for commercial buildings.
  3. Approved Document K: Protection from falling, collision and impact (opens in a new tab)UK Government (statutory guidance for England). Maximum riser, maximum pitch and 2R + G range.
  4. National Building Code of Canada 2020 (opens in a new tab)National Research Council Canada. Riser and run limits for stairs.
  5. National Construction Code 2019, Volume Two, Part 3.9.1 — Stair construction (opens in a new tab)Australian Building Codes Board. Riser and going limits and 2R + G range (Table 3.9.1.1), no more than 18 and no fewer than 2 risers in each flight.

Code text is the final word. Editions and local amendments differ — check the edition your building department enforces.

All calculatorsEvery Stair-Math calculator on one page, by category.View all

Other stair calculator categories