Stair Calculator: Rise, Run & Step Count Tool

Stair Calculator: Rise, Run & Step Count (Free Tool)

✍ Written & fact-checked by Dr. Irfan Mansuri  |  Last Updated: August 2026

By Dr. Irfan Mansuri
·August 7, 2026
·8 min read
·🏗️ Construction Math
Stair calculator showing rise run tread depth and stringer length diagram for staircase design
Stair calculator diagram showing total rise, unit rise, tread depth, and stringer length for staircase design
⚡ Quick Answer: A stair calculator finds the number of steps, riser height, tread depth, and stringer length for a staircase. Divide total rise by your chosen riser height to get step count, then multiply step count by tread depth for total run. Stringer length equals the square root of (total rise² + total run²). Most building codes require risers between 150–220 mm and treads at least 220 mm deep.

Whether you are building a deck staircase, a basement stair, or a full interior flight, getting the rise and run right is the difference between a safe, comfortable stair and one that fails inspection. This free stair calculator does the geometry instantly — enter your floor-to-floor height and preferred dimensions, and it returns every measurement you need before you pick up a saw.

🎯 The Short Version

  • Step count = Total Rise ÷ Riser Height (round up to whole number)
  • Adjusted riser = Total Rise ÷ rounded step count
  • Total run = step count × tread depth
  • Stringer length = √(Total Rise² + Total Run²)
  • Ideal riser: 170–180 mm; ideal tread: 270–300 mm
  • Check the 2R + T rule: aim for 600–650 mm

📊 Quick Facts: Stair Dimensions at a Glance

Measurement Recommended range Common code maximum
Riser height (R) 170–180 mm 220 mm (most codes)
Tread depth (T) 270–300 mm Min 220 mm
Stair angle 30°–38° Max ~45°
2R + T comfort rule 600–650 mm –
Min headroom 2000 mm 2032 mm (IRC)

🧮 Interactive stair calculator

Stair Calculator
Rise • Run • Steps • Stringer







