QuickCalc.ai

Stair Calculator

Find the number of steps, riser height, tread depth, and stringer length for your staircase from total rise — with IRC code-compliance checks.

Number of steps
14 risers
13 treads · 39.7° stair angle
Actual riser height
7.71 in
Total run
10.83 ft
Stringer length
14.08 ft
Code-compliance check (typical U.S. residential/IRC)
Riser height within the 7¾" (196 mm) max
Tread depth meets the 10" (254 mm) min
Angle is outside the typical comfortable 30-35° range
Advertisement

How to use the stair calculator

  1. 1

    Measure your total rise — the exact vertical distance from finished floor to finished floor.

  2. 2

    Enter your target riser height and tread depth.

  3. 3

    Your number of risers and treads, actual riser height, total run, stringer length, angle, and code-compliance checks update instantly.

How stair dimensions are calculated

risertreadtotal risetotal runstringer
Total rise and total run set the stringer length; each riser and tread is a fixed slice of that total.

Stair math starts with total rise — the exact vertical floor-to-floor height — because unlike most other dimensions, it can't be adjusted. Everything else is solved around it:

  1. Number of risers = round(total rise ÷ target riser height)
  2. Actual riser height = total rise ÷ number of risers — always a little different from your target, since the total rise rarely divides in evenly
  3. Number of treads = number of risers − 1, since the top floor itself serves as the final step
  4. Total run = number of treads × tread depth
  5. Stringer length = √(total rise² + total run²) — the Pythagorean theorem applied to the overall stair triangle
  6. Stair angle = atan(total rise ÷ total run), converted to degrees

Worked example: A total rise of 108 inches (9 ft) with a 7.5-inch target riser gives 108 ÷ 7.5 = 14.4, which rounds to 14 risers. The actual riser height becomes 108 ÷ 14 = 7.71 inches. With 13 treads at 10 inches each, total run is 130 inches, and the stringer works out to √(108² + 130²) ≈ 169 inches — about 14.1 ft of raw stringer board.

Framing a staircase into a deck project? Our Deck Material Calculator covers the boards, joists, and footings for the deck itself.

Advertisement

Stair building code basics

Most U.S. residential stair rules trace back to the International Residential Code (IRC), though local jurisdictions can adopt stricter amendments — always confirm with your local building department before finalizing a design.

ElementTypical IRC limit
Maximum riser height7¾" (196 mm)
Minimum tread depth10" (254 mm)
Riser height variance within a flight⅜" (9.5 mm) max between largest and smallest
Minimum headroom6'8" (80" / 2032 mm)
Minimum stair width36" (914 mm)

Because this calculator spreads the total rise evenly across a whole number of risers, the riser-height-variance rule is always satisfied automatically — every riser in the flight comes out identical. The compliance checks shown in your results cover riser height, tread depth, and comfortable angle only; headroom and stair width depend on your framing and floor plan and should be verified separately.

Frequently asked questions

Related guides

Related calculators

🎂
Age Calculator

Find your exact age in years, months, and days, plus your birth day of the week and next birthday countdown.

Try it →
⚖️
BMI Calculator

Calculate your Body Mass Index and healthy weight range using metric or imperial units.

Try it →
🎨
Paint Calculator

Estimate how much paint and how many gallons or liters you need for any room, with cost estimates.

Try it →
📅
Date Calculator

Find the exact number of days, weeks, or months between any two dates, plus a business-day count.

Try it →
🧱
Flooring Calculator

Estimate how many boxes of tile, hardwood, or laminate flooring you need for any room, with cost estimates.

Try it →
🪨
Concrete, Mulch & Topsoil Calculator

Estimate cubic yards, bags needed, and cost for concrete, mulch, or topsoil in any rectangular or circular area.

Try it →
⛏️
Gravel Calculator

Get cubic yards, tons, and cost for driveways, paths, and drainage — includes pea gravel, crushed stone, sand, and river rock.

Try it →
📐
Roof Pitch Calculator

Find your roof's pitch ratio, angle in degrees, and slope percentage from rise and run, plus rafter length and roof area.

Try it →
🪵
Deck Material Calculator

Find how many deck boards, joists, screws, and footing concrete bags you need from your deck's dimensions, board size, and layout — plus cost.

Try it →
🚧
Fence Calculator

Find how many fence panels or posts you need from your fence length, gates, and spacing — calculate by panels or by linear feet, plus cost.

Try it →
🔥
Calorie Calculator (TDEE & BMR)

Find your BMR, TDEE, and daily calorie target for weight loss, maintenance, or muscle gain, with an optional macro breakdown.

Try it →
📏
Body Fat Calculator

Estimate your body fat percentage using the U.S. Navy method or BMI method, plus fat mass, lean mass, and your ideal healthy range.

Try it →
🥚
Palworld Breeding Calculator

Find the exact offspring of any two Pals, work backward from a target Pal, or see every mutated egg outcome — all 299 Pals.

Try it →
📊
Percentage Calculator

Find what X% of a number is, what percent one number is of another, percent change between two values, or the whole from a known part.

Try it →
🧾
Tip Calculator

Calculate the tip and total for any bill, and split it evenly between any number of people.

Try it →