How many stair risers do you need? Enter your total rise to get exact riser height, tread depth, stringer length, and a full material list with IRC building code compliance checks.
Ready to calculate
Enter your stair dimensions
Last updated March 31, 2026 by our expert review team
Max Riser (R311.7.5.1): 7.75 inches
Min Riser: 4 inches
Min Tread (R311.7.5.2): 10 inches
Min Width: 36 inches
Riser Variation: ±3/8 inch
Ideal Riser: 7-7.5 inches
Ideal Tread: 10-11 inches
Comfort (2R+T): 24-25 inches
Best Angle: 30-37 degrees
Handrail if: ≥4 risers
The 7-11 Rule
Professional builders target 7" risers and 11" treads for the most comfortable stairs. The comfort formula 2R + T should land between 24 and 25 inches for the best feel underfoot.
Ehsan Ghazanfari
Licensed Structural Engineer
FISE-certified structural engineer with 11+ years designing bridges, retaining walls, and foundations. MSc from Aalto University.
See full profileCherry Jane Limbago
Licensed Civil Engineer & Master Plumber
Licensed civil engineer and master plumber with 10+ years in structural design, estimation, and project management. Currently Project Engineer at Universal Robina Corporation.
See full profileUpdated March 2026
How we verify our calculatorsIRC R311.7.5.1 caps riser height at 7-3/4" and R311.7.5.2 requires a minimum 10" tread depth. Design around these limits before cutting stringers.
Clamp stair gauges to a framing square at your exact riser and tread dimensions, then walk the square down the 2x12. This eliminates cumulative layout error.
Subtract one tread thickness from the bottom of the first stringer ('dropping the stringer') so the finished first riser matches the rest.
Handrails must be 34" to 38" above the nosing line per IRC R311.7.8. Guardrails on open sides need balusters at 4" max spacing.
For exterior stairs, use PT 2x12 stringers and 5/4x6 composite or PT treads. For poured concrete steps, use our concrete steps calculator instead.
Measure total rise at both sides and center of the opening, then use the shortest measurement. Building a deck? Plan stairs before framing so landings align with the deck height.
Every dimension on a staircase is governed by IRC Section R311.7, and inspectors measure every riser. This calculator finds the riser count that produces even steps within code limits, verifies headroom clearance, and sizes stringers to the next available lumber length.
Calculate Rise and Run
Divides your total rise by the ideal 7.5" target to find the riser count, then recalculates the actual height for perfectly even spacing. Picking a round number instead leads to uneven first or last steps, a code violation (max 3/8" variance). Total run equals (risers minus 1) multiplied by tread depth.
Check Building Code Compliance
Validates every dimension against IRC code: riser height between 4" and 7-3/4", tread depth at least 10", and comfort formula (2R + T) between 24" and 25". Also checks stair angle (30 to 37 degrees is comfortable) and verifies headroom clears the 80" minimum.
Generate Material List and Cost Estimate
Stringer length uses the Pythagorean theorem, then rounds up to the next standard lumber length. You cannot splice a stringer, so 13'2" means buying 14-foot 2x12s. Stringer count follows one per 16" of width (minimum three). Railing components use posts at 4-foot intervals and balusters at 4" max spacing.
Key Formulas
Risers = round(Total Rise / 7.5)
Stringer = √(Rise² + Run²)
Angle = atan(Rise / Run)
Stringers = max(3, ceil(Width / 16) + 1)
What are the standard stair dimensions?
IRC max riser: 7-3/4". Min tread: 10". Min width: 36". Min headroom: 80". Most carpenters aim for 7" risers and 11" treads.
How many stairs for a specific height?
Divide total rise (inches) by 7.5". Round to the nearest whole number. A 9-foot ceiling gives about 118" total rise, or roughly 16 risers.
How do I calculate stringer length?
Square root of (total rise squared + total run squared). Always buy the next standard lumber length up from your calculated result.
What is the 7-11 rule?
7" risers and 11" treads, the most comfortable proportions. The comfort formula 2R + T should equal 24 to 25 inches.
When are handrails required?
IRC requires a graspable handrail on at least one side for four or more risers. Height: 34" to 38" above the nosing line.
How much do stairs cost to build?
DIY materials for a standard interior staircase: $150 to $400. Professional installation: $1,000 to $3,000 for a straight run. For concrete stairs, see our concrete steps calculator.
What riser height variation is allowed?
IRC limits variation between any two risers to 3/8". This is the most-failed stair inspection item. Verify each riser with a tape measure.
Do I need a landing?
Yes, at top and bottom. Each landing must be at least as deep as the stair is wide (36" min). Tall rises over 12 feet may need a mid-landing.
Forgetting to drop the first stringer
Cut the bottom of the first stringer shorter by one tread thickness. Otherwise the first riser will be taller than the rest once treads are installed.
Measuring from subfloor instead of finished floor
Total rise is finished floor to finished floor. Adding 3/4" hardwood later throws off every riser. Account for both floor finishes first.
Ignoring headroom clearance
Headroom must be at least 80" at every point along the stair. The tightest spot is where the stair passes under the floor framing above.
Uneven riser heights
IRC limits variation to 3/8" between any two risers. This is the #1 failed inspection item. Verify each riser with a tape measure.
Under-sizing or splicing stringers
Stringers must be cut from a single 2x12. Never splice. The remaining throat must be at least 3.5" after notching.
Skipping landing requirements
Every staircase needs a landing at top and bottom, at least as deep as the stair is wide (36" min). Missing landings cause permit rejections.
8-foot ceilings with 10" floor structure gives about 106" total rise. 14 risers at 7.57" each, 10" treads, 130" total run, 12-foot 2x12 stringers.
DIY: $180-$280 in lumber
A 48" drop needs 7 risers at 6.86" each with 11" treads, 66" total run. Use PT 2x12 stringers and anchor with a Simpson LSC bracket. Only need 8-foot boards.
DIY: $120-$200 with PT lumber and composite treads
118" total rise gives 16 risers at 7.375" each. Total run is 157.5" (just over 13 feet). Need 16-foot stringers and at least 5 railing posts. Verify headroom before framing.
DIY: $300-$500 with oak treads and railing kit
Important Disclaimer
These estimates are for planning purposes only. Actual costs vary by location, material availability, and project complexity. Always get at least 3 local quotes. This calculator does not replace professional advice.