Stair Riser Calculator
Calculate stair riser height, tread depth, stringer length, and verify building code compliance.
Stair Dimensions
Floor to floor height (typical story: 96-120 inches)
Horizontal distance available for stairs
Code Compliance
Compliant
15 risers, 14 treads
Riser Height
7-3/16"
7.200" exactly
Tread Depth
10-5/16"
10.286" exactly
Stair Geometry
Materials Needed
Building Code Reference
Residential (IRC)
Max riser: 7-3/4", Min tread: 10", Min width: 36"
Commercial/IBC
Max riser: 7", Min tread: 11", Min width: 44"
What is a Stair Riser Calculator?
A stair riser calculator determines the optimal number of risers, riser height, tread depth, and stringer length for a staircase, ensuring compliance with building codes such as the International Residential Code (IRC), International Building Code (IBC), and OSHA standards. Proper stair geometry is critical for safety — stairs that are too steep, too shallow, or inconsistent in riser height are a leading cause of falls and injuries in residential and commercial buildings.
The calculator takes the total rise (floor-to-floor height), total run (available horizontal distance), and stair width as inputs, then computes the number of risers needed to achieve a comfortable step height (typically 7 to 7.75 inches for residential stairs). It calculates the actual riser height by dividing the total rise by the number of risers, determines the number of treads (one less than risers), computes the tread depth, and checks compliance with the applicable building code.
The calculator also verifies the comfort rule — the formula 2R + T (two times the riser height plus the tread depth) should fall between 24 and 25 inches for comfortable stair geometry. It computes the stair angle, stringer length, and material quantities including tread board feet, riser board feet, and stringer requirements. This comprehensive output helps builders construct stairs that are safe, comfortable, and code-compliant.
Stair Riser Formulas
The riser height is calculated by dividing the total rise by the number of risers, which is determined by dividing the total rise by the ideal riser height and rounding to the nearest whole number. The number of treads is always one less than the number of risers because the top tread is flush with the upper floor.
Stair Geometry Formulas
Where:
- R= Riser height in inches
- T= Tread depth in inches
- N= Number of risers
- Total Rise= Floor-to-floor height in inches
- Total Run= Available horizontal distance in inches
Building Code Requirements for Stairs
Different building codes specify different limits for riser height and tread depth. The calculator supports four code standards:
| Code Standard | Max Riser | Min Tread | Min Width |
|---|---|---|---|
| Residential (IRC) | 7.75 inches | 10 inches | 36 inches |
| Commercial | 7 inches | 11 inches | 44 inches |
| IBC (International) | 7 inches | 11 inches | 44 inches |
| OSHA (Industrial) | 7.5 inches | 9.5 inches | 22 inches |
How to Use This Calculator
Follow these steps to design a code-compliant staircase:
- Select Building Code: Choose residential (IRC), commercial, IBC, or OSHA based on the project type and jurisdiction.
- Enter Total Rise: Measure the floor-to-floor height in inches. A typical residential story is 96 to 120 inches.
- Enter Total Run: Input the horizontal distance available for the stairs in inches. This determines whether the stairs will fit in the allocated space.
- Enter Stair Width: Specify the stair width in inches. Residential minimum is 36 inches; commercial minimum is 44 inches.
- Review Results: The calculator displays the number of risers, riser height (in decimal and fraction), tread depth, stair angle, stringer length, code compliance status, and material requirements.
The 2R + T Comfort Rule
The most widely used comfort guideline for stairs is the formula 2R + T, where R is the riser height and T is the tread depth. The sum should fall between 24 and 25 inches for comfortable, natural-feeling stair geometry. This formula was developed from extensive ergonomic research and has been used in building codes and architectural standards for over a century.
When 2R + T is less than 24 inches, the stairs feel too shallow and short-stepped, causing users to feel off-balance. When 2R + T exceeds 25 inches, the stairs feel too steep and long-strided, which is particularly problematic for elderly users, children, and people with mobility impairments. The calculator checks this rule automatically and displays a green "Good" indicator when the geometry falls within the acceptable range.
The stair angle is another useful indicator — residential stairs typically have an angle of 30 to 35 degrees, while commercial stairs are often steeper at 33 to 37 degrees. Angles below 20 degrees suggest the space would be better suited for a ramp, while angles above 40 degrees indicate the stairs are dangerously steep.
Real-World Applications
Stair riser calculations are essential for every construction project that involves changes in floor elevation — from single-family homes to commercial buildings, industrial facilities, and outdoor structures. A typical residential staircase with a 10-foot (120-inch) floor-to-floor height requires approximately 17 risers at 7 inches each, with 16 treads at 10 inches each, resulting in a total run of 160 inches (13.3 feet).
The calculator's material estimates help builders order the correct amount of lumber for treads, risers, and stringers. Stringers are typically cut from 2-by-12 lumber, and the calculator determines how many are needed based on the stair width. Treads and risers are calculated in board feet to facilitate comparison with lumber pricing at building material suppliers.
Worked Examples
Residential Staircase Design
Problem:
Design a residential staircase with 108-inch total rise and 144-inch total run, 36 inches wide.
Solution Steps:
- 1Ideal riser height: 7 inches, so number of risers = round(108/7) = 15 risers
- 2Actual riser height: 108 / 15 = 7.200 inches
- 3Number of treads: 15 - 1 = 14 treads
- 4Tread depth: 144 / 14 = 10.286 inches
- 52R + T = 2 × 7.200 + 10.286 = 24.69 inches (within 24–25 range — Good)
Result:
15 risers at 7.200 inches, 14 treads at 10.286 inches, 2R+T = 24.69 inches, stair angle 36.0 degrees
Commercial Staircase
Problem:
A commercial building with 120-inch rise and 168-inch run, 48 inches wide, per IBC code.
Solution Steps:
- 1Number of risers: round(120/7) = 17 risers
- 2Actual riser height: 120 / 17 = 7.059 inches
- 3Number of treads: 16 treads
- 4Tread depth: 168 / 16 = 10.500 inches
- 5IBC compliance: riser 7.059 inches less than 7 max? No — need to increase riser count to 18, riser = 6.667 inches, tread = 168/17 = 9.882 inches
Result:
After adjustment: 18 risers at 6.667 inches, 17 treads at 9.882 inches — check minimum tread of 11 inches
Steep Staircase Correction
Problem:
A 96-inch rise with only 96-inch run. Check if this meets residential code.
Solution Steps:
- 1Number of risers: round(96/7) = 14 risers
- 2Riser height: 96 / 14 = 6.857 inches
- 3Treads: 13, tread depth: 96 / 13 = 7.385 inches
- 4IRC minimum tread: 10 inches — 7.385 inches fails the code check
- 5Solution: increase total run to at least 130 inches, or reduce rise by adding a landing
Result:
Current design does NOT meet code — tread depth 7.385 inches is below the 10-inch minimum
Tips & Best Practices
- ✓Always verify your total rise measurement by measuring from finished floor to finished floor.
- ✓Keep all riser heights within 3/8 inch of each other — inconsistent risers are a major safety hazard.
- ✓Aim for a riser height of 7 to 7.5 inches for the most comfortable residential stairs.
- ✓If the tread depth is too short, consider increasing the total run or adding a landing.
- ✓Cut stringers from straight, dry 2-by-12 lumber — avoid using warped or damaged boards.
- ✓Install handrails on both sides of stairs with more than 36 inches of width.
Frequently Asked Questions
Sources & References
Last updated: 2026-06-06
Help us improve!
How would you rate the Stair Riser Calculator?
Editorial Note
MyCalcBuddy Editorial Team
This page is maintained as an educational calculator reference.
Formula Source: Standard Mathematical References
by Various