# Stair calculator

Stair layout starts with the total rise, floor to floor, in inches. Divide by a target riser near 7 to 7.5 inches and round to a whole number of risers. The actual riser is the total rise divided by that count. There is one fewer tread than there are risers. Stringer length is the hypotenuse of the total rise and the total run.

Canonical page: https://tools.torontosoft.com/calculators/carpentry/stair-calculator/

## Formula

Risers start at round(total rise ÷ target) and increase until each riser is 7.75 inches or less. Treads = risers − 1. Total run = treads × tread depth. Stringer = square root of (rise² + run²).

## Worked example

A 105-inch total rise divided by a 7.5-inch target is exactly 14 risers at 7.5 inches. There are 13 treads. At 10 inches each, the run is 130 inches and the stringer is about 167 inches.

- Risers: 14
- Actual riser height: 7.5 in
- Treads: 13
- Total run: 130 in
- Stringer length: 167.11 in
- Stair angle: 38.9°

## Assumptions

- Total rise is finished floor to finished floor, including the flooring.
- Tread depth here is the cut depth you asked for. Nosing and the code's tread-depth measurement are a separate rule.
- Headroom, width, handrails, and guards are not checked.

## Sources

- 2021 International Residential Code R311.7.5.1 limits the riser to 7.75 inches. R311.7.5.2 sets a 10-inch minimum tread depth. Local amendments and the measurement of nosing can change what passes.

## Questions

### How many risers do I need?

Divide the total rise by about 7.5 and round to a whole number, then check that the actual riser is 7.75 inches or less. A 105-inch rise wants 14 risers.

### Why is there one fewer tread than risers?

The top riser lands on the upper floor, which acts as the last tread. You do not add a tread on top of the upper floor.

### What is a comfortable riser?

Many houses land between 7 and 7.5 inches, with a tread near 10 or 11. The code maximum is not the same thing as a comfortable stair.


This is a planning estimate. It is not engineering, electrical design, or tax advice.
