Staircase Calculator
Calculate the number of steps, riser height, tread depth, stringer length, and staircase angle for your project. Results follow IRC residential building code standards for safe, comfortable stairs.
How to Calculate Staircase Dimensions
Building a staircase requires precise measurements to ensure safety and comfort. Here is how each measurement is determined:
- Measure the total rise: This is the vertical distance from the finished floor at the bottom to the finished floor at the top. Measure in inches for accuracy.
- Calculate the number of risers: Divide the total rise by your target riser height (7 to 7.75 inches for code compliance). Round to the nearest whole number.
- Find the actual riser height: Divide the total rise by the number of risers to get the exact riser height for each step.
- Calculate total run: The number of treads (risers minus one) multiplied by the tread depth gives you the horizontal distance the staircase covers.
- Determine stringer length: Use the Pythagorean theorem: stringer = sqrt(total rise2 + total run2).
IRC Building Code Requirements
- Maximum riser height: 7.75 inches (196 mm)
- Minimum tread depth: 10 inches (254 mm)
- Minimum stair width: 36 inches (914 mm)
- Minimum headroom: 6 feet 8 inches (2032 mm)
- Maximum riser variation: 3/8 inch between tallest and shortest riser
- Nosing: 0.75 to 1.25 inches beyond the riser face
Material Estimates
- Stringers: Typically 3 stringers for stairs up to 36" wide; add one stringer for every additional 16" of width. Use 2x12 lumber long enough to span the stringer length.
- Treads: One tread per step (number of risers minus one). Standard tread stock is 1" or 1.5" thick hardwood or softwood.
- Risers: Optional enclosed riser boards, typically 3/4" thick, one per riser.
- Handrails: Required on at least one side, 34-38 inches above the stair nosing.
Frequently Asked Questions
How do you calculate staircase dimensions?
Divide the total rise (floor-to-floor height) by a comfortable riser height (typically 7-7.75 inches) to get the number of steps. Then multiply the number of treads (steps minus one) by the tread depth (minimum 10 inches per IRC code) to get the total run. The stringer length is calculated using the Pythagorean theorem: square root of (total rise squared + total run squared).
What is the IRC building code for stairs?
The International Residential Code (IRC) requires a maximum riser height of 7.75 inches (196mm) and a minimum tread depth of 10 inches (254mm). The staircase must be at least 36 inches wide, and headroom must be at least 6 feet 8 inches. The riser height variation between steps cannot exceed 3/8 inch.
How many stairs do I need for 9 feet?
For a 9-foot (108-inch) total rise, you typically need 14 to 15 steps. With 15 risers, each riser would be 7.2 inches high, which is well within IRC code limits. With 14 risers, each would be 7.71 inches — still code compliant but near the maximum.
What is the ideal stair angle?
The ideal staircase angle is between 30 and 37 degrees. Stairs steeper than 42 degrees become uncomfortable and may not meet building codes. The 7/11 rule (7-inch rise, 11-inch run) produces a comfortable 32.5-degree angle that most people find easy to climb.