Stair Calculator
Calculate stair dimensions and step counts.
Height from lower floor to upper floor level.
Standard tread depth is 10-11 inches.
Stair Calculator
Everything you need to know
About the Stair Calculator
Building stairs is one of the most mathematically precise tasks in carpentry and construction. A fraction of an inch error in riser height or tread depth can create a tripping hazard, violate building codes, and ruin the aesthetic of an entire staircase. Our stair calculator eliminates guesswork by determining the exact number of steps, riser dimensions, and tread dimensions needed for safe, comfortable, and code-compliant stairs.
Whether you are building a deck staircase, basement stairs, a grand entryway, or replacing an old set of steps, proper stair design ensures safety for everyone who uses them — from toddlers to seniors.
Key Stair Terminology
Understanding the components of a staircase is essential before calculating dimensions:
| Term | Definition |
|---|---|
| Riser | The vertical part of each step |
| Tread | The horizontal part you step on |
| Stringer | The diagonal structural support that holds the risers and treads |
| Nosing | The part of the tread that overhangs the riser below |
| Run | The total horizontal distance the stairs cover |
| Rise | The total vertical distance the stairs climb |
| Headroom | Minimum vertical clearance above the stairs |
| Landing | A flat platform between flights of stairs |
| Baluster | The vertical posts that support the handrail |
| Newel post | The larger post at the top and bottom of the railing |
The Rule of Thumb: Rise Plus Run
The most important principle in stair design is the relationship between riser height and tread depth:
Riser Height + Tread Depth = 17 to 18 inches
This rule has been used by carpenters for centuries because it produces stairs that are comfortable and natural to climb. A riser that is too tall forces users to lift their feet excessively. A tread that is too shallow does not provide enough foot space for safe landing.
Building Code Requirements
Stair dimensions are heavily regulated by local building codes. The International Residential Code (IRC) provides these standard requirements:
| Measurement | IRC Minimum | IRC Maximum | Optimal |
|---|---|---|---|
| Riser height | 4 inches | 7.75 inches | 7 to 7.5 inches |
| Tread depth | 10 inches | N/A | 10 to 11 inches |
| Tread depth (w/o nosing) | 11 inches | N/A | 11 inches |
| Nosing overhang | 0.75 inch | 1.25 inches | 1 inch |
| Headroom | 6 feet 8 inches | N/A | 7+ feet |
| Stair width | 36 inches | N/A | 36+ inches |
| Handrail height | 34 inches | 38 inches | 36 inches |
| Variance between risers | 0.375 inch | N/A | 0 inch (perfectly equal) |
Critical safety rule: All risers in a single flight must be within 3/8 inch of each other. Inconsistent step heights are a leading cause of stair falls.
How to Calculate Stair Dimensions
Step 1: Measure Total Rise
Measure the vertical distance from the finished floor at the bottom to the finished floor at the top. Use a tape measure or laser measure for accuracy.
Example: From basement floor to main floor = 105 inches
Step 2: Estimate Number of Steps
Divide the total rise by your target riser height (typically 7 to 7.5 inches):
105 ÷ 7 = 15 steps 105 ÷ 7.5 = 14 steps
Step 3: Calculate Exact Riser Height
Divide the total rise by the number of steps:
For 15 steps: 105 ÷ 15 = 7.0 inches per riser For 14 steps: 105 ÷ 14 = 7.5 inches per riser
Both are code-compliant. The 14-step option with 7.5-inch risers is slightly steeper but saves horizontal space.
Step 4: Calculate Tread Depth
Using the rise-plus-run rule:
For 7.0-inch risers: Tread = 17.5 - 7.0 = 10.5 inches For 7.5-inch risers: Tread = 17.5 - 7.5 = 10.0 inches
Both meet the minimum 10-inch tread depth requirement.
Step 5: Calculate Total Run
Total run = Number of treads × Tread depth
Note: The number of treads is always one less than the number of risers (the top floor serves as the final tread).
For 15 risers / 14 treads at 10.5 inches: Total run = 14 × 10.5 = 147 inches (12.25 feet)
For 14 risers / 13 treads at 10.0 inches: Total run = 13 × 10.0 = 130 inches (10.83 feet)
Step 6: Check Headroom
Measure the diagonal distance from the edge of each tread to the ceiling or obstruction above. All points must provide at least 6 feet 8 inches of clearance.
Stair Stringer Layout
The stringer is the backbone of the staircase. It is typically cut from a 2×12 board.
Marking the Stringer
- Use a framing square with stair gauges set to your riser and tread dimensions
- Starting at one end of the board, mark the first riser line
- Slide the square and mark the first tread line
- Continue alternating riser and tread marks across the board
- The bottom of the stringer is cut short by one tread thickness so the first step matches the others
Stringer Length Calculation
The stringer forms the hypotenuse of a right triangle:
Stringer length = √(Total Rise² + Total Run²)
Example: For a staircase with 105-inch rise and 147-inch run: Stringer length = √(105² + 147²) = √(11,025 + 21,609) = √32,634 = 180.6 inches (15.05 feet)
Purchase lumber at least 2 feet longer than the calculated stringer length to allow for cuts and attachment.
Types of Staircases
Straight Stairs
The simplest and most common design. All steps go in one direction. Easiest to calculate and build.
L-Shaped Stairs
A straight flight with a 90-degree turn, usually with a landing. Used when space is limited. The landing provides a natural resting point.
U-Shaped Stairs
Two flights of stairs with a 180-degree turn between them. Often called "switchback" stairs. Very space-efficient.
Spiral Stairs
Wind around a central pole. Space-saving but steep and narrow. Often used for lofts and attics.
Winder Stairs
Similar to L-shaped but use triangular "winder" steps instead of a landing. More compact but must meet strict code requirements.
Outdoor Deck Stairs
Deck stairs have additional considerations:
- Materials: Pressure-treated lumber, cedar, redwood, or composite decking
- Riser height: Often kept lower (6 to 7 inches) for comfort
- Tread depth: 10 to 12 inches for secure footing
- Stringers: Typically spaced 16 inches on center for standard decking
- Footing: Bottom of stringers must rest on concrete pads or piers to prevent settling
- Railings: Required for decks over 30 inches high
Material Estimation
For a Standard Indoor Staircase (15 Risers, 14 Treads)
| Material | Quantity | Notes |
|---|---|---|
| 2×12 stringers | 3 boards | Two outer + one center for wide stairs |
| 1×12 risers | 15 boards | Or use 1×8 for narrower stairs |
| 2×12 treads | 14 boards | Or two 2×6 boards per tread |
| Newel posts | 2-4 | Top and bottom of railing |
| Balusters | 20-40 | Depending on stair length and code spacing |
| Handrail | 1 | Continuous from bottom to top |
| Lag bolts / screws | 1 box | For securing stringers |
Safety Tips for Stair Design
- Consistent risers: Never vary riser height by more than 3/8 inch within a flight
- Adequate lighting: Install switches at both top and bottom
- Non-slip surfaces: Add grip tape or carpet to treads
- Handrails on both sides: Especially important for stairs over 44 inches wide
- Child safety: Space balusters no more than 4 inches apart to prevent small children from slipping through
- Landings: Provide a landing every 12 feet of vertical rise for resting
- Visibility: Use contrasting colors between treads and risers to make steps visible
Frequently Asked Questions
What is the ideal stair slope?
The optimal slope is about 32 to 37 degrees. Steeper stairs save space but are harder to climb. Shallower stairs are more comfortable but require more horizontal space.
How many stairs do I need for a 10-foot ceiling?
With finished floors, the total rise is typically about 120-125 inches. At 7-inch risers, you need 17-18 steps.
Can I have open risers (no backing)?
Many building codes allow open risers if the opening is small enough that a 4-inch sphere cannot pass through. Check your local code before building.
How wide should stairs be?
The IRC minimum is 36 inches between walls. For comfort and moving furniture, 42 to 48 inches is preferable.
Why do I feel dizzy on some stairs?
Inconsistent riser heights, poor lighting, or patterns that create optical illusions can cause disorientation. Consistent dimensions and good lighting solve most issues.
Related Calculators
Browse AllConcrete Calculator
Estimate concrete volume for slabs and footings.
Gravel Calculator
Estimate gravel volume for landscaping projects.
Mulch Calculator
Estimate mulch volume for garden beds.
Tile Calculator
Estimate tile quantity for flooring projects.