πŸͺœStair Calculator

Calculate the number of stairs, riser height, tread depth, stringer length, and lumber needed for your staircase. Checks IBC building code compliance.

Prefer to skip the form? Scroll down and Ask AI Instead. Just describe your situation and let AI handle the math for you in seconds.

Number of Risers

14

Your staircase needs 14 risers and 13 treads. Each riser will be 7.71" tall and each tread is 10" deep. The total horizontal run is 10.8 ft and each stringer is 14.1 ft long. Your stair dimensions comply with IBC building code requirements.

Number of Risers14
Number of Treads13
Actual Riser Height (inches)8
Total Horizontal Run (ft)11
Stair Angle (degrees)38
Stringer Length (ft)14
2Γ—12 Boards Needed4
IBC Code CompliantYes

Stair Dimensions at a Glance

14

10.83

37.6

14.08

Advertisement

728 Γ— 90

✦ Ask AI Instead

Stair Calculator: How to Calculate Stair Rise and Run for Safe, Code-Compliant Stairs

A stair calculator takes the guesswork out of one of the most math-intensive tasks in residential construction. Learning how to calculate stair rise and run correctly ensures every step is comfortable to climb, consistent in height, and compliant with building codes. This guide walks through the full staircase design process from total rise measurement to stringer sizing.

Stair Rise and Run Calculator to Code

The International Residential Code (IRC) governs stair dimensions for homes built across most of the United States. Getting rise and run right is not just a matter of comfort; it is a legal requirement that inspectors verify before a Certificate of Occupancy is issued. The IRC requires the following minimum and maximum dimensions for residential stairs.

  • Maximum riser height: 7.75 inches (7 and 3/4 inches)
  • Minimum riser height: 4 inches
  • Minimum tread depth: 10 inches
  • Minimum stair width: 36 inches of clear width
  • Minimum headroom: 6 feet 8 inches of vertical clearance along the entire stair path
  • Handrail height: 34 to 38 inches above the stair nosing

A critical consistency rule applies to every residential staircase: no single riser in a flight may differ from any other riser by more than 3/8 of an inch. This rule exists because even a small variation in step height disrupts the rhythmic stride a person builds while climbing, creating an unexpected stumble at the irregular step. This is why the correct method always divides the total rise evenly across all risers rather than using a fixed target height and accepting a remainder.

How Many Stairs Do I Need for a Given Height

Calculating the number of stairs begins with one measurement: the total rise, which is the vertical distance from the finished floor at the bottom to the finished floor at the top of the staircase. Measure from finished surface to finished surface, not from subfloor to subfloor. If tile, hardwood, or carpet will be added to the lower landing after the stairs are built, subtract that material thickness from your total rise measurement.

Once you have the total rise in inches, divide it by your target riser height and round the result to the nearest whole number. That rounded number is your number of risers. Then divide the original total rise by that whole number to get the actual riser height, which will be evenly distributed across all steps.

For example: a total rise of 108 inches divided by a target of 7.5 inches gives 14.4, which rounds to 14 risers. The actual riser height is 108 divided by 14, which equals 7.71 inches. That figure is within IRC limits and consistent across all 14 risers. The number of treads is always one less than the number of risers: with 14 risers you will build 13 treads, because the upper landing serves as the final step surface.

Stair Riser and Tread Calculator: The 7-11 Rule

The 7-11 rule is a practical builder's guideline for comfortable staircase design: aim for a riser height close to 7 inches and a tread depth close to 11 inches. This combination satisfies the classic ergonomic formula that states two risers plus one tread should equal between 24 and 25 inches. At 7 inches per riser and 11 inches per tread, the sum is 25 inches, landing squarely in the comfortable range.

Stairs that fall significantly outside this zone feel unnatural to use. Very tall risers (above 8 inches) force an awkward high-knee climbing action. Very short risers combined with deep treads produce a shallow, shuffling stride that fatigues the legs differently than a natural walking pace. Tread depth and riser height work as a complementary pair: as one increases, the other should decrease to maintain the ergonomic total.

