Stairs

Stair calculator

A stair calculator divides the total rise by the tallest riser the code allows and rounds up. Under the IRC, a 8′ 9″ rise needs 14 risers of 7-1/2″, and with 10-1/2″ treads the 13 treads run 11′ 4-1/2″.

Framing Calculators editorial teamUpdated 9 sources

Calculator

Stair calculator

Total rise and tread depth in; risers, run, stringer and code check out.

Try:
in
in
More options
in
in
in
in
in

Type lengths the way you read a tape: 8' 9", 7 3/4 or 7.75. Metric: 2667 mm or 2.667 m.

Opening 10′ 7-3/8″Run 11′ 4-1/2″Rise 8′ 9″14 risers × 7-1/2″13 treads × 10-1/2″35.5°
Risers14 × 7-1/2″
Treads13 × 10-1/2″
Total run11′ 4-1/2″

Layout

Stair angle
35.5°
2 × riser + tread
25-1/2″
Stringer length
14′ 4-1/8″buy 16′ 0″ boards
Throat left on the stringer
5-1/8″
First riser on the stringer
6-1/2″dropped 1″ for the tread
Stairwell opening
10′ 7-3/8″for 6′ 8″ headroom
Tread board depth
11-1/2″run + 1″ nosing

Check: US – IRC (homes)

  • Riser 7-1/2″ — max 7-3/4″
  • Tread 10-1/2″ — min 10″
  • Rise of the flight 8′ 9″ — max 12′ 7″ between landings
  • Nosing 1″ — 3/4″ to 1-1/4″ when treads are under 11″
  • Headroom to keep clear: 6′ 8″ above the nosing line

Other riser counts

RisersRiserRunAngleCode
138-1/16″10′ 6″37.6°✗ fails
147-1/2″11′ 4-1/2″35.5°✓ meets
157″12′ 3″33.7°✓ meets
166-9/16″13′ 1-1/2″32°✓ meets

How it works. Risers = total rise ÷ maximum riser, rounded up. Riser height = total rise ÷ risers. Treads = risers − 1. Total run = treads × tread depth. Stringer length follows from the step triangle (rise, run and its diagonal).

How the stair calculator works

The stair calculator needs only two measurements, the total rise and the tread depth you want; everything else is arithmetic. It works in five steps:

  1. Measure the total rise from the finished lower floor to the finished upper floor, plumb, with a level and tape. Include flooring that is not down yet.
  2. Count the risers. Divide the rise by the code's maximum riser and round up. 8′ 9″ ÷ 7-3/4 in = 13.55, so 14 risers.
  3. Size each riser. Divide the rise by that count: 105 ÷ 14 = 7-1/2″. Every riser in the flight must match within 3/8 in under the IRC[1].
  4. Count the treads. A straight flight has one tread fewer than risers, because the upper floor is the last step: 13 treads.
  5. Find the run. Treads × tread depth: 13 × 10-1/2 in = 11′ 4-1/2″ of floor space, face of the first riser to face of the last.

Under More options you can also enter the floor space you have, to check the run fits, and the nosing, to get the depth of each tread board. If the run is too long for the room, try a stair rise and run calculator that starts from the space you have, or split the climb with a stair calculator with landing. For outdoor steps off a deck, the deck stair calculator builds the treads from deck boards.

Stair code limits in the US, UK, Canada and Australia

The riser maximum, tread minimum and any rise-to-going rule decide how many steps a stair needs. These are the dwelling (private) stair limits the calculator checks:

Private stair limits by code
CodeRiserTread / goingOther rules
US IRC 2021/2024[1][2]max 7-3/4 in (196 mm), no minimummin 10 in (254 mm)6 ft 8 in headroom; 36 in width; max 151 in rise per flight
US IBC (commercial)[3]4–7 in (102–178 mm)min 11 in (279 mm)dwelling units may use 7-3/4 / 10 in
England, Approved Doc K[4]150–220 mm220–300 mmpitch max 42°; 2R + G 550–700 mm; 2.0 m headroom
Canada NBC 2020[5]125–200 mmrun 255–355 mm860 mm width; 1950 mm headroom; max 3.7 m per flight
Australia NCC 2022[6][7]115–190 mmgoing 240–355 mm2R + G 550–700 mm; 2 to 18 risers per flight; 2.0 m headroom

The IRC is a model code that states and cities adopt, often with amendments[9]. The 2024 IRC moved stairways from R311.7 to R318.7 without changing these numbers[2]. Check which edition your building department enforces.

Stair calculator rise and run: a worked example in metric

For a 2,700 mm floor-to-floor height in Australia, the maximum riser is 190 mm, so 2,700 ÷ 190 = 14.2 rounds up to 15 risers of 180 mm. With a 250 mm going, 2R + G = 610 mm, inside the 550–700 mm band[6]. The 14 treads take 3,500 mm of floor, and 15 risers stay under the 18-riser limit for one flight.

The same height under the IRC gives 2,700 ÷ 196.85 = 13.7, so 14 risers of 193 mm. Different codes often give different counts for the same opening, which is why the calculator lets you pick the code.

Stair calculator with diagram: what the drawing shows

The stair calculator with diagram draws your flight to scale as you type. The wood shape is one cut stringer on the board width you chose, with the treads laid on top. Two details are easy to miss:

  • The drop. The first riser on the stringer is cut short by the tread thickness, so every finished step comes out equal once the treads are on.
  • The throat. The wood left under the notches. A 2x12 with 7-1/2″ × 10 in steps keeps 5-1/4″; deeper steps eat more. The stair stringer calculator gives the layout marks.

Headroom and the stairwell opening

