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

Stair Angle36.9 degrees
Stringer Length15.00 ft
2R + T Rule24.69" (Good)

Materials Needed

Stringers (2x12)4 required
Tread Board Feet52.5 bf
Riser Board Feet33.8 bf
Stringer Board Feet60.0 bf
Nosing42.0 linear ft

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

R = Total Rise / N, T = Total Run / (N - 1), 2R + T = 24 to 25 inches

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 inches10 inches36 inches
Commercial7 inches11 inches44 inches
IBC (International)7 inches11 inches44 inches
OSHA (Industrial)7.5 inches9.5 inches22 inches

How to Use This Calculator

Follow these steps to design a code-compliant staircase:

  1. Select Building Code: Choose residential (IRC), commercial, IBC, or OSHA based on the project type and jurisdiction.
  2. Enter Total Rise: Measure the floor-to-floor height in inches. A typical residential story is 96 to 120 inches.
  3. Enter Total Run: Input the horizontal distance available for the stairs in inches. This determines whether the stairs will fit in the allocated space.
  4. Enter Stair Width: Specify the stair width in inches. Residential minimum is 36 inches; commercial minimum is 44 inches.
  5. 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:

  1. 1Ideal riser height: 7 inches, so number of risers = round(108/7) = 15 risers
  2. 2Actual riser height: 108 / 15 = 7.200 inches
  3. 3Number of treads: 15 - 1 = 14 treads
  4. 4Tread depth: 144 / 14 = 10.286 inches
  5. 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:

  1. 1Number of risers: round(120/7) = 17 risers
  2. 2Actual riser height: 120 / 17 = 7.059 inches
  3. 3Number of treads: 16 treads
  4. 4Tread depth: 168 / 16 = 10.500 inches
  5. 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:

  1. 1Number of risers: round(96/7) = 14 risers
  2. 2Riser height: 96 / 14 = 6.857 inches
  3. 3Treads: 13, tread depth: 96 / 13 = 7.385 inches
  4. 4IRC minimum tread: 10 inches — 7.385 inches fails the code check
  5. 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

For residential construction per the IRC, the maximum riser height is 7.75 inches. For commercial construction per the IBC, the maximum is 7 inches. OSHA allows 7.5 inches for industrial stairs. All risers in a flight must be uniform in height — the tolerance is typically plus or minus 3/8 inch.
The IRC requires a minimum tread depth of 10 inches for residential stairs, measured from the face of the riser to the face of the next riser. The IBC requires 11 inches for commercial stairs. The tread must have a nosing of 0.75 to 1.25 inches if the tread depth is less than 11 inches.
The calculator determines the number of stringers based on stair width. For residential stairs up to 36 inches wide, 2 stringers are typically sufficient. For stairs 36 to 48 inches wide, 3 stringers are recommended. For wider stairs, add one stringer for every additional 16 inches of width. Stringers are typically cut from 2-by-12 lumber.
The 2R + T rule states that two times the riser height plus the tread depth should equal 24 to 25 inches for comfortable stair geometry. This formula ensures that the relationship between riser height and tread depth feels natural to the human gait. Values outside this range produce stairs that feel either too shallow or too steep.
Yes, you can adjust by changing the number of risers. Increasing the number of risers reduces the riser height and increases the tread depth (assuming the total run is fixed). Decreasing the number of risers does the opposite. The calculator automatically finds the optimal number of risers for the given rise and run, but you may need to adjust the total run or accept a different riser height to meet code.

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.

Source

Formula Source: Standard Mathematical References

by Various

UpdatedLast reviewed: May 2026
CheckedFormula checks are based on standard references and internal QA review.

Privacy choices

MyCalcBuddy uses necessary storage for the site to work. Optional analytics, notifications, and future advertising features stay off unless you allow them.