CalcMountain

Stair Calculator

Determine the number of steps, riser height, and tread depth for a staircase. Follows building code guidelines for safe, comfortable stairs.

Stair design is governed by strict building codes that ensure safety and consistency. The fundamental math: divide total floor-to-floor height by the desired riser height to get the number of steps, then calculate the total horizontal run from tread depth. Critically, every riser in a staircase must be the same height (within ⅜" variation per code) — irregular risers cause trips and falls.

This calculator returns the number of steps, exact riser height (which adjusts from your ideal to evenly divide total rise), tread depth, and total horizontal run. Standard residential codes: rise 7-7¾" (most common 7½"), tread 10-11" deep. Code requires headroom of at least 80" above stair treads, handrails on at least one side (both sides for wide stairs), and minimum stair width of 36" for residential or 44" for commercial.

For exterior stairs, deck stairs, or alternative stair types, calculations still apply but with adjusted parameters. Stair design is critical for safety — improper proportions are a leading cause of home falls and injuries.

Inputs

Results

Steps

14

Riser Height

7.71"

Total Run

10.8 ft

Meets Code

Yes

Stair Dimensions

MeasurementValue
Number of Risers14
Actual Riser Height7.71 inches
Number of Treads13
Tread Depth10 inches
Total Run (horizontal)130.0 inches (10.8 ft)
Stringer Length169.0 inches (14.1 ft)
Riser + Tread17.71 inches (ideal: 17-18)
Angle of Flight39.7 degrees
Stair Width36 inches (3.0 ft)
Meets CodeYes
Last updated:

Formula