–
Number of steps
📐 Step-by-step solution

    How to use this stair calculator

    1. Measure total rise. This is the vertical distance from finished floor to finished floor (or ground to landing). Measure in mm or switch to inches.
    2. Enter your desired riser height. Start with 175 mm (about 7 inches) — a comfortable default for most residential stairs.
    3. Enter tread depth. Try 280 mm (11 inches) as a starting point. Increase it for a more relaxed stair angle.
    4. Optionally enter stair width to check it against the typical 900 mm minimum.
    5. Click Calculate. Read the step count, adjusted riser, total run, stringer length, and angle from the result card.
    6. Adjust and recalculate until the 2R + T value lands between 600 and 650 mm and the angle sits between 30° and 38°.
    💬 My POV

    In my experience helping students and DIYers work through construction math, the single biggest time-saver is entering a slightly different riser height and recalculating until the 2R + T value hits the comfort zone. Most people fix the riser and accept whatever angle they get — but tweaking the tread depth by 10–20 mm often turns a 41° stair into a comfortable 36° one without changing the step count at all.

    What is a stair calculator?

    A stair calculator is a tool that computes the key dimensions of a staircase from two inputs: the total vertical height (total rise) and your preferred riser and tread sizes. It applies the Pythagorean theorem and basic division to give you step count, adjusted riser height, total horizontal run, stringer length, and stair angle — all the numbers a builder or student needs before cutting a single piece of timber.

    The term “stair calculator” covers several related tools: rise-and-run calculators, stringer calculators, and step-count calculators. This page combines all three into one widget.

    The stair formulas explained

    Four formulas drive every stair calculation. Here they are, written out clearly:

    Formula Expression Notes
    Step count n = ⌈ Total Rise ÷ Desired Riser ⌉ Always round UP
    Adjusted riser (R) R = Total Rise ÷ n Actual cut height
    Total run Total Run = n × Tread Depth (T) Horizontal footprint
    Stringer length L = √(Total Rise² + Total Run²) Pythagorean theorem

    Variables & symbols table

    Symbol Meaning SI unit
    n Number of steps (risers) dimensionless
    R Riser height (unit rise) mm (or inches)
    T Tread depth (unit run) mm (or inches)
    L Stringer length mm (or inches)
    θ Stair angle degrees (°)

    The 2R + T comfort rule is an ergonomic guideline, not a structural formula: 2R + T should equal 600–650 mm. It ensures the stride length matches a natural walking pace on the slope.

    Worked examples

    Example 1: Residential interior staircase

    Given: Total rise = 2800 mm, desired riser = 175 mm, tread depth = 280 mm.

    1. Raw step count = 2800 ÷ 175 = 16.0 → round up = 16 steps
    2. Adjusted riser = 2800 ÷ 16 = 175 mm (exact, no adjustment needed)
    3. Total run = 16 × 280 = 4480 mm
    4. Stringer = √(2800² + 4480²) = √(7,840,000 + 20,070,400) = √27,910,400 ≈ 5283 mm
    5. Angle = arctan(2800 ÷ 4480) ≈ 32.0° ✅
    6. 2R + T = 2(175) + 280 = 630 mm ✅ (comfort zone)

    Example 2: Deck staircase (shallower, outdoor)

    Given: Total rise = 1050 mm, desired riser = 150 mm, tread depth = 330 mm.

    1. Raw step count = 1050 ÷ 150 = 7.0 → 7 steps
    2. Adjusted riser = 1050 ÷ 7 = 150 mm
    3. Total run = 7 × 330 = 2310 mm
    4. Stringer = √(1050² + 2310²) = √(1,102,500 + 5,336,100) = √6,438,600 ≈ 2537 mm
    5. Angle = arctan(1050 ÷ 2310) ≈ 24.4° — slightly shallow but fine for outdoor use
    6. 2R + T = 2(150) + 330 = 630 mm ✅

    Interior vs outdoor stairs: key dimension comparison

    Feature Interior residential Outdoor / deck
    Typical riser height 170–180 mm 130–160 mm
    Typical tread depth 270–300 mm 320–400 mm
    Stair angle 32°–38° 20°–30°
    Nosing required Yes (25 mm typical) Often omitted
    Material Timber, concrete, steel Timber, composite, concrete
    Code headroom Min 2000 mm Often not specified

    Common mistakes when calculating stairs

    Most stair-building errors come from one of three sources: rounding the wrong way, ignoring the finished floor thickness, or mixing up “number of risers” with “number of treads.”

    • 🚫 Rounding step count DOWN. If 2800 ÷ 175 = 16.3, rounding down to 16 gives a riser of 175 mm but the last step will be 175 + leftover = too tall. Always round UP, then recalculate the adjusted riser.
    • 🚫 Forgetting finished floor thickness. If you add 20 mm flooring at the top, your total rise increases by 20 mm. Measure to the finished surface, not the subfloor.
    • 🚫 Confusing risers and treads. A 16-step stair has 16 risers but only 15 treads between landings (the top landing is not a tread). The total run formula uses the number of treads, which equals the number of risers for a straight stair between two floors.
    • 🚫 Ignoring nosing. If your treads have a 25 mm nosing overhang, the structural tread depth is tread depth minus nosing. Factor this into your layout marks on the stringer.
    • 🚫 Using the desired riser as the cut riser. The adjusted riser (Total Rise ÷ rounded step count) is the number you actually cut — it may differ from your desired riser by a few millimetres.
    ❗ Commonly Misunderstood

    The stringer length formula gives the board length before notching — not the finished stringer depth. Most guides stop at “stringer = √(rise² + run²)” and leave it there. What they don’t tell you: after you notch the stringer for each tread and riser, the remaining depth at the thinnest point (the “effective depth”) must stay above the code minimum — typically 89 mm for timber. If your stringer board is only 280 mm wide and your rise + run notch removes 175 + 280 = 455 mm of diagonal material, you may be left with far less than 89 mm. Always check effective depth = stringer board width × cos(θ) minus the riser height. This is the calculation most DIY guides skip entirely.

    💬 My POV

    I have reviewed dozens of stair-calculation tutorials, and almost none of them mention the effective stringer depth check. In my experience, this is the most common reason a stair passes the rise-run math but fails a structural inspection. Run the effective depth check before you buy your timber — it may mean stepping up from a 280 mm board to a 300 mm one, which costs almost nothing but prevents a costly rebuild.

    🔢 Try our Electricity Bill Calculator →

    🧠 Quick

    Sources & References

    Written and fact-checked by Dr Irfan Mansuri. External links open in a new tab and are provided for further reading and verification.

    Leave a Comment

    Your email address will not be published. Required fields are marked *

    Scroll to Top