Guide
Designing a straight stair: risers, treads, run, angle, stringer length and code limits
A staircase must climb exactly the height between two floors in equal steps. Equal matters, because people expect each riser to be identical and trip when one is not. The calculation is simple, but it involves a small loop of choices: how many steps, how high each one is, how deep the treads are and what the stair’s angle and total run will be. This calculator does the arithmetic from the total rise and your preferences.
From rise to risers
Measure the total rise from the finished floor below to the finished floor above. Divide it by the riser height you would like and round to a whole number: that is the number of risers. The tool then divides the total rise by that number so every riser is the same. For 108 in at about 7.5 in the answer is 14.4, which becomes 14 risers, each 7.714 in high. Choosing 15 risers would give 7.2 in, and the tool shows the result for the number nearest your wanted height.
Treads and run
There is one fewer tread than risers, because the upper floor acts as the top tread. With 14 risers there are 13 treads. At a depth of 10 in each, the total run is 130 in, which is the horizontal distance the stair occupies, so you can check whether it fits the space. The stair’s angle is the arctangent of riser over tread: atan(7.714 ÷ 10) = 37.65°.
The stringer
The stringer is the sloping board that carries the treads. Its length along the slope is the hypotenuse of the total rise and the total run: √(108² + 130²) = 169.01 in. This is the length of the notched edge before the top and bottom cuts and the allowance for the board width and the tread thickness. Cut a test stringer and check it before cutting the rest, and use at least three for a normal width.
The comfort rule and code
A comfortable stair satisfies 2 × riser + tread of about 24 to 25 inches (610 to 635 mm). The default stair gives 25.43 in, just above that range, and the metric example gives 610 mm. The tool also warns when the riser is above 7¾ in (197 mm) or the tread below 10 in (254 mm), which are the US residential limits, and when the angle is above 42°. Codes differ between countries, between houses and public buildings and over time, so always check what applies where you build.
Metric and steep stairs
For a rise of 2,700 mm with 180 mm risers and 250 mm treads the tool gives 15 risers, 14 treads, a run of 3,500 mm, an angle of 35.75° and a stringer of 4,420.4 mm. A basement stair with a rise of 96 in, 8 in risers and 9 in treads has 12 risers, 11 treads, a run of 99 in and an angle of 41.63°, which is steep, so it triggers the warning for the tread. The table lists the height of every step above the lower floor, which helps when marking a stringer.
Details that change the first and last riser
The top riser is measured to the finished floor, but the bottom riser may need to be shorter or taller by the thickness of the finished tread and flooring, because treads and floor coverings add height. If the lower floor will be covered with carpet and the stair with wood, adjust the first riser so that all finished risers are equal. Handrails, headroom (usually about 2 m or 6 ft 8 in) and landings are separate rules.
Limits
The tool designs a straight stair with equal risers and treads. It does not cover winders, landings, spiral stairs or the loads on the structure, and the warnings are a reference, not the code of your area. Have the design checked by your building authority or a carpenter before cutting.
Related tools
- Roof Pitch Calculator uses rise and run for the slope of a roof.
- Miter Angle Calculator gives the cuts for handrails and sloping trim.
- Triangle Calculator solves the right triangle that a stringer makes.
- Feet to Inches Converter converts the measurements of a stair quickly.
Checked against the current version of the Stair Calculator on .

