Stair formula explained with an example
The stair formula has three lines because a staircase has three unknowns: how many steps, how high each step is, and how far the staircase runs. Each line answers one of those questions, and each answer feeds the next line.
What each line means
Steps = total rise ÷ target riser, rounded to the nearest whole step Actual riser = total rise ÷ steps Total run = (steps − 1) × tread depth
Steps come first because you cannot build part of a step. Dividing the rise by the target riser gives a decimal, and rounding it gives a buildable number of steps. The actual riser then re-divides the rise by that whole number, so the steps come out exactly equal — slightly above or below your target, but identical to each other, which is what feet actually notice.
Worked example: a total rise of 300 cm with a target riser of 18 cm gives 300 ÷ 18 = 16.67, rounded to 17 steps. The actual riser is then 300 ÷ 17 = 17.65 cm, and with a tread depth of 27 cm the total run is (17 − 1) × 27 = 432 cm. A second staircase, 280 cm rise with a 17 cm target, gives 280 ÷ 17 = 16.47, rounded to 16 steps, an actual riser of 17.50 cm and a run of (16 − 1) × 26 = 390 cm with 26 cm treads.
The minus one in the run formula is the subtle part. The last step up is the upper floor itself, so there is one fewer tread than there are steps. Forgetting that adds a whole tread depth — 27 cm in the example — to the run, which can be the difference between a staircase that fits and one that hits a wall.
Frequently asked questions
Why round the step count instead of using the exact division?
Because you cannot build a fraction of a step. Rounding gives a whole number of steps, and the actual riser is then adjusted so all steps are equal. Equal risers matter far more than hitting the target exactly.
Why is the total run based on steps minus one?
Because the top step is the upper floor itself: you step from the last tread onto the landing, not onto another tread. Counting an extra tread would overstate the run by one tread depth.
What riser and tread sizes suit a home staircase?
Around 17 to 19 cm with a tread of 25 to 28 cm suits most homes. Local building rules may set limits, so check them before building. This calculator does the geometry, not the regulations.
More guides on the Stair Calculator
- How to calculate stair step by step
- Stair: a worked example from start to finish
- Stair mistakes most people make
- Stair for beginners: no maths background needed
- Stair FAQ: the questions everyone asks
- Stair on mobile: doing it without an app
- Stair shortcut method for quick answers
- Stair with units: converting inputs correctly
- Stair history: where the formula comes from
Enter your total rise, target riser and tread depth to see the step count and total run.