Stairs calculator
How many steps, how tall each riser is, how long the run and the stringers are, from the total rise.
Open the interactive calculatorWorked example
Using the default sizes, the result is 5 steps (7.20 in risers, 3.7 ft run).
| Item | Quantity | Note |
|---|---|---|
| Risers (7.20 in tall) | 5 riser | 36 in wide |
| Treads (11 in deep) | 4 tread | |
| Stringers (about 4.7 ft long board) | 3 stringer | Cut from boards at least as long as this |
How it is calculated
- Number of steps (risers):
round(total rise ÷ wanted riser height)
round(36.0 ÷ 7) = 5 steps - Actual riser height:
total rise ÷ steps
36.0 ÷ 5 = 7.2 in - Treads:
steps − 1 (the top step is the floor above)
5 − 1 = 4 treads - Total run:
treads × tread depth
4 × 11 = 44 in - Stringer length:
sqrt(rise² + run²)
sqrt(36.0² + 44.0²) ÷ 12 = 4.74 ft
What to enter
| Field | Unit | Help |
|---|---|---|
| Total rise | ft | Height from the lower floor or ground to the top surface you step onto. Measure it, do not guess. |
| Riser height you want | in | Height of one step. About 7 in is comfortable. The code limit is usually 7 3/4 in. |
| Tread depth | in | Depth of the part you step on. The code minimum is usually 10 in. |
| Tread material | choose | Thinner treads need stringers closer together: up to 24 in apart for 2x lumber, up to 16 in apart for 5/4 decking or composite. Check your tread product. |
| Stair width | in | Width of the stairs. Used for the number of stringers. |
Before you buy
- Estimate only. Check local code and ask a licensed professional: guards, handrails, landings and framing are structural.
Frequently asked questions
How do I calculate stairs?
How many steps, how tall each riser is, how long the run and the stringers are, from the total rise. Enter your sizes in the calculator. It works out number of steps (risers) (round(total rise ÷ wanted riser height)) and the later steps, then rounds up to what stores sell.
Where does the stairs max riser number come from?
7.75 in. 2021 International Residential Code R311.7.5.1: maximum riser height 7 3/4 in. Some states differ (for example North Carolina and Virginia allow 8 1/4 in). Check your local code. Checked against its source on 2026-11-13.
Where does the stairs min tread number come from?
10 in. 2021 International Residential Code R311.7.5.2: minimum tread depth 10 in. Some states differ (for example North Carolina allows 9 in). Check your local code. Checked against its source on 2026-11-13.
Does this calculator show prices?
No. It gives quantities and a shopping list you can share, print or export. Ask your supplier for prices.
Can I build from this estimate?
No. It is a planning estimate. Structural parts depend on local code, soil and loads. Check local code and ask a licensed professional.