The opening in the floor above must be long enough that nobody hits their head: the IRC wants 6 ft 8 in measured plumb from the sloped line through the tread nosings[1]. Add the upper floor thickness (joist, subfloor and ceiling) under More options and the calculator gives the opening length. For 14 risers of 7-1/2″, 10 in treads and an 11 in floor, it is about 10 ft. England and Australia require 2.0 m, Canada 1,950 mm for a dwelling stair[4][5][7].

Picking a comfortable tread depth

A comfortable stair keeps twice the riser plus the tread near 25 in (63 cm). The 1979 NBS Guidelines for Stair Safety cites 2R + T = 63 cm as a good formula and R + T of 17 to 18 in as an older rule[8]. England and Australia write a band of 550–700 mm into the code[4][6]. With 7-1/2″ risers, a 10 in tread gives 25 in; a 9 ft rise (14 risers of 7-11/16″) is just as easy with a 10 in tread.

Measure twiceTotal rise is the one number that ruins a stair if it is wrong. Measure at the stair location, from finished floor to finished floor, after deciding the flooring on both levels.

Common stair calculation mistakes

Most stair errors come from the total rise or the bottom step, not from the arithmetic:

  • Measuring before the flooring. Total rise is finished floor to finished floor. A 3/4 in floor added later changes the top or bottom step by more than the 3/8 in variation the 2021 IRC (R311.7.5.1) allows[1].
  • Rounding the riser count down. 105 in ÷ 13 risers is 8.08 in, over the 7-3/4 in limit. Always round the count up.
  • Counting a tread for every riser. The upper floor is the last step, so a straight flight has one tread fewer than risers.
  • Forgetting the drop. Cut the tread thickness off the bottom of the stringer or the first step is too tall.
  • Skipping headroom. Any beam or floor edge must clear 6 ft 8 in above the nosing line (R311.7.2; R318.7.2 in 2024).
  • Using nominal sizes. A 2x12 stringer is 11-1/4 in wide, not 12 in, which matters for the throat.
  • Open sides without a guard. Where the stair is more than 30 in above the floor, the open side needs a guard whose openings stop a 4-3/8 in sphere, sized so a small child cannot slip through[1]; see the baluster spacing calculator.

Parts of a stair

A stair is risers, treads and nosings carried on stringers, with headroom and a handrail measured from the line through the nosings. The diagram labels each part with the 2021 IRC limit[1]:

total risetotal run123456
A 105 in rise in 14 risers of 7-1/2 in, drawn to scale with an 11 in floor above.
Stair parts and their IRC limits (2021 / 2024 section)
#PartLimit and section
1Riser heightat most 7-3/4 in (196 mm); 2021 R311.7.5.1, 2024 R318.7.5.1
2Tread depthat least 10 in (254 mm), nosing to nosing; R311.7.5.2 / R318.7.5.2
3Nosing3/4 to 1-1/4 in where the tread is under 11 in; R311.7.5.3 / R318.7.5.3
4Headroomat least 6 ft 8 in (2032 mm) above the nosing line; R311.7.2 / R318.7.2
5Handrail height34 to 38 in above the nosing line, 4 or more risers; R311.7.8 / R320.2
6Stringercut 2x12 (11-1/4 in wide); the 2024 IRC moved these rules to R318.7 and R320

Frequently asked questions

How many steps do I need for a 9 foot rise?

Under the IRC a 108 in rise needs 14 risers of about 7-11/16″ and 13 treads. 108 ÷ 7-3/4 = 13.9, which rounds up to 14.

What is the standard stair rise and run?

For homes in the US the IRC allows risers up to 7-3/4 in and treads of at least 10 in. Commercial stairs under the IBC use 4–7 in risers and 11 in treads. A 7 in riser with an 11 in tread is a common comfortable choice.

Does the top floor count as a step?

Yes for risers, no for treads. The last riser lands on the upper floor, so a straight stair has one tread fewer than it has risers.

Is there a stair calculator app?

Yes: this page is built to work as one on a phone. It runs in any mobile browser with no sign-up, and you can add it to your home screen from the browser menu.

Can I use the stair calculator in metric?

Yes. Switch the panel to m · mm and type the rise in millimetres. The code check converts the IRC limits and uses the UK, Canadian and Australian limits in their own millimetre values.

Sources

  1. 2021 International Residential Code, Chapter 3: Building Planning (R301.5, R311.7 stairways, R312 guards) · International Code Council, read-only Digital Codes, accessed November 13, 2026
  2. 2024 International Residential Code, Chapter 3 (R318.7 stairways, R320 handrails, R321 guards) · International Code Council, accessed November 13, 2026
  3. 2021 International Building Code, Chapter 10: Means of Egress (1011.5.2, 1015.3) · International Code Council, accessed November 13, 2026
  4. Approved Document K: Protection from falling, collision and impact (2013 edition, for use in England) · HM Government, gov.uk, in effect April 6, 2013
  5. National Building Code of Canada 2020, Division B, Part 9, Section 9.8 Stairs, ramps, handrails and guards · National Research Council Canada, Fifteenth Edition 2020
  6. ABCB Housing Provisions, Part 11.2 Stairway and ramp construction (NCC 2022) · Australian Building Codes Board, accessed November 13, 2026
  7. ABCB Housing Provisions, Part 10.3 Room heights (stair headroom) · Australian Building Codes Board, accessed November 13, 2026
  8. Guidelines for Stair Safety, Building Science Series 120 (Archea, Collins, Stahl) · National Bureau of Standards (now NIST), May 1979
  9. International Residential Code adoption map · International Code Council, accessed November 13, 2026