Stair Calculator

Enter the total rise and run of your staircase to find the number of steps, the riser height and the tread depth per step.

in
in
in
Enter the total rise and run, then press Calculate.

The stair formula

Designing a flight of stairs means splitting a fixed total rise into equal risers, then sharing the total run across the treads.

risers = round( total rise ÷ target riser ) riser height = total rise ÷ risers treads = risers 1 tread depth = total run ÷ treads

Every flight has one more riser than tread, because the upper floor serves as the last step. Rounding the riser count to a whole number keeps every step exactly equal — uneven steps are a trip hazard.

Worked example

A staircase with 108 in total rise, 120 in total run, target riser 7 in:

Risers: 108 ÷ 7 = 15.43 → round to 15.
Riser height: 108 ÷ 15 = 7.20 in.
Treads: 15 − 1 = 14.
Tread depth: 120 ÷ 14 = 8.57 in.
Check the comfort rule: 2 × riser + tread ≈ 24-25 in for a natural stride. Here 2 × 7.20 + 8.57 = 22.97 in — slightly tight on tread, so a longer run would feel more comfortable.

Building code limits

Typical US residential code (the IRC) caps the riser at about 7.75 inches and sets a minimum tread depth around 10 inches, with all steps in a flight kept uniform within a small tolerance. These limits keep stairs safe to climb and descend. Local jurisdictions can differ, so always confirm with your building department before cutting stringers.

Frequently asked questions

How do I calculate the number of stair steps?

Divide total rise by a target riser (~7 in) and round: risers = round(rise ÷ 7). Then riser height = rise ÷ risers. A 108 in rise gives 15 risers at 7.2 in each.

What is a comfortable riser height and tread depth?

Riser about 7-7.75 in, tread at least 10-11 in. Aim for 2 × riser + tread ≈ 24-25 in.

How many treads are there compared to risers?

One fewer tread than risers — the top landing is the last step. 15 risers means 14 treads.

What are the building code limits for stairs?

US IRC: max riser ~7.75 in, min tread ~10 in. Confirm with your local building department.

MB
Mustafa Bilgic · Editor, Calcool
The rise/run math is standard carpentry. Code figures here reflect typical IRC residential limits; codes vary by location, so verify locally before building. This tool computes any rise, run and target riser you enter.

Related calculators