Staircase Calculator Guide: Risers, Treads and Safe Stair Design
A staircase that feels right is rarely an accident. It is the result of a few measurements made carefully before any timber is cut: the total height to climb, the height of each step, the depth of each tread, and the horizontal space the flight will occupy. Get those numbers wrong and the stair will feel steep, cramped, or tiring, even if it is beautifully built. Get them right and the stair almost disappears into the background of daily use, which is exactly what a good stair should do. A staircase calculator performs the division and checks the relationships between those numbers, but the judgement about comfort, safety, and compliance with building codes remains with the designer and builder.
This guide explains the calculation for a straight flight, which is the foundation for more complex stairs. It is general guidance only. Real stairs are governed by local building codes, which set maximum riser heights, minimum tread depths, minimum widths, headroom, and handrail requirements, and those codes vary by country and by building type. Always check the code that applies to your project and have the design verified by a qualified professional before building. A calculator can suggest dimensions; it cannot approve a stair.
The key terms
Total rise is the vertical distance from the finished floor below to the finished floor above. It must be measured between finished surfaces, not between rough structures, because flooring thickness at either end changes the rise and therefore every step. Riser height is the vertical height of one step. Tread depth, sometimes called going, is the horizontal depth of one step, measured from the front edge, or nosing, of one tread to the nosing of the next. Total run is the horizontal distance the flight occupies, which is tread depth multiplied by the number of treads. Headroom is the vertical clearance above the stair, measured from a tread nosing to the ceiling or structure above, and it must remain adequate along the whole flight, not just at one point.
Comfort depends mainly on the relationship between riser and tread. A widely used rule of thumb is that twice the riser height plus the tread depth should total roughly 24 to 25 inches, or about 600 to 635 millimetres, which approximates a natural stride on a stair. A riser of 7 inches with a tread of 10 inches gives 2 times 7 plus 10, which equals 24 inches, satisfying the rule. A riser of 8 inches with a tread of 9 inches gives 2 times 8 plus 9, which equals 25 inches, also satisfying it, but the stair will feel steeper. The rule is a guide, not a code requirement, and codes set the hard limits within which the rule should be applied. Within those limits, lower risers and deeper treads generally feel easier, especially for children, older people, and anyone carrying something.
Calculating risers and treads
Start with total rise and a target riser height within the code limit and the comfortable range, often around 7 to 7.5 inches. Divide total rise by the target riser height to get an approximate riser count, then round to the nearest whole number, because a stair cannot have a fractional step. Divide total rise by that whole number to get the actual riser height, which will be close to the target but rarely exactly equal to it. That actual height is the height of every riser in the flight: risers must be uniform, because even a small variation, especially at the top or bottom step, is a trip hazard. People learn the rhythm of a stair within a few steps, and an unexpected step height breaks that rhythm.
The number of treads in a straight flight is usually one less than the number of risers, because the upper floor itself acts as the final tread. If a flight has 15 risers, it has 14 treads, and the total run is 14 times the tread depth. This off-by-one relationship is a common source of error, and it matters for the space the stair occupies: forgetting it overstates the run by one tread depth, which can be the difference between a stair that fits and one that collides with a wall or door. Where a landing interrupts the flight, each section is calculated separately, and the landing counts as a tread for the lower flight in the same way the upper floor does.
Worked example with sample values
Suppose a sample straight flight must climb a total rise of 108 inches, with a target riser height of 7.5 inches, using clearly labelled sample values. Divide total rise by target riser height: 108 divided by 7.5 equals 14.4, because 7.5 times 14 is 105, leaving 3, and 3 divided by 7.5 is 0.4. Round 14.4 to the nearest whole number, which is 14, or consider 15. The choice matters, so examine both. With 14 risers, actual riser height is 108 divided by 14, which equals about 7.71 inches, since 14 times 7.7 is 107.8. With 15 risers, actual riser height is 108 divided by 15, which equals exactly 7.2 inches, because 15 times 7 is 105 and 15 times 0.2 is 3, totalling 108. The 15-riser option gives a gentler, more comfortable step and an exact result, so choose 15 risers at 7.2 inches each.
Now choose a tread depth. Take 10 inches, which satisfies the comfort rule: 2 times 7.2 plus 10 equals 24.4 inches, within the 24 to 25 inch range. The number of treads is risers minus one: 15 minus 1 equals 14 treads. Total run is 14 times 10, which equals 140 inches, or 11 feet 8 inches. Check headroom and space: the flight needs 140 inches of horizontal run plus space at the top and bottom for landings and door swings, and headroom must be checked at every point, because a stair that fits in plan may still fail in section where a ceiling slopes or a beam crosses. The calculation is complete only when rise, risers, treads, run, and headroom have all been checked together.
Headroom, width, and handrails
Headroom is measured vertically from the nosing line, the imaginary line joining the nosings of the treads, to the ceiling above, and codes typically require at least 80 inches, or about 2 metres, though the exact figure varies. Headroom failures are common where a stair passes under a sloping roof or an existing floor, because the ceiling height at the bottom of the flight may be generous while the clearance halfway up, where the stair has risen but the ceiling has not, is tight. Check headroom at several points along the flight, not just at the ends, and remember that finished ceiling thickness, beams, and light fittings all reduce clearance.
Width is governed by code and by use: a stair that serves as the main route in a home needs to be wide enough for furniture and for two people to pass, where the code requires it, while a stair to a loft or a secondary space may be narrower. Handrails are required on at least one side in most codes, and on both sides for wider or public stairs, at a specified height above the nosings, with a grip size that a hand can actually hold. A handrail that is too large in section, interrupted by newel posts at awkward points, or missing at the top and bottom steps fails its purpose, which is to give a continuous support for the whole flight. These are code matters, and they should be checked against the applicable code, not assumed from general guidance.
Common mistakes to avoid
The first mistake is measuring total rise between rough surfaces and forgetting flooring thickness, which shifts every riser and creates an uneven first or last step. The second mistake is allowing risers to vary, especially by adjusting only the top or bottom step to absorb a measurement error. Absorb errors by recalculating all risers uniformly, not by changing one. The third mistake is forgetting that treads number one less than risers, which misstates the total run. The fourth mistake is checking headroom only at the ends of the flight. The fifth is designing a stair that satisfies the arithmetic but violates the code on width, handrail, or landing size. The sixth is building without a full-scale check: mark the stair on the wall or floor, walk the rhythm mentally, and confirm door swings, landings, and furniture routes before cutting. A stair is difficult and expensive to alter once built, and an hour of checking on paper saves days of rebuilding.
Try it next
Try the Staircase Calculator Guide tool with your own numbers, then explore the Brick Quantity Calculator and the Paint Calculator for related calculations. For a companion read, see /blog/brick-quantity-calculator-guide/, which applies the same measure-carefully habit to a different problem.