Last updated: 2026-04-06
Quick Answer
Enter your total rise - the floor-to-floor vertical distance in inches - and the calculator handles the rest: riser count, actual riser height, tread dimensions, stringer length, stairwell opening size, and headroom clearance. A standard 8-foot ceiling with framing gives roughly 97"-100" of total rise, which works out to 13 risers at about 7.5" each. All results are flagged against IRC 2021 requirements.
Inputs you'll need
- Total rise: floor-to-floor vertical distance in inches
- Desired riser height (default 7.5", IRC max 7.75")
- Tread depth (default 10.5", IRC min 10")
- Nosing overhang (3/4" to 1-1/4" when tread depth is under 11")
- Stair width (IRC min 36" clear)
- Ceiling height for headroom calculation (Advanced Options)
- Mount type: standard or flush
Related tools: Deck Railing Calculator, Framing Cost Calculator, and Board Foot Calculator.
Floor-to-floor height. Standard: 97"-110" (8'-9' ceilings + framing)
Code max: 7.75" · Ideal: 7"-7.5"
Code min: 10" nosing-to-nosing
Code min: 36"
Code: 3/4"-1-1/4" if tread < 11"
Stair Dimensions
Number of Risers
14
Number of Treads
13
Actual Riser Height
7.71"
Tread Depth
10.50"
Riser adjusted from 7.50" to 7.71" to evenly divide the total rise.
Calculated Measurements
IRC Code Compliance
Quick Answer
For a 108.00" (9.0') total rise (9-foot ceiling), you need 14 risers at 7.71" each with 13 treads. Total run: 136.50" (11.4'). Stringer length: 174.06" (14.5').
12,800+ estimates calculated this month
Stair Profile
Stair Design & Code Guide
Building code requirements, calculation methods, and construction costs for residential stairs.
Standard Stair Dimensions & Building Code
IRC residential code requires a maximum 7-3/4" rise and minimum 10" run per step, with minimum 36" width for interior stairs.
- Maximum riser height: 7-3/4" (7.75 inches)
- Minimum tread depth: 10 inches (nosing not counted)
- Minimum width: 36 inches clear
- Maximum variation: 3/8" between tallest and shortest riser
- Headroom: Minimum 6'-8" clearance above the stair nosing line
- Handrail height: 34"–38" measured from stair nosing
The comfort rule: 2 × Riser + Tread = 24"–25". A 7" rise with an 11" tread (25") is considered ideal.
Key Takeaways
- Max riser: 7-3/4", min tread: 10"
- Min width: 36" clear (residential)
- Comfort rule: 2 × Rise + Tread = 24"–25"
How to Calculate Number of Stairs
Divide total rise (floor-to-floor height) by desired riser height to determine the number of steps needed.
- Standard floor-to-floor height: 8'–9' (96"–108")
- Example: 108" total rise ÷ 7.5" per riser = 14.4 → round to 14 risers
- Actual riser: 108" ÷ 14 = 7.71" per step (within code)
- Number of treads: Always one fewer than risers (14 risers = 13 treads)
- Total run: 13 treads × 10" = 130" (10'-10") horizontal distance needed
Always measure actual floor-to-floor height, not assumed height. Even 1/2" difference across 14 risers creates noticeable unevenness.
Key Takeaways
- Number of risers = total rise ÷ riser height
- Treads = risers minus 1
- Always measure actual floor-to-floor (not assumed)
Stair Construction Costs in 2026
A standard straight staircase costs $2,000–$5,000 to build (framing + basic treads), while custom stairs run $5,000–$25,000+.
- Basic straight stair (carpeted): $2,000–$4,000
- Hardwood treads (oak, maple): $3,000–$8,000
- L-shaped or U-shaped: $4,000–$10,000 (landing adds cost)
- Spiral staircase: $3,000–$15,000+ (kit vs. custom)
- Railing/balustrade: $1,500–$5,000+ (wood, iron, cable, glass)
Key Takeaways
- Basic straight stairs: $2,000–$4,000
- Hardwood treads: $3,000–$8,000
- Railing: $1,500–$5,000+ depending on style
Worked examples: common stair configurations
These show how the math works for typical residential scenarios. Run them through the calculator above to verify.
| # | Scenario | Calculation |
|---|---|---|
| 1 | Interior stairs, 8-ft ceiling (97" total rise) |
Risers = round(97 / 7.5) = 13 Actual riser = 97 / 13 = 7.46" (IRC pass) Treads = 13 - 1 = 12 Total run = 12 × 10.5" = 126" (10.5 ft) Stringer length = sqrt(97² + 126²) = 158.9" Order 3 stringers at 14 ft minimum (2×12) |
| 2 | Deck stairs, 4-ft deck height (48" total rise) |
Risers = round(48 / 7.5) = 6 Actual riser = 48 / 6 = 8.0" -- fails IRC (max 7.75") Adjust to 7 risers: 48 / 7 = 6.86" (IRC pass) Treads = 7 - 1 = 6 Total run = 6 × 10.5" = 63" (5.25 ft) Stringer length = sqrt(48² + 63²) = 79.2" - order 8 ft 2×12s |
Quick-reference: rise vs. stringer lumber by floor height
Stringer length is always longer than total run or total rise - it's the hypotenuse. Add 12"-18" when ordering.
| Floor height | Total rise | Risers | Riser height | Total run (10.5" treads) | Stringer length |
|---|---|---|---|---|---|
| 8 ft | 97" | 13 | 7.46" | 126" (10.5 ft) | ~159" |
| 9 ft | 109" | 15 | 7.27" | 147" (12.25 ft) | ~184" |
| 10 ft | 121" | 16 | 7.56" | 157.5" (13.1 ft) | ~199" |
| Deck 3 ft | 36" | 5 | 7.2" | 52.5" (4.4 ft) | ~63" |
| Deck 4 ft | 48" | 7 | 6.86" | 63" (5.25 ft) | ~79" |
Stair layout mistakes worth avoiding
- Measuring rise from subfloor instead of finished floor. If you're adding flooring at top or bottom, it changes the total rise. Measure from finished surface to finished surface, or account for the flooring thickness in your calc.
- Rounding riser height up instead of calculating exact. If 97" divided by 7.5" gives 12.93 risers, you need 13 risers - not 12. Using 12 pushes each riser to 8.08" which fails IRC code.
- Not checking stringer throat depth. After cutting the notches for treads and risers, the narrowest part of the stringer (the throat) must be at least 3.5". Go too deep and the stringer is structurally compromised.
- Forgetting the landing at the top. The top tread is the landing itself. Your total run doesn't include a tread at the top - treads = risers minus 1. Easy to miss when planning footprint.
- Ordering stringers too short. Stringer length from the formula is the minimum cut length. Add at least 12"-18" for the seat cut at the bottom and the plumb cut at the top. A 159" stringer needs a 14-foot 2×12, not a 12-foot.
- Ignoring headroom at the top of the stair opening. The 80" clearance applies along the entire stairway, including where the stair passes through the upper floor. Model it in the calculator before framing the opening.
Related tools
- Deck Railing Calculator - Linear feet of railing, post count, and balusters for any deck layout
- Framing Cost Calculator - Estimate labor and lumber costs for wall and floor framing
- Board Foot Calculator - Convert stringer and tread dimensions to board feet for pricing lumber
- Concrete Footing Calculator - Size footings and get concrete quantities for stair landings and posts
Once you have your stair layout dialed in, EstimationPro turns the material counts into a full proposal with automated follow-up and invoicing - so the bid goes out fast and gets paid.
How to Use This Calculator
Measure the total rise
Measure the vertical distance from the finished floor at the bottom to the finished floor at the top. This is your total rise in inches. For a standard 8-foot ceiling with framing, expect 97" to 100".
Set riser and tread dimensions
Adjust the desired riser height (default 7.5") and tread depth (default 10.5"). The IRC requires a maximum 7.75" riser and minimum 10" tread. Set the nosing overhang -- code requires 3/4" to 1-1/4" when tread depth is under 11".
Choose mount type and width
Select Standard or Flush stringer mount (flush reduces total run by one tread). Set stair width -- minimum 36" for residential per IRC. Use Advanced Options to enter ceiling height for accurate headroom calculation.
Review code compliance and materials
Check green/red/yellow compliance badges for IRC requirements. Expand the Material Estimates panel for stringer, tread, and riser lumber quantities. Toggle Imperial/Metric or Fractions, and print results for the job site.
Stair Calculation Formulas
Number of Risers = Total Rise ÷ Desired Riser Height (rounded to nearest whole)
Actual Riser Height = Total Rise ÷ Number of Risers
Number of Treads = Number of Risers − 1
Total Run = Number of Treads × Tread Depth
Stringer Length = √(Total Rise² + Total Run²)
Recommended Lumber = Stringer Length + 12" (for seat and plumb cuts)
Stairwell Opening = Total Run − ((Ceiling Height + Floor Thickness − 80") ÷ tan(Stair Angle))
Riser + Tread Comfort Rule: Riser Height + Tread Depth = 17" to 18" Where:
- Total Rise
- = Vertical distance from finished floor to finished floor (inches)
- Total Run
- = Horizontal distance from first riser to last riser (inches)
- Riser + Tread
- = Should equal 17" to 18" for comfortable stairs (comfort rule)
- Min Headroom
- = 80 inches (6 feet 8 inches) per IRC R311.7.2
- Max Riser Height
- = 7.75 inches per IRC R311.7.5.1
- Min Tread Depth
- = 10 inches measured nosing-to-nosing per IRC R311.7.5.2
- Nosing
- = 3/4" to 1-1/4" required when tread depth < 11" per IRC R311.7.5.3
- Min Width
- = 36 inches clear per IRC R311.7.1
Stair Building Code Quick Reference (IRC 2021)
| Requirement | IRC Code | Value |
|---|---|---|
| Maximum Riser Height | R311.7.5.1 | 7.75" |
| Minimum Tread Depth | R311.7.5.2 | 10" |
| Nosing (when tread < 11") | R311.7.5.3 | 3/4" to 1-1/4" |
| Maximum Riser Variation | R311.7.5.1 | 3/8" |
| Minimum Width | R311.7.1 | 36" |
| Minimum Headroom | R311.7.2 | 6'8" (80") |
| Handrail Height | R311.7.8.1 | 34" to 38" |
| Guard Required (drop > 30") | R312.1.1 | Min 36" height |
Stair Terminology Glossary
- Riser --
- The vertical board between treads. Riser height is the vertical distance from one tread surface to the next.
- Tread --
- The horizontal surface you step on. Depth is measured from the front edge (nosing) to the back where the next riser meets.
- Stringer --
- The diagonal structural member (typically 2×12 lumber) that supports the treads and risers. Most stairs use 2 or 3 stringers.
- Nosing --
- The front edge of a tread that projects past the face of the riser below. Required by IRC when tread depth is less than 11 inches.
- Total Rise --
- The total vertical distance from the finished floor at the bottom to the finished floor at the top of the stairway.
- Total Run --
- The total horizontal distance of the stairway, calculated as the number of treads multiplied by the tread depth.
- Throat --
- The narrowest point of a notched stringer, measured perpendicular to the stringer edge. Must be at least 3.5" for structural integrity.
- Stairwell Opening --
- The rectangular hole in the upper floor that the stairway passes through. Must be large enough to maintain 80" headroom clearance.
Free to Embed on Your Website
Add this calculator to your blog, resource page, or client portal — just copy one line of code. Your visitors get a useful tool, you get more engagement.
EstimationPro AI For Contractors, By Contractors From Calculations to Client-Ready Estimates
You have the technical specs. Now build a professional estimate that wins the job.
Frequently Asked Questions
What is the maximum riser height allowed by code?
What is the minimum tread depth for stairs?
How do I calculate stringer length?
What is the riser plus tread rule?
How much headroom do stairs need?
How many stairs do I need for a 9-foot ceiling?
What is the difference between standard and flush mount stringers?
How wide do residential stairs need to be?
How do I calculate stairwell opening size?
What size lumber do I need for stair stringers?
How many stairs do I need for 8 feet of rise?
What is the rise and run for deck stairs?
Related Articles
Why Contractors Choose EstimationPro AI
Estimates in 60 Seconds
AI generates detailed, line-item estimates from basic project details. No more hours on spreadsheets.
Accurate Pricing Data
Built on real contractor pricing and industry cost databases, updated for 2026 market conditions.
Professional Proposals
Send polished PDF estimates with your branding. Clients see a professional contractor they can trust.
Get Paid Faster
Built-in invoicing and Stripe payments. Collect deposits and progress payments directly from estimates.
Related Free Tools
Insulation Calculator
Calculate insulation needed for walls, attics, and floors. Select R-value and insulation type to get quantity, coverage, and cost estimates.
Spray Foam Calculator
Calculate spray foam insulation board feet, thickness, and installed cost. Compare open-cell vs. closed-cell foam for walls, attics, crawlspaces, and rim joists.
Blown-In Insulation
Calculate bags, depth, and cost for blown-in cellulose or fiberglass insulation. Accounts for existing R-value on top-up jobs.
Roof Pitch
Calculate roof pitch in degrees, ratio, and percentage. Enter rise and run measurements to determine your roof slope and rafter length.
Board Foot
Calculate board feet for lumber orders. Enter thickness, width, and length to convert to board feet and estimate costs for any lumber project.
Rebar Spacing
Calculate rebar bar count, total length, and stock bars needed for a concrete slab or footing. Enter length, width, and spacing to get a complete rebar grid takeoff.
Anchor Bolt Spacing
Calculate the number of anchor bolts needed for sill plates and foundation walls per IRC/IBC code. Get bolt counts, spacing, and material cost estimates.
HVAC Load
Estimate HVAC heating and cooling load for residential spaces. Enter home size, insulation, windows, and climate zone for BTU requirements.