Quick answer: Number of risers = total rise ÷ maximum riser height, rounded up. For a 108 in rise and the US IRC maximum of 7¾ in, you need 14 risers of 7.71 in each and 13 treads.
Building codes vary
Stair rules are set by each country, and often by each state, province or city. The defaults here come from the US International Residential Code and from England's Approved Document K, but your local code may be different. The calculator shows warnings for those two codes only. It does not check your local rules and is not engineering advice.
How to use the stair calculator
- Measure the total rise from the top of the lower finished floor to the top of the upper finished floor.
- Enter the maximum riser height allowed by your local code.
- Enter the tread depth (going) you want, measured nosing to nosing.
- Read the number of risers, the equal riser height, and the total run you need to fit the stair.
Code figures used in the checks
| Rule | US IRC R311.7.5 (homes) | England ADK, private stair |
|---|---|---|
| Riser (rise) | Max 7¾ in (196 mm) | 150 to 220 mm |
| Tread (going) | Min 10 in (254 mm) | 220 to 300 mm |
| Pitch | Not set directly | Max 42° |
| 2 × rise + going | Not set | Normally 550 to 700 mm |
Figures as published in the sources listed below. Always check the edition and amendments adopted where you live.
What the calculator does not cover
- Headroom, handrails, guards and balusters.
- Landings, winders, spiral stairs and turns.
- Nosing projection and the thickness of tread material.
- Structural sizing of stringers. The stringer length is an approximate straight-line length only.
How do you calculate stairs?
Number of risers
Risers = total rise ÷ maximum riser height, rounded up
Rounding up makes every riser equal and no taller than the maximum you enter.
Riser height, treads and run
Riser = total rise ÷ risers; treads = risers − 1; total run = treads × tread depth
The upper floor acts as the top step, so there is one fewer tread than risers.
Stringer and angle
Stringer ≈ √(total rise² + total run²); angle = arctan(riser ÷ tread)
The stringer figure is the sloped length of the flight; the cut stringer board must be longer to allow for its ends and the nosing.
Code figures shown
US IRC: riser ≤ 7¾ in, tread ≥ 10 in. England, private stair: rise ≤ 220 mm, going ≥ 220 mm, pitch ≤ 42°, 2R + G normally 550–700 mm
Used for the defaults and the warnings only. Your local code decides.
Worked examples
A 9 ft (108 in) floor-to-floor rise, US IRC limits
- Risers: 108 ÷ 7.75 = 13.94, rounded up to 14.
- Riser height: 108 ÷ 14 = 7.71 in.
- Treads: 13; total run: 13 × 10 = 130 in (10.83 ft).
- Stringer: √(108² + 130²) = 169.0 in = 14.08 ft. Angle: arctan(7.71 ÷ 10) = 37.6°.
A 270 cm rise in England, 250 mm going (metric)
- Risers: 2,700 ÷ 220 = 12.27, rounded up to 13.
- Riser height: 2,700 ÷ 13 = 207.7 mm.
- Treads: 12; total run: 12 × 250 = 3,000 mm.
- Angle: arctan(207.7 ÷ 250) = 39.7°; 2R + G = 665 mm (within 550–700).
Assumptions and limitations
This calculator assumes
- A straight flight with equal risers and equal treads, and no landing.
- Total rise is measured between finished floor surfaces.
What it does not cover
- It is not a design or engineering tool. Headroom, width, handrails, guards, nosings and landings also have code rules.
- Codes differ by country, state and city, and change over time. Check with your building department before building.
- Winders, spiral stairs and stairs with landings are not covered.
Not professional advice
Questions and answers
How do I calculate the number of steps?
Divide the total rise (floor to floor) by the maximum riser height your code allows and round up. For a 9 ft (108 in) rise with a 7¾ in maximum: 108 ÷ 7.75 = 13.9, so you need 14 risers, each 108 ÷ 14 = 7.71 in tall.
Why is there one fewer tread than risers?
In a straight flight, the top floor acts as the last step. So 14 risers need 13 treads, and the total run is 13 × the tread depth.
What are the US code limits for stairs?
The International Residential Code (R311.7.5) used in many US states sets a maximum riser height of 7¾ in and a minimum tread depth of 10 in for homes, and limits how much risers and treads can vary within a flight. Your state or city may have adopted a different edition or amendments, so check with your building department.
What are the rules in England?
Approved Document K (2013) gives, for private stairs, a rise of 150 to 220 mm, a going of 220 to 300 mm, a maximum pitch of 42°, and says 2 × rise + going should normally be between 550 and 700 mm. Wales, Scotland, Northern Ireland, Canada and Australia have their own rules.
Is this calculator enough to build my stairs?
No. It gives planning figures only. Stairs also need correct headroom, handrails, guards, nosings, landings and structural design. Check your local building code and get professional advice before you build.
Guides that explain this
Roofing & Construction
Stair Riser Height and Tread Depth: US and England Rules
Maximum riser, minimum tread, width, headroom and handrails, with step-by-step stair layouts.
7 min read
Sources and review
Review status: Checked against the sources below, with a hand-calculated example. Last reviewed .
- Standard geometry (area and volume formulas). Rectangle area = length × width; circle area = π × (diameter ÷ 2)²; triangle area = base × height ÷ 2; rectangular prism volume = length × width × depth; cylinder volume = π × r² × height; right-angle trigonometry: angle = arctan(rise ÷ run), sloped length = √(rise² + run²). Accessed 2026-12-02.
- City of Boise IRC Code Handout #437: Stair Treads & Risers, IRC Section R311.7.5 (02/2022). US International Residential Code R311.7.5: riser height not more than 7¾ in (196 mm); tread depth not less than 10 in (254 mm); risers and treads within a flight may vary by no more than 3/8 in. Accessed 2026-12-02.
- UK Government: Approved Document K, Protection from falling, collision and impact (2013 edition, England). Private stairs (Table 1.1): rise 150–220 mm, going 220–300 mm, maximum pitch 42°, 2R + G normally 550–700 mm; minimum headroom 2 m. Accessed 2026-12-02.