The IRC minimum tread depth of 10 inches is a safety floor, not an ergonomic target. Where space allows, 10.5 to 11.5 inches of tread depth produces noticeably more comfortable stairs, particularly for large feet or elderly users who benefit from more foot support on each step.

Calculating Stringer Length and Lumber Requirements

The stringer is the diagonal structural board that supports the risers and treads. Its length is calculated using the Pythagorean theorem: stringer length equals the square root of (total rise squared plus total run squared), where total run is the number of treads multiplied by the tread depth.

Residential stringers are typically cut from 2x12 dimensional lumber. The notches cut for each tread and riser reduce the effective structural depth of the stringer at each step location. Building codes require a minimum of 3.5 inches of remaining wood below the deepest notch point, called the throat depth. If your calculations show the throat depth would fall below this limit, increase the tread depth, reduce the riser height, or switch to a larger lumber size.

The number of stringers required depends on stair width. Two stringers, one on each side, are sufficient for stair widths of 36 inches or less when using solid lumber treads. A third center stringer is required for widths over 36 inches to prevent tread bounce and deflection under load. Always add 10 percent to the calculated stringer length when purchasing lumber to account for end cuts and positioning waste.

Common Stair Calculation Mistakes

The most frequent error in stair layout is measuring total rise from subfloor to subfloor instead of from finished floor to finished floor. A tile floor that adds half an inch to the lower landing will raise the first step by that amount, creating an inconsistent riser that violates the 3/8-inch variation rule and creates a tripping hazard at the most vulnerable transition point.

A second common mistake is cutting stringer notches too aggressively. Each notch must be checked against the throat depth requirement. Track this measurement as you lay out each step on the stringer board before making any cuts. A notch that passes code at one location may fail at another if the stringer board has any crown or warp that changes the effective depth at different points along its length.

Frequently Asked Questions

What is the standard rise and run for stairs?

The standard residential rise is between 7 and 7.75 inches per step, with the IRC maximum set at 7.75 inches and the minimum at 4 inches. The standard tread depth is 10 to 11 inches, with the IRC minimum at 10 inches. The most comfortable combination is approximately 7 inches of rise and 11 inches of run, which satisfies the ergonomic formula: two risers plus one tread should equal 24 to 25 inches. This pairing matches the natural stride length of most adults.

How do I calculate the number of steps for a staircase?

Divide your total rise in inches by your target riser height and round to the nearest whole number. That is your number of risers. Then divide the original total rise by that rounded number to get the exact riser height distributed evenly across all steps. The number of treads is always one less than the number of risers because the upper landing serves as the final step surface. For a 9-foot (108-inch) total rise at 7.5 inches per riser, you need 14 risers and 13 treads.

What are the building code requirements for stairs?

The IRC requires residential stairs to have a maximum riser height of 7.75 inches, a minimum riser height of 4 inches, and a minimum tread depth of 10 inches. Stair width must be at least 36 inches clear. Headroom must be at least 6 feet 8 inches along the entire stair path. Handrails must be 34 to 38 inches above the stair nosing. Critically, no two risers in the same flight may differ by more than 3/8 of an inch. Commercial stairs under IBC have stricter limits: risers between 4 and 7 inches and treads at least 11 inches.

What is the 7-11 rule for stairs?

The 7-11 rule is a builder's guideline that recommends designing stairs with a riser height close to 7 inches and a tread depth close to 11 inches. This pairing satisfies the classic ergonomic formula that two risers plus one tread should total 24 to 25 inches, matching the natural stride of an average adult. Stairs built to the 7-11 rule feel comfortable and natural to climb. The rule is a target for comfort, not a code requirement; the IRC permits risers up to 7.75 inches and treads as shallow as 10 inches.