Stair Stringer Calculator
Calculate riser count, total run, stringer hypotenuse length, and incline angle from total rise and target tread dimensions. Includes IRC code compliance check and a live stringer cut preview for deck and carpentry layout.
Stair Dimensions
Live Results
Total Step Count / Risers
14 Steps
Actual Riser Height
7.14 in
Total Run
136.50 in
Stringer Length
169.21 in
Incline Angle
36.2°
How to Use This Calculator
- Measure total rise. Measure floor-to-floor height from finished surface to finished surface — the total vertical distance the stairs must climb.
- Set target riser height. Enter desired riser height (typically 7 to 7.75 in). The calculator divides total rise into equal risers.
- Review run and stringer length. Check total run, individual tread depth, stringer hypotenuse, and incline angle against IRC limits.
- Verify code compliance. Confirm riser height, tread depth, and the 7-11 comfort rule before cutting stringers.
Formula & Example
Under the 2021 International Residential Code (IRC) (Sections R311.7.5.1 and R311.7.5.2), stair geometry has hard legal boundaries: the maximum riser height is 7¾ inches (7.75") and the minimum tread depth is 10 inches — 11 inches when treads are built without nosing. These are outer limits a stair must not exceed. Building inspectors enforce them because risers that are too tall or treads that are too shallow create tripping hazards, and uniform riser heights across the entire flight are especially critical — even a 1/4-inch variation between steps can cause stumbles.
The "7-11 rule" is a separate, stricter comfort guideline that many carpenters target when designing stairs — not the literal IRC code numbers. It pairs a 7-inch riser with an 11-inch tread, based on the classic stair-comfort formula 2 × Riser + Tread = 24–25 inches(Blondel's Law). A 7" rise is tighter than the 7.75" code maximum, and an 11" tread is deeper than the 10" code minimum. The 7-11 pairing aims for a comfortable, walkable stride that sits within legal limits — approximating an 18-inch natural walking step — rather than defining those limits themselves.
This calculator rounds your target riser height to the nearest whole step count, then reports the actual riser height after dividing total rise evenly. Always verify the actual riser against local amendments before cutting stringers on site.
Step Count = ROUND(Total Rise ÷ Target Riser Height), min 1
Actual Riser Height = Total Rise ÷ Step Count
Tread Count = Step Count − 1
Total Run = Tread Count × Target Tread Width
Stringer Length = √(Total Rise² + Total Run²)
Incline Angle = atan2(Total Rise, Total Run) × (180 ÷ π)
Technical Structural Takeoffs
Every stair flight has one more riser than tread. The top riser always lands on the upper floor, landing, or deck surface rather than a separate tread board — whether the stair is interior or exterior. That is why this calculator uses tread count = riser count − 1: the final riser reaches the upper level without an additional tread on top.
When laying out a stringer for a flush-mount platform deck or finished interior stair, carpenters follow the "drop the bottom riser"rule. The raw stringer layout includes a full riser at the bottom, but once you attach a tread board (typically 1" or 1-1/2" thick dimensional lumber), that bottom step becomes taller than all the others.
To compensate, cut the thickness of the tread material off the bottom foot of the stringer before marking your rise-and-run notches. The first finished tread sits on the floor (or landing pad) at the same effective height as every subsequent step. Skipping this adjustment is one of the most common stair framing mistakes and a frequent cause of failed inspections.
Worked Example
Total rise of 108 in with 7.5 in target risers: 108 ÷ 7.5 = 14.4 → round to 14 risers. Actual riser = 108 ÷ 14 = 7.71 in. With 10 in treads: total run = 13 × 10 = 130 in.
Frequently Asked Questions
How does tread overhang (nosing) affect code compliance?â–¾
What are the headroom requirements for stairs?â–¾
When do I need a middle stringer for wide stairs?â–¾
What is the IRC maximum riser height?â–¾
How many stringers do I need for a residential stair?â–¾
Related Tools
- Framing Lumber & Stud Count Calculator
- Deck Joist Spacing Calculator
- Board Feet Calculator
- Fence Post & Material Calculator
- Concrete Volume Calculator
Explore more free calculators. Back to home