About this Stair Calculator
A staircase has to satisfy several dimensions at once. The floor-to-floor rise determines how much vertical height must be divided among the risers, while tread depth determines how much horizontal space the flight needs. Change the number of steps and both comfort and footprint change.
The Stair Calculator in this script starts from total rise, a target riser height, and tread depth, then calculates the number of steps, actual riser height, total run, stair angle, and stringer length.
Its reference tables add practical design checks such as common riser and tread ranges, the 2R+T rule, recommended headroom, and the fact that the number of treads is generally one fewer than the number of risers.
This makes the tool useful for preliminary stair layout and geometry, while the page also states that local building codes take precedence over its general reference values.
What Is a Stair Calculator?
A Stair Calculator converts a total vertical rise into a workable step layout. The page first estimates Number of Steps = Total Rise ÷ Target Riser Height, then uses the chosen whole-number step count to calculate Actual Riser Height = Total Rise ÷ Number of Steps.
Total Run is based on the step/tread count and tread depth, Stair Angle = arctan(Total Rise ÷ Total Run), and Stringer Length comes from √(Rise² + Run²).
In the page's example, 108 inches of rise divided by a 7.2-inch target gives 15 steps; with a 10-inch tread depth the example run is 150 inches and the angle is about 35.8°. The calculator therefore ties the vertical and horizontal geometry together instead of treating step height and floor-space requirement as separate problems.
Reading Your Results
The figure shown is your Stair result, calculated from the values above. Because the same fixed rule applies on every run, identical inputs will always produce an identical answer. Rather than treating the first answer as final, use it as a baseline and test one alternative against it.
How to use this calculator
The calculator determines the number of steps, the actual riser height, the total run, and the stair angle.
Where
Example
Standard Stair Dimensions
| Element | Recommended Range | Common Standard |
|---|---|---|
| Riser Height | 150 – 200 mm | 175 mm |
| Tread Depth | 250 – 300 mm | 280 mm |
| Stair Width | 900 mm minimum | 1,000 mm |
| Headroom | 2,000 mm minimum | 2,100 mm |
| Handrail Height | 900 – 1,000 mm | 950 mm |
| Maximum Rise per Flight | 3,600 mm | Landing required beyond |
Local building codes take precedence over these general guidelines.
Stair Design Rules
| Rule | Formula | Target |
|---|---|---|
| Rule of 25 | Riser + Tread | About 450 mm |
| Rule of 2R+T | (2 × Riser) + Tread | 600 – 640 mm |
| Riser × Tread | Riser × Tread | 17,000 – 19,000 mm² |
| Number of Risers | Total Rise ÷ Riser Height | Round to whole number |
| Number of Treads | Risers − 1 | Always one fewer |
Consistency matters most: every riser in a flight should be identical within 5 mm.
Stair Calculation Example (2,700 mm Total Rise)
| Number of Risers | Riser Height | Tread Depth | Total Run |
|---|---|---|---|
| 14 | 192.9 mm | 265 mm | 3,445 mm |
| 15 | 180.0 mm | 280 mm | 3,920 mm |
| 16 | 168.8 mm | 290 mm | 4,350 mm |
| 17 | 158.8 mm | 300 mm | 4,800 mm |
More risers mean a gentler but longer staircase requiring more floor space.
Factors Affecting Your Stair Result
Total rise is the fixed vertical distance that every riser must collectively cover, so it needs to be measured from finished floor to finished floor rather than from unfinished framing levels if finish thickness will change the final height.
Target riser height influences the estimated number of risers, but the final count has to be a whole number; once that count is selected, the calculator recomputes an equal actual riser height. Tread depth controls total run and therefore affects stair angle and floor-space requirement.
More risers usually mean a gentler climb but a longer staircase, which the page's 2,700 mm examples show clearly. The reference section also says consistency is critical and lists general design rules such as 2R+T.
Headroom, landing requirements, handrails, stair width, nosings, structural details, and local code limits are not determined by the basic rise/run equations, so the calculated geometry is a planning result rather than a complete code-compliant stair design.
Benefits of Using the Stair Calculator
- Convert a floor-to-floor rise into an equal riser layout instead of dividing the height manually and ending up with inconsistent step heights.
- See how changing tread depth or riser count changes the total horizontal run and the space the staircase will occupy.
- Calculate stair angle and stringer length from the same rise-and-run geometry rather than treating each as a separate drawing calculation.
- Check preliminary dimensions against the reference rules for riser height, tread depth, headroom, and 2R+T comfort relationships.
- Compare several whole-number riser options before construction while keeping local building-code requirements separate from the calculator's general guidance.
Frequently asked questions
Why can't the number of risers be a decimal?
A built staircase needs a whole number of risers. The target riser height helps estimate that count, and then the actual riser height is recalculated as total rise divided by the selected whole-number count.
Are the number of risers and treads always the same?
The page's reference table states that the number of treads is generally one fewer than the number of risers for a typical flight because the upper floor acts as the final walking surface.
How does tread depth affect stair angle?
A deeper tread increases total horizontal run for the same rise, which makes the staircase less steep. A shallower tread reduces run and increases the angle.
What is the 2R+T rule shown on the page?
It is a stair-proportion check using two times the riser height plus the tread depth. The reference table gives a target range of roughly 600–640 mm as general guidance.
Does a result from this calculator mean the stair meets building code?
No. The page explicitly says local building codes take precedence. Headroom, width, landings, handrails, nosings, structural design, and jurisdiction-specific limits must be checked separately.
Final Words
Use the Stair Calculator to convert a floor-to-floor rise into an equal riser layout instead of dividing the height manually and ending up with inconsistent step heights. Keep in mind that tread depth controls total run and therefore affects stair angle and floor-space requirement.
If the inputs or conditions change, rerun the Stair Calculator and see how changing tread depth or riser count changes the total horizontal run and the space the staircase will occupy before relying on the earlier answer.
Disclaimer
This calculator provides estimates for general informational and educational purposes only and should not be treated as financial, medical, legal, or professional advice. Results depend entirely on the accuracy of the figures you enter.
Always verify important decisions with a qualified professional, official documentation, or your financial institution before acting on any result shown here.
Related Calculators
Precise age calculator that determines your exact age in years, months, days, hours, and minutes from your birth date. Calculate age differences between dates, upcoming birthdays, and various time-related calculations with detailed breakdowns and multiple format options.
Use CalculatorCalculate work hours, overtime, time sheets, hourly wages, and time tracking for payroll and project management purposes.
Use CalculatorCalculate duration between two times or dates with precise time measurements.
Use CalculatorCalculate love compatibility percentage based on names for entertainment purposes.
Use CalculatorCalculate height conversions between different units and predict adult height based on current age.
Use CalculatorRoll virtual dice with customizable sides and quantities for games and probability.
Use CalculatorConvert shoe sizes between different international sizing systems and standards.
Use CalculatorCalculate heat index and apparent temperature based on air temperature and humidity levels.
Use CalculatorCalculate Grade Point Average (GPA) for academic performance tracking with support for different grading scales and credit systems.
Use Calculator


