HOME & MEASUREMENT

Stair Calculator

How many steps do you need? Enter the total rise from floor to floor and get the number of risers, the exact riser height, treads, total run, stringer length and angle, checked against common US residential code limits.

Your project

Finished floor to finished floor, including flooring on both levels.

The IRC limit is 7 3/4 in. Many builders aim for 7–7 1/2 in.

Going up

Horizontal depth of each step, nosing to nosing. The IRC minimum is 10 in.

Calculations stay in your browser. No sign-up needed.

total risetotal run
Illustration only · not to scale

Your stair layout

Measure the rise. Get even steps.
Enter the total rise to get started.

Free calculator by TidyUseOpen full calculator ↗

How many stairs do I need?

Divide the total rise by the tallest riser you will allow and round up: that is the number of risers. Then divide the total rise by that whole number to get an even riser height. A straight stair has one fewer tread than risers, because the upper floor is the last step.

Risers = round up(total rise ÷ max riser height)
Riser height = total rise ÷ risers
Treads = risers − 1
Total run = treads × tread depth
Stringer diagonal = √(total rise² + total run²)
Angle = arctan(riser height ÷ tread depth)

If you only have so much floor space, choose “Total run I have room for”: the tread depth becomes total run ÷ treads.

A basement stair, worked out.

The rise from the basement floor to the finished floor above is 105 in. With a 7 3/4 in maximum, 105 ÷ 7.75 = 13.5, so round up to 14 risers. Each riser is 105 ÷ 14 = 7 1/2 in.

That gives 13 treads. At 10 in deep, the total run is 130 in, or 10 ft 10 in. The stringer diagonal is √(105² + 130²) ≈ 167 in, about 13 ft 11 in, at an angle of 36.9°.

Check: 2 × 7.5 + 10 = 25 in, inside the common 24–25 in comfort range.

In metric: a 270 cm rise with a 19 cm limit needs 15 risers of 18 cm, 14 treads of 26 cm and a 364 cm run.

Stair rise chart

Using a 7 3/4 in maximum riser and 10 in treads. Riser heights are rounded to the nearest 1/16 in.

Risers, treads and run by total rise
Total riseRisersRiser heightTreadsTotal run
24 in46 in32 ft 6 in
36 in57 3/16 in43 ft 4 in
48 in76 7/8 in65 ft 0 in
72 in (6 ft)107 3/16 in97 ft 6 in
96 in (8 ft)137 3/8 in1210 ft 0 in
105 in147 1/2 in1310 ft 10 in
108 in (9 ft)147 11/16 in1310 ft 10 in
120 in (10 ft)167 1/2 in1512 ft 6 in
132 in (11 ft)187 5/16 in1714 ft 2 in

US residential code limits

The 2021 International Residential Code (IRC) sets a maximum riser height of 7 3/4 in (R311.7.5.1), a minimum tread depth of 10 in (R311.7.5.2), at most 3/8 in difference between the tallest and shortest riser or deepest and shallowest tread in a flight (R311.7.5.3), and at least 6 ft 8 in of headroom (R311.7.2). Many places adopt the IRC with local changes, so confirm with your building department.

Good questions. Clear answers.

How many steps for a 9 ft (108 in) rise?

With a 7 3/4 in maximum riser, 108 ÷ 7.75 = 13.9, so you need 14 risers of 7 11/16 in and 13 treads. At 10 in treads the run is 130 in.

Is a step the riser or the tread?

People use “steps” for both. To climb a stair you step up once per riser, so the riser count is usually what “how many steps” means. You build one fewer tread, because the floor at the top is the final step.

What is the most comfortable stair angle?

Many residential stairs fall between about 30° and 38°. A long-standing rule of thumb is that 2 × riser + tread should be about 24–25 in (61–64 cm); this calculator checks it for you.

How long should the stringer board be?

The diagonal is the straight-line distance from the bottom of the first riser to the top of the last one. The board must be longer to allow for the cuts at each end, so buy the next standard length up and lay out the cuts before you buy.

How many stringers does a stair need?

That depends on the stair width, tread material and the span rules in your code or the stringer and tread manufacturer’s instructions. This calculator sizes the layout only, not the structure.

Embed this calculator on your website (free)

Free for contractors, material suppliers and blogs — no sign-up or API key. Copy and paste this HTML snippet onto any page:

Method & sources

Risers = total rise ÷ maximum riser height, rounded up; every riser is then the same height. Treads = risers − 1 for a straight flight with no landing. Exact conversions: 1 in = 2.54 cm. The comfort check uses the rule 2R + T = 24–25 in (61–64 cm), a traditional guideline rather than a code requirement.

Code limits are from the 2021 International Residential Code, section R311.7. Your jurisdiction may use another edition or local amendments, and commercial buildings follow different rules. This is a layout aid, not a structural design.

Last reviewed: November 4, 2026.

Keep your project moving.