ProjectSums

Stair calculator

This calculator answers how many risers and treads a straight stair needs, and how long the stringers are, from the total rise you measure.

Calculator

in
in

Default 7.75 in. The riser count is ceil(rise / this).

in

Default 10.5 in. Keep at least 10 in.

in

About 1 stringer per 16 in, and at least 3 at 36 in.

Result

6

equal risers

Riser height
6.67 in
Treads
5
Total run
52.5 in
Stringer
≈ 66 in
Stringers
3
2×riser + tread
23.83 in

23.83 in, just under the 24–25 in comfort range.

Riser variation is 0 in, under the 3/8 in limit. IRC R311.7.5; local amendments may apply.

Shopping list for this project

You need about 6 risers.

Materials: Stringers, treads, and risers for this rise. Local stair rules can change the cut.

Tools that help

As an Amazon Associate I earn from qualifying purchases.

More tools →

Sponsored / Amazon Associate picks

Tools after you estimate

ProjectSums may earn from Amazon qualifying purchases. Calculators stay free; these are not brand endorsements. Educational only.

All labeled picks

How this calculator works

Risers n = ceil(total rise / 7.75). The 7.75 in target is editable. Riser height = total rise / n, so every riser is equal. Treads = n − 1. Run = treads × tread depth. Tread depth defaults to 10.5 in and should not go under 10 in. Stringer length ≈ √(rise² + run²), with rise and run in the same unit.

A comfortable step lands near 2 × riser + tread = 24–25 in. The form warns if the riser is over 7.75 in, the tread is under 10 in, or the risers would vary by more than 3/8 in. IRC R311.7.5 sets those limits; local amendments may apply. Equalizing one flight makes the variation 0.

Stringers are about 1 per 16 in of stair width, and at least 3 for a 36 in stair. Width defaults to 36 in. This page does not choose the lumber size.

Worked example (illustrative). A 40 in rise → 6 risers at 6.67 in, 5 treads, 52.5 in run, stringer ≈ 66 in. At 36 in wide that is 3 stringers. 2 × riser + tread = 23.83 in, just under the 24–25 in comfort range.

FAQ

Why are there fewer treads than risers?

On a straight flight the upper floor is the last walking surface. If you have 12 risers you have 11 treads. Counting them the same will order one extra tread or one too few.

What riser height is the calculator aiming for?

It starts from the target you enter, then equalizes every riser so the total adds up exactly. It flags results outside the usual IRC residential limits. It does not pick a height that violates those limits on purpose.

Does the stringer length include waste?

The geometric length is the hypotenuse of the total rise and total run. Add allowance for the end cuts before you buy the board. The form shows both the geometric length and the purchase length.

Can I use this for a deck stair?

Yes, for one straight flight. Measure from the deck surface to the landing. A landing in the middle is two flights. Rail height and graspability are separate from the rise-and-run count.

Embed this calculator

Free to use on your site. Please keep the credit link.

Preview: open the embed · How embedding works

By ProjectSums Editors · Reviewed against manufacturer data and building-code references · Last updated October 4, 2026

Estimates only. Check product labels, manufacturer instructions and local building codes before you buy or build.