**Number of risers (steps):** Number of risers = Total rise / Ideal riser height (rounded to nearest) **Actual riser height:** Actual riser = Total rise / Number of risers **Number of treads:** Number of treads = Number of risers − 1 (There's no tread above the top of the stairs.) **Total run (horizontal length):** Total run = Number of treads × Tread depth **Worked example: 108" floor-to-floor height, 7.5" ideal riser** Number of risers: 108/7.5 = 14.4 → 14 risers Actual riser: 108/14 = 7.71" (just over 7¾", still within code) Number of treads: 13 Tread depth: 10" → Total run: 130" = ~10.8 feet **Common building code requirements (IRC):** | Requirement | Standard | |---|---| | Maximum riser height | 7.75" (residential) | | Minimum tread depth | 10" (residential) | | Maximum riser variation | ⅜" across all risers | | Maximum tread variation | ⅜" across all treads | | Minimum stair width | 36" (residential), 44" (commercial) | | Minimum headroom | 80" | | Maximum slope | 32° from horizontal (~6/12 rise/run) | | Handrail height | 34-38" | | Handrail required | Both sides if width >44" | **Stair design rules of thumb:** - **7-11 rule**: 7" riser + 11" tread = comfortable. - **17-18 rule**: Riser + tread = 17-18". - **Newel post rule**: Sturdy newel at top, bottom, and turns. - **Nosing rule**: ¾-1¼" projection beyond riser face. **Common floor-to-floor heights and resulting stairs:** | Total rise | Suggested risers | Riser height | Total run | Slope | |---|---|---|---|---| | 96" (8 ft) | 13 | 7.38" | 120" | 38.4° | | 102" (8.5 ft) | 14 | 7.29" | 130" | 38.1° | | 108" (9 ft) | 14 | 7.71" | 130" | 39.8° | | 114" (9.5 ft) | 15 | 7.6" | 140" | 39.2° | | 120" (10 ft) | 16 | 7.5" | 150" | 38.7° | | 132" (11 ft) | 17 | 7.76" | 160" | 39.5° | **Stair components:** - **Riser**: vertical face between treads. - **Tread**: horizontal step surface. - **Stringer**: structural member supporting treads (notched lumber, typically 2×12). - **Newel post**: vertical post at top, bottom, and turns; supports handrail. - **Handrail**: continuous railing for safety. - **Baluster (spindle)**: vertical pickets between handrail and floor/stair. - **Nosing**: forward edge of tread, projects beyond riser. - **Bullnose**: rounded leading edge of tread. - **Skirt board**: vertical board against wall covering stringer. **Stringer materials:** - **2×12 cut stringers**: cost-effective, residential standard. - **2×14 deep cut**: when more headroom needed at top. - **LVL stringers**: stronger, less prone to flex. - **Steel stringers**: commercial, sleek look. - **Solid stringers**: open-riser stairs. **Stair types:** - **Straight run**: simplest, most space-efficient for short runs. - **L-shaped (90° turn)**: requires landing. - **U-shaped (180° turn)**: tight footprint, requires landing. - **Winder**: pie-shaped steps wrap turn, no landing. - **Spiral**: very space-efficient, code limitations. - **Curved**: aesthetic premium, expensive. - **Floating**: open-riser, minimal stringers, premium look. **Cost estimates (2026 typical):** | Stair type | Cost | |---|---| | Basic carpeted residential | $1500-3000 | | Hardwood residential | $3000-6000 | | Spiral metal | $2500-5000 | | Curved hardwood | $10000-30000 | | Outdoor wood (deck stairs, 6 ft) | $500-1500 | | Outdoor concrete | $1500-3500 | | Floating modern | $8000-25000 | **Materials for typical 8-ft tall straight stair:** - 3 stringers (2×12 × 13 ft): ~$200 - 13 treads (2×10 × 36"): ~$130 - 14 risers (1×8 × 36" or matching paint): ~$70 - Handrail and balusters: $200-500 - Newel posts: $100-300 - Fasteners, brackets, hardware: $50-100 - **Total materials (basic)**: $750-1300 - **Pro install**: $1500-3000 additional

How to use this calculator

  1. Measure total floor-to-floor height in inches (this is total rise).
  2. Set ideal riser height (7.5" is comfortable standard).
  3. Set tread depth (10" minimum per code).
  4. Set stair width (36" minimum residential, 48" for greater comfort).
  5. Calculator returns number of steps, actual riser height, and total run.
  6. Adjust ideal riser if total run doesn't fit available space.

Worked examples

Standard basement stairs

**Scenario:** Basement stairs, 102" total rise (8.5 ft from upper floor to basement floor). Ideal riser 7.5", 10" treads, 36" wide. **Calculation:** Risers: 102/7.5 = 13.6 → 14 risers. Actual riser: 102/14 = 7.29". Treads: 13. Total run: 13 × 10 = 130" = 10.83 feet. **Result:** 14-step staircase, 10.83 ft long (10' 10"), with risers 7.29" each. This easily fits a 12 ft basement stairwell with room for landing at bottom. Tread depth 10" is just at minimum; 11" would be more comfortable but adds 13" to total run.

Deck stairs

**Scenario:** Deck stairs from deck (28" above grade) to ground. 36" wide. **Calculation:** Total rise 28". Choose 7" risers: 28/7 = 4 risers. Actual riser: 7" exactly. Treads: 3. Tread depth 10": Total run = 30" = 2.5 feet. **Result:** 4-step deck stair, 2.5 ft horizontal run. Standard short deck staircase. Materials: 2 stringers (2×12 × 4 ft), 3 treads (2×10 × 36"), 4 risers (1×8 × 36"), railings if rise > 30": ~$150 materials, weekend DIY project.

Spiral staircase

**Scenario:** Spiral metal staircase for tight space, 9-ft floor-to-floor rise. Standard 60" diameter spiral. **Calculation:** Number of steps in 5 ft diameter spiral: depends on design but typical 12-14 steps for 9 ft rise. Per step rise: 9/14 = 7.7". Spiral footprint: 5 ft × 5 ft = 25 sq ft (vs ~30 sq ft for straight run). **Result:** Spiral saves 5+ sq ft of floor space. Cost: $2500-5000 for prefabricated 60" diameter steel kit. Code restrictions: only allowed as secondary egress in residential, minimum 26" tread depth at 12" from narrow side. Best for guest spaces, lofts, or where space is critical.

When to use this calculator

**Use stair calculations for:**

- **New construction**: planning stairwell location and dimensions. - **Renovations**: replacing existing staircase. - **Deck and outdoor stairs**: matching deck height to ground. - **Basement finishing**: making basement accessible. - **Lofts and bonus rooms**: secondary access. - **Commercial space**: ADA-compliant primary and emergency egress.

**Code essentials for residential stairs:**

- Maximum riser: 7¾". - Minimum tread: 10". - Variation between any 2 risers: ⅜" max. - Variation between any 2 treads: ⅜" max. - Headroom: 80" minimum above any tread. - Handrails: required at any rise of 3 risers or more. - Stair width: 36" minimum residential. - Landings: required every 12 ft of vertical rise.

**Design comfort principles:**

- **7-11 rule**: 7" riser, 11" tread = standard comfortable. - **Newer code prefers**: 7-7¼" riser, 11" tread for accessibility. - **Steeper stairs save space but feel cramped**: not safer. - **Wider stairs feel more spacious**: 42-48" common in higher-end homes.

**Stair types by application:**

- **Straight run**: simplest, most space-efficient for under 9 ft rise. - **L-shaped**: tight footprint, requires landing. - **U-shaped**: maximum space efficiency for tall rises. - **Winder**: maintains continuous walkable surface (no landing). - **Spiral**: smallest footprint, code-limited for primary use. - **Floating modern**: aesthetic premium, often expensive.

**Construction approach:**

- **Site-built**: traditional, customized to space. - **Prefabricated stair kits**: faster install, limited customization. - **Stair-jack systems**: modular components. - **Custom millwork**: highest quality, custom dimensions.

**Common stair installation steps:**

1. **Verify total rise measurement**: from finished floor below to finished floor above. 2. **Calculate riser/tread dimensions**: per code and comfort. 3. **Plan landing locations**: at any 12 ft+ vertical rise. 4. **Cut stringers from 2×12 lumber**: framing square + jig. 5. **Attach stringers to header at top**: structural connection. 6. **Anchor stringers to floor at bottom**: keep solid. 7. **Install risers and treads**: bottom up. 8. **Install handrails and balusters**: 34-38" handrail height. 9. **Apply finishes**: stain/paint/carpet. 10. **Code inspection** if required.

**Stair safety upgrades:**

- **Non-slip tread strips**: prevent slipping. - **Tread nosing illumination**: LED strips at edge. - **Handrail extensions**: 12" beyond top/bottom for support. - **Continuous handrails**: no breaks at landings. - **Wide bottom step**: easier for elderly. - **Lift chair**: for users with mobility issues.

**Replacing or remodeling stairs:**

- **Refinish existing**: sand and stain treads, replace risers if needed. - **Replace components**: balusters, newel posts, handrails. - **Restain/repaint**: cosmetic update. - **Full rebuild**: when total rise changes or major redesign needed. - **Open up stairwell**: combine with wall removal for grand entry.

**Cost considerations:**

- DIY new stair (basic): $750-1500 materials, $1000-3000 in time. - Pro new stair (residential): $3000-6000 typical. - Premium hardwood: $5000-15000. - Major remodel/replacement: $5000-25000. - Curved or floating: $10000-50000.

**Common stair calculation issues:**

- Total rise measurement wrong (forgot subfloor thickness, etc.). - Trying to fit ideal riser exactly without rounding to even number. - Forgetting that there's one less tread than risers. - Not allowing landing space at top. - Cutting stringers wrong (mark from bottom, not top). - Overhang/nosing not included in tread depth.

Common mistakes to avoid

  • Variable riser heights. Even ¼" variation causes trips and is code violation.
  • Steep risers over 7¾". Building code maximum; greater is dangerous.
  • Shallow treads under 10". Insufficient foot support.
  • No or inadequate handrails. Required for safety and code.
  • Inadequate headroom. 80" minimum above all treads.
  • Mismatched landing height. Bottom step level off; top tread off from floor above.
  • Stairs too narrow. 36" residential minimum; consider 42-48" for comfort.

Frequently Asked Questions

Sources & further reading

SponsoredShop Top Deals on AmazonSupport CalcMountain — browse top-rated products at no extra cost to you.

Related Calculators