Home Math & Calculator Tools Stair Calculator
🪜
Math & Calculator Tools

Stair Calculator

Calculate stair rise, run, number of steps, total stringer length and material requirements — with IRC code compliance checks.

⚡ Instant calculation 🔒 Private — runs in your browser 🚫 No login required 📋 Copy or download results
🪜 Stair Calculator
🪜

Enter your figures and click Calculate to see your results.

📖How to Use the Stair Calculator

  1. 1
    Enter your values

    Enter the total rise (floor to floor in inches), riser height and tread depth — the calculator checks IRC code compliance.

  2. 2
    Click Calculate

    Press the Calculate button. All results appear instantly — no page reload, no waiting.

  3. 3
    Read and use your results

    Results appear in the panel on the right with all key values clearly labelled. Use Copy to grab the result or Download to save a text file.

💡When to Use This Calculator

SituationWhy It Helps
Deck stair construction Find number of risers
Basement stair planning Check IRC code compliance
Riser & tread layout Avoid trips and hazards

Frequently Asked Questions

What is the standard stair riser height and tread depth?

IRC (International Residential Code) requirements: maximum riser height = 7¾ inches, minimum riser height = 4 inches, minimum tread depth = 10 inches, minimum tread width = 36 inches. The classic rule of thumb for comfortable stairs is: 2 × riser + tread = 24–25 inches. A 7-inch riser with 10-inch tread = 24 inches, which is comfortable and code-compliant.

How do I calculate the number of stairs for a given rise?

Divide total rise (floor to floor height in inches) by the desired riser height. For 108 inches of total rise with 7-inch risers: 108 ÷ 7 = 15.43 — round to 15 risers. Then recalculate actual riser height: 108 ÷ 15 = 7.2 inches per riser. Important: the actual riser height must be consistent — no more than 3/8 inch variation between any risers, per code.

What is the relationship between rise and run?

The classic stair formula is: Rise + Run = 17 to 18 inches, or 2 × Rise + Run = 24 to 25 inches. These are comfort guidelines developed from human gait. A 7-inch rise with a 10-inch tread = 17 inches sum, which is comfortable. Steep stairs (high rise, short tread) are tiring. Shallow stairs (low rise, long tread) can cause people to shuffle awkwardly.

What is a stringer and how long does it need to be?

A stringer is the diagonal structural support on each side of a staircase. Stringer length = √(Total Rise² + Total Run²). For 15 steps with a 7.2-inch riser and 10-inch tread: Total Rise = 108 in, Total Run = 15 × 10 = 150 in. Stringer length = √(108² + 150²) = √(11,664 + 22,500) = √34,164 = 184.8 inches ≈ 15.4 feet.

How many steps do I need for a deck or porch?

Number of steps = Total Rise ÷ Riser Height. If the deck is 42 inches above ground with 7-inch risers: 42 ÷ 7 = 6 steps. However, total rise must be divided evenly — recalculate: if exactly 7 inches works (42/7 = 6 exactly), then 6 risers and 5 treads (the deck surface acts as the top landing — it is the 6th tread). The landing at the bottom adds one more tread.

What is the minimum headroom for stairs?

IRC requires minimum 80 inches (6 ft 8 in) of headroom clearance measured vertically from the stair nosing to the ceiling or any obstruction above. This applies both above the stair run and landing. Headroom issues are common in basement stairs where floor joists pass overhead. Insufficient headroom is a code violation and a genuine safety hazard.

What is a nosing on stairs?

Nosing is the projecting edge of the stair tread that overhangs the riser below, typically 3/4 to 1-1/4 inches. IRC requires nosing on stairs with tread depths of 11 inches or less. Nosing provides extra stepping surface without increasing the stair run length, and helps people see where the step ends. Rounded or bevelled nosing edges are safer (less likely to catch toes).

What material is best for outdoor stairs?

For outdoor stairs: pressure-treated lumber (2× material) is the most common and affordable. Composite decking makes longer-lasting treads. Concrete is extremely durable but requires forming. Stone (flagstone, bluestone) is attractive but can be slippery when wet. Whatever the material, use a non-slip surface treatment or texture on outdoor treads. Galvanised or stainless steel hardware is mandatory outdoors.

Do deck stairs need a handrail?

IRC requires a handrail when there are 4 or more risers (3 or more steps). The handrail must be graspable (typically 1.25 to 2 inch diameter for round rails), between 34 and 38 inches above the stair nosing, and continuous for the full length of the stair. Handrails must be attached to a post or wall with structural fasteners. Local codes may be stricter than IRC.

How do I make stairs non-slip?

Options for safer stair surfaces: anti-slip tape (adhesive strips applied to nosing), non-slip treads or stair covers (rubber or carpet), paint with anti-slip additives, textured concrete or brushed finish, abrasive nosing strips embedded in concrete, and stair carpet or runners. Outdoor stairs benefit from grooved or textured surfaces and benefit most from regular cleaning to remove algae and debris.