SwiftTools

Stair Tread Calculator

Enter your floor-to-floor rise, and this stair tread calculator returns the risers, the exact riser height, the treads, the total run and the stringer length — with the code limits and the comfort rule checked.

Your stairs
risers = ceil(total rise / target riser) · actual riser = total rise / risers · treads = risers - 1 · total run = treads x tread depth · comfort check: 2 x riser + tread = 24 to 25 in · stringer = sqrt(rise² + run²)

Planning estimate: IRC R311.7 caps residential risers at 7-3/4 inches and requires at least 10 inches of tread depth, with no more than 3/8 inch of variation between risers. Always confirm with your building department before cutting stringers — local codes may be stricter.

How the stair tread calculator works

Start with the total rise — the vertical distance from the top of the lower finished floor to the top of the upper finished floor. Divide it by a target riser height of about 7 inches and round up: rounding up keeps every riser at or below your target. Divide the total rise back by that count for the exact riser height, so every step is identical — code allows only 3/8 inch of variation across the whole flight, because your foot learns the first step and expects the rest to match.

Worked example: an 8-foot floor-to-floor rise is 96 inches. 96 divided by 7 is 13.7, rounded up to 14 risers at 96 divided by 14, or 6.86 inches each. There is always one fewer tread than risers, because the upper floor is the last landing — so 13 treads. At 10.5 inches per tread the run is 13 times 10.5, or 136.5 inches (11.4 feet), the stair angle is about 33 degrees, and the stringer is about 13.9 feet long. The comfort check is 2 times 6.86 plus 10.5, or 24.2 inches — inside the 24 to 25 inch band carpenters have used for a century.

Common mistakes: counting treads equal to risers (the classic error — the top floor is a tread); letting risers vary to fit the space (uneven risers are a trip hazard and a code failure); using a tread under 10 inches (the IRC minimum, and 10 feels tight underfoot — most builders use 10.5 or 11); and forgetting the run: a 10-foot rise needs about 14 feet of floor space, which surprises people who measure the stairwell after the framing is up. The Deck Stair Calculator covers outdoor deck steps, and the Concrete Steps Calculator sizes poured concrete stairs.

risers = ceil(total rise / target riser) · actual riser = total rise / risers · treads = risers - 1 · total run = treads x tread depth · 2R + T = 24 to 25 in · stringer = sqrt(rise² + run²)

Related tools

Also try the Deck Stair Calculator for outdoor steps, the Concrete Steps Calculator for poured stairs, and the Deck Joist Span Calculator for the framing below.

Stair tread calculator FAQ

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

A 9-foot (108-inch) rise needs 16 risers at 6.75 inches each, with 15 treads. At 10.5-inch treads the run is 13.1 feet. Rounding up from a 7-inch target keeps every riser at or below 7 inches.

How many treads do I need for a 10-foot rise?

A 120-inch rise needs 18 risers at 6.67 inches each and 17 treads. At 10.5-inch treads the total run is 14.9 feet — measure that floor space before you cut anything.

Why is there always one fewer tread than risers?

Because the upper floor is the last tread. A flight with 14 risers has 13 treads you step on, and the 14th step lands you on the upper floor. Counting treads equal to risers is the classic stair mistake.

What is the maximum riser height allowed by code?

7-3/4 inches for residential stairs under IRC R311.7.5.1, with a 4-inch minimum. Commercial stairs under the IBC cap risers at 7 inches. All risers in one flight must be within 3/8 inch of each other.

What is the minimum tread depth?

10 inches for residential stairs under IRC R311.7.5.2, measured from the face of one riser to the face of the next — the nosing overhang does not count. Most builders use 10.5 or 11 inches because 10 feels tight.

What is the 2R + T comfort rule?

Twice the riser height plus one tread depth should land between 24 and 25 inches. A 7-inch riser with a 10.5-inch tread gives 24.5 — right in the middle, which is why that combination feels natural underfoot.

How long should a stair stringer be?

The diagonal from the bottom of the first riser to the top of the last: the square root of rise squared plus run squared. An 8-foot rise with an 11.4-foot run needs a stringer about 13.9 feet long — buy 16-foot stock.