Stairs Calculator
Calculate stair riser height, tread count, total horizontal run, stringer board length, and stair incline angle with IRC building code compliance and ergonomic step comfort checks.
Stair Profile & Stringer Geometry
IRC Stair Code Standards
- Max Riser Height: 7.75 inches (197 mm) maximum height per step.
- Min Tread Depth: 10.0 inches (254 mm) minimum horizontal walking surface.
- Riser Uniformity: Greatest riser height in a flight cannot exceed smallest by more than 3/8" (0.375").
- Min Headroom: 80 inches (6 ft 8 in) vertical clearance measured from the stair tread slope line.
Stair Framing Formulas & Calculations
Building codes require precise math so every step in a staircase feels uniform and secure. These formulas determine optimal riser spacing, horizontal room run, and lumber cut lengths:
Riser Count & Height
Finds the whole number of risers ensuring individual height stays below the 7.75" IRC code limit.
Treads & Total Run
The top landing acts as the final tread, so tread count is always exactly one less than riser count.
Stringer Board Length
Applies the Pythagorean theorem to calculate the diagonal 2x12 stringer cut length.
Blondel's Comfort Rule
Verifies that the relationship between step lift and foot depth matches standard human stride cadence.
Worked Numerical Example (Step-by-Step)
Suppose you are framing basement or second-story stairs with a measured floor-to-floor height of 108 inches (9 feet):
Exact Riser Height = 108" ÷ 15 = 7.20 inches (7-3/16").
How to Use This Stairs Calculator
- Measure Total Rise: Measure the exact vertical distance between the finished lower floor surface and the finished upper landing floor surface.
- Input Tread Depth: Standard residential treads are 10.5" or 11" deep. (Minimum allowable IRC code is 10").
- Review Riser Count: The calculator automatically selects the whole number of risers that satisfies building code limits (≤ 7.75").
- Layout Stringer Cuts: Use a framing square with stair gauges set to your exact riser height and tread depth to mark each step notch along your 2x12 stringer board.
- Remember the Bottom Cut: Cut an amount equal to one tread thickness off the bottom of the stringer so your first step is not too tall.
Frequently Asked Questions
When you install tread boards on top of the cut stringer notches, the bottom step gains the thickness of the tread, while the top landing already has finished flooring. To ensure the first riser height equals all subsequent risers, you must trim the bottom stringer foot by the thickness of the tread material (typically 1 inch).
For standard residential staircases up to 36 inches wide, 3 stringers are recommended (left, center, and right) to prevent tread bounce and sagging. Stairs wider than 36 inches require stringers spaced no more than 16 inches on center.
The IRC requires a minimum clear width of 36 inches (914 mm) for interior residential stairways above the handrail height.
Related Framing & Construction Calculators
Calculate rafter hypotenuse lengths, plumb cuts, and pitch angles.
Open Tool → Lumber ConverterConvert linear board feet to square footage for treads and flooring.
Open Tool → Angle GeometryCalculate angles in degrees and radians from rise and run.
Open Tool → Pitch ToolCompute rise over run ratios and slope multipliers.
Open Tool →