## The Two Numbers Every Staircase Depends On
Every staircase is defined by two measurements: the **rise** (vertical height of each step) and the **run** (horizontal depth of each tread). Get those two numbers right and the staircase is comfortable to climb, code-compliant, and structurally sound. Get them wrong and you build something awkward at best, unsafe at worst.
Our [staircase calculator](/category/construction/staircase-calculator) computes rise, run, step count, stringer length, and total horizontal run from a single input: your total floor-to-floor height. This guide explains the formulas and the building code rules that constrain them.
---
## The Core Formulas
### Total Rise and Step Count
**Number of steps = Total rise รท Desired riser height (round to nearest whole number)**
**Actual riser height = Total rise รท Number of steps**
The riser height must come out consistently โ if some steps are 7.0 inches and one is 7.5 inches, the person climbing will trip on that irregular step every single time.
### The Comfort Rule (Blondel's Formula)
A staircase is comfortable when:
**2 ร Rise + Run = 24 to 25 inches**
This formula, developed by French architect Franรงois Blondel in 1675, still underpins most modern stair design. It encodes the natural stride length of a human leg.
If your riser is 7 inches: 2 ร 7 = 14 โ Run should be 24 โ 14 = **10 to 11 inches**
---
## Building Code Limits (IRC Residential)
The International Residential Code sets hard limits for residential stairs in the US. Local codes may be stricter โ always verify with your local building department.
| Dimension | IRC Minimum | IRC Maximum | Comfortable Range |
|-----------|------------|-------------|------------------|
| Riser height | 4 inches | 7-3/4 inches | 6.5 โ 7.5 inches |
| Tread depth (run) | 10 inches | โ | 10 โ 11.5 inches |
| Tread nosing | 3/4 inch | 1-1/4 inches | 1 inch |
| Stair width | 36 inches | โ | 36 โ 42 inches |
| Headroom clearance | 6 ft 8 in | โ | 7 ft preferred |
| Variation between steps | โ | 3/8 inch | As consistent as possible |
The 3/8-inch maximum variation rule is the one most often violated in DIY builds โ a riser that's even 1/2 inch different from the others creates a trip hazard that building inspectors will fail.
---
## Worked Example: 9-ft Floor-to-Floor Height
**Total rise:** 9 ft = 108 inches
**Step 1 โ Find step count:**
> 108 รท 7 (target riser) = 15.4 โ round to **15 steps**
**Step 2 โ Find actual riser height:**
> 108 รท 15 = **7.2 inches per step** โ (within 4โ7.75 in range)
**Step 3 โ Find tread depth using Blondel:**
> 2 ร 7.2 + Run = 24.5 โ Run = 24.5 โ 14.4 = **10.1 inches** โ (above 10 in minimum)
**Step 4 โ Total horizontal run:**
> 15 treads ร 10.1 inches = 151.5 inches = **12 ft 7.5 in**
This is the floor space the staircase consumes horizontally. It must fit within your available floor plan.
**Step 5 โ Stringer length:**
> โ(Total riseยฒ + Total runยฒ) = โ(108ยฒ + 151.5ยฒ) = โ(11,664 + 22,952) = โ34,616 = **186 inches = 15 ft 6 in**
You need stringers (the diagonal side supports) at least 15 ft 6 in long. Standard 2ร12 lumber comes in 16-ft lengths โ that works with a few inches to spare.
[Calculate your exact staircase dimensions โ](/category/construction/staircase-calculator)
---
## How Total Horizontal Run Affects Your Floor Plan
A common mistake: designing the staircase without checking where it lands on the floor below.
For a 9-ft ceiling, a standard staircase consumes about 12โ13 ft of horizontal floor space. That's a significant footprint. If your floor plan doesn't have 13 ft of clear run, you have four options:
1. **Steeper staircase** โ reduce tread depth toward the 10-inch minimum (less comfortable)
2. **Winder stairs** โ add angled treads at the bottom or top to turn a corner
3. **L-shaped staircase with landing** โ land on a platform partway up and turn 90ยฐ
4. **Spiral staircase** โ very compact footprint, but not code-compliant as a primary egress in most jurisdictions
---
## Stringer Size and Spacing
Stringers are the structural backbone of the staircase โ the diagonal boards that support each tread.
**Standard stringer: 2ร12 lumber**
For residential stairs under 36 inches wide: **2 stringers** (one on each side)
For stairs 36โ48 inches wide: **3 stringers** (add one in the center)
For stairs over 48 inches wide: **4 stringers**, or engineered alternatives
### Stringer Notch Depth
Each riser/tread notch cut into the stringer must leave at least **3-1/2 inches of solid wood** in the stringer throat (the narrowest remaining section after the cut). With a 2ร12 (actual 11.25 inches) stringer:
> Net remaining = 11.25 โ Rise cut โ Run cut
For a 7.2-inch rise and 10.1-inch run:
> Net = 11.25 โ 7.2 = **4.05 inches** โ (above the 3.5-inch minimum)
If your rise + run combination would leave less than 3.5 inches, you need a wider stringer board or a different rise/run ratio.
---
## Deck Stairs vs. Interior Stairs
Deck stairs often have slightly different proportions because they connect to grade, not another floor:
| Feature | Interior Stairs | Deck/Exterior Stairs |
|---------|-----------------|----------------------|
| Typical riser | 7โ7.5 in | 6โ7 in (shallower feels better outdoors) |
| Tread depth | 10โ11 in | 11โ12 in |
| Tread material | Wood, carpet, tile | Composite, pressure-treated, concrete |
| Nosing requirement | Required (3/4โ1-1/4 in) | Often omitted for weather drainage |
| Stringer attachment | To subfloor/header | To deck ledger + concrete footing at base |
For deck stairs, also see the [deck calculator](/category/tools/deck-calculator) for the concrete footing requirements at the bottom of each stringer.
---
## How Many Treads Do You Actually Buy?
Note: the number of **treads** is always one less than the number of **risers**. The top landing of the staircase serves as the final tread โ you don't add a separate tread board there.
**Treads = Steps โ 1**
For 15 steps: **14 treads to purchase**
Standard tread boards are 1ร10 or 1ร12 (actual 3/4 in thick, 9.25 or 11.25 in wide). Buy to your tread depth with a 1/2 in nosing overhang.
---
## Handrail Requirements
Any staircase with 4 or more risers requires a graspable handrail:
- **Height**: 34 to 38 inches above tread nosing
- **Graspable cross-section**: 1.25 to 2 inches diameter (round) or equivalent
- **Continuous**: from top to bottom without interruption
- **Returns**: both ends must return to the wall or post (no projecting ends that catch sleeves)
Guardrails (on open sides) must be at least 36 inches high and have balusters spaced so a 4-inch sphere cannot pass through.
---
## Related Construction Calculators
- [Deck Calculator](/category/tools/deck-calculator) โ lumber, posts, and concrete for any deck
- [
Concrete Calculator](/category/engineering/concrete-calculator) โ footings for stringer bases
- [Drywall Calculator](/category/construction/drywall-calculator) โ sheets and screws for any room
- [
Paint Coverage Calculator](/category/construction/paint-coverage-calculator) โ gallons for any surface
---
## Frequently Asked Questions
**What is the standard rise and run for stairs?**
The most common comfortable combination is a 7-inch rise and 11-inch run (2ร7 + 11 = 25, which satisfies Blondel's formula). IRC code allows risers up to 7-3/4 inches and requires treads at least 10 inches deep.
**How many steps do I need for a 9-foot ceiling?**
For 9 ft (108 inches) with a 7-inch riser: 108 รท 7 = 15.4 โ **15 steps**. Actual riser: 108 รท 15 = 7.2 inches. This is code-compliant and comfortable.
**How do I calculate the length of a stair stringer?**
Use the Pythagorean theorem: Stringer length = โ(Total riseยฒ + Total horizontal runยฒ). For a 9-ft rise and 12.6-ft run: โ(108ยฒ + 151.5ยฒ) = โ34,616 โ **186 inches (15 ft 6 in)**.
**Can all the risers be different heights?**
No โ IRC code allows a maximum variation of 3/8 inch between the tallest and shortest riser in a single staircase. Inconsistent risers are a leading cause of falls on stairs. The staircase calculator divides total rise evenly to ensure all risers are identical.