Skip to content

Stair Calculator

Calculate your monthly returns and total payouts using our free SWP Calculator. Estimate cash flow, tax impact, and growth on your mutual fund investments instantly!

HomeExpertly
www.homeexpertly.com

Stair Calculator (USA)

Work out riser height, tread depth, total run, stringer length and stair angle, check them against IRC code limits, and download a professional PDF with a step-by-step marking schedule.

For estimation and planning only. Code limits shown reflect common IRC residential values (max riser 7¾″, min tread 10″, min headroom 6′-8″). Always confirm against your local adopted building code and have a licensed professional verify the final layout.
1 Stair dimensions
in
30″105″180″
in
4″6.5″9″
● IRC max riser 7¾″ — actual is auto-balanced
in
81216
in
244872
2 Details & clearances
in
in
in
IRC minimum headroom is 80″ (6′-8″).
Number of steps (risers)
--
Enter your dimensions and click Calculate
Layout breakdown
Total rise --
Stair angle --
Number of risers --
Number of treads --
Actual riser height --
Tread depth --
Total run --
Stringer length --
Quick summary
Steps (risers) --
Treads --
Riser height --
Tread depth --
Total run --
Stair angle --
Profile & code check
Side profile (to scale)
IRC code compliance
Calculate to run code checks.

The highlighted row is the top landing (arrival at the upper floor). Heights are measured from the lower finished floor; run is measured horizontally from the face of the first riser.

How it works

How to use the stair calculator

Four quick steps turn your total rise into a full stair layout — balanced risers, treads, total run, stringer length, and pitch — checked against IRC code limits, with a marking schedule and a downloadable PDF.


1

Enter the total rise

Measure finished floor to finished floor — this is the single number the whole stair is built from.

2

Set riser & tread

Choose a target riser height and tread depth; the calculator balances the risers evenly.

3

Add width & headroom

Enter stair width, nosing, and available headroom so it can run the code checks.

4

Read results & save a PDF

Get the step count, run, stringer, angle, a code compliance check, and a step-by-step schedule.

The formulas

How the stair layout is calculated

A staircase is set by two numbers — the total rise and how you split it into steps. The calculator divides the rise into equal risers, sets the run from the tread depth, and works out the stringer, the angle, and whether it all meets code. Here is the exact math.


Number of risers
total rise ÷ target riser  (round)
Actual riser
total rise ÷ number of risers
Number of treads
number of risers − 1
Total run
number of treads × tread depth
Stringer length
√(rise² + run²)
Stair angle
arctan(rise ÷ run)
Max riser 7¾″ Min tread 10″ Min width 36″ Min headroom 6′-8″ 2R + T ~24–25″

Worked example — a 9-ft (108″) rise, 7½″ target riser, 10″ tread

Risers: 108 ÷ 7.5 = 14.4 → 14
Actual riser: 108 ÷ 14 ≈ 7 11/16″
Treads: 14 − 1 = 13, Run: 13 × 10 = 130″
Stringer: √(108² + 130²) ≈ 169″, Angle: arctan(108 ÷ 130) ≈ 39.7° 14 steps at ~7 11/16″, 13 treads, run 10′-10″, stringer ~14′-1″, pitch 39.7° — and 2R + T = 25.4″.

The same 9-ft rise, three step counts:
16 risers
6¾″ riser
15 treads · run 12′-6″ · 35.8° · gentle
15 risers
7 3/16″ riser
14 treads · run 11′-8″ · 37.6° · comfortable
14 risers
7 11/16″ riser
13 treads · run 10′-10″ · 39.7° · standard
Quick reference

Stair layout charts

Handy lookups for the questions people ask most — the IRC code limits, step counts by floor height, comfortable riser and tread pairs, and what each stair angle feels like. Confirm every figure against your local adopted code.

IRC residential stair limits
RequirementIRC limitNotes
Max riser height7¾″Uniform, ≤3/8″ variation
Min tread depth10″Measured nosing to nosing
Min stair width36″Above the handrail
Min headroom6′-8″ (80″)Measured vertically
Handrail height34″–38″Above the nosing
Nosing¾″–1¼″Where treads under 11″

Common IRC residential values. Codes are adopted and amended locally, and commercial stairs follow different limits — always confirm with your building department.

Steps by floor-to-floor height
Total riseRisersRiser heightTreadsTotal run
3′-0″ (36″)57 3/16″43′-4″
6′-0″ (72″)107 3/16″97′-6″
8′-0″ (96″)137 3/8″1210′-0″
9′-0″ (108″)147 11/16″1310′-10″
10′-0″ (120″)167½″1512′-6″

Using a 7½″ target riser and a 10″ tread. Your actual riser is the rise divided evenly by the step count, so it lands near — not exactly on — the target.

Comfortable riser & tread pairs
RiserTread2R + TFeel
6½″12″25″Gentle
7″11″25″Comfortable
7¼″10½″25″Comfortable
7½″10″25″Standard
7¾″10″25½″Steepest IRC-legal

The 2R + T comfort rule targets about 24–25″. A taller riser needs a shallower tread to stay in range, which also makes the stair steeper.

What each stair angle feels like
AngleFeelTypical use
Under 30°GentleGrand entries, exterior steps
30°–37°ComfortableIdeal for most homes
37°–42°SteepLegal but tiring; tight spaces
Over 42°Very steepLofts & ships; not main stairs

The angle is the rise over the run. Steeper stairs save floor space but are harder to climb and to move furniture on — most homes aim for the 30–37° band.

How rise and run set the stair
Steps
rise ÷ riser
Run
treads × tread
θ Pitch
rise ÷ run

Every stair comes from splitting one total rise into equal steps — the run and the pitch follow from there.

  • Steps — rise divided by your target riser, rounded, then balanced so every riser is equal.
  • Run — treads times tread depth; more steps means a longer, gentler stair.
  • Stringer & pitch — the diagonal is √(rise² + run²), and its angle is the stair’s steepness.
What you get

Everything the calculator works out

One total rise gives you a complete stair layout — the step count, the geometry, a code check, and a cutting schedule you can take to the saw.


Steps & treadsThe balanced number of risers and treads for your rise.
Actual riser heightThe uniform riser after balancing, in 1/16″ fractions.
Total runThe horizontal span the stair needs on the floor.
Stringer length & angleThe diagonal to cut and the pitch of the flight.
IRC code checkRiser, tread, width, headroom, and 2R + T flagged pass or fail.
Marking schedule + PDFStep-by-step heights and runs, plus a to-scale profile.
By the numbers

Key IRC figures every stair depends on

Max riser (inches)
10
Min tread (inches)
36
Min width (inches)
80
Min headroom (inches)
25
Ideal 2R + T (inches)
Who it’s for

Built for any set of stairs

From deck steps to a basement stair or a remodel, the same calculator balances the risers, sets the run, and checks the layout against code.


The DIY homeowner
Decks & basements

Building deck steps or a basement stair and wants a safe, code-friendly layout and a clear cut list.

  • Measure the total rise carefully
  • Keep risers within 7¾″
  • Save the PDF schedule to mark stringers
The carpenter / contractor
Framed on site

Cutting stringers on the job and needs balanced risers, run, stringer length, and a marking schedule fast.

  • Balance risers to the exact rise
  • Read the run and stringer
  • Hand the schedule to the crew
The remodeler / designer
Fitting the space

Fitting a stair into a set opening and balancing pitch, run, and headroom against the space available.

  • Trade angle against total run
  • Check headroom before framing
  • Confirm the layout with the AHJ
Pro tips

7 tips for an accurate stair layout

Small habits keep your steps uniform, your stair walkable, and your inspector happy.


1
Measure finished floor to finished floorUse the final floor heights, not subfloor — flooring and tile change the total rise.
2
Let the risers balanceMark the actual balanced riser the calculator gives, not the target you typed in.
3
Keep every step uniformThe IRC allows only 3/8″ variation across a flight — an odd step is a trip hazard.
4
Check headroom earlyA long or steep run can pinch the 6′-8″ clearance where the stair meets a floor above.
5
Account for tread thicknessTread material and nosing affect the first and last riser — factor them into your marks.
6
Mind the run you haveMore steps make a gentler stair but need more floor — balance pitch against the space.
7
Verify against local codeAdopted codes vary and inspectors have the final say — confirm and pull a permit.
Questions & answers

Stair calculator FAQ

The step-count, code, stringer, and comfort questions people ask most before laying out a stair.


Divide the total rise, measured finished floor to finished floor, by your target riser height, then round to the nearest whole number. That gives the number of risers (steps). The number of treads is one less, because the top landing isn’t a tread.

For example, a 9-foot (108-inch) rise divided by a 7.5-inch target gives 14.4, which rounds to 14 risers at about 7 11/16 inches each, with 13 treads. The calculator balances the risers so every step is equal.

Under the IRC, the maximum riser height is 7 3/4 inches and the minimum tread depth is 10 inches, measured nosing to nosing. Risers and treads must be uniform, with no more than 3/8 inch variation across the flight.

Local codes can differ and commercial stairs follow different limits, so confirm with your building department. Comfortable residential stairs often use a 7 to 7.5 inch riser with a 10 to 11 inch tread.

The stringer follows the diagonal of the stair, so its length is the square root of the total rise squared plus the total run squared. Total run is the number of treads times the tread depth.

For a 108-inch rise and a 130-inch run, the stringer is roughly √(108² + 130²), about 169 inches, or 14 feet 1 inch. Add length for the top and bottom cuts and any overhang when buying material.

Comfortable stairs usually fall between about 30 and 37 degrees, with 30 to 35 degrees widely considered ideal. Steeper flights up to around 42 degrees are still walkable and often code-legal, but they feel harder to climb.

The angle comes from the rise over the run: a taller riser with a shallower tread gives a steeper stair. The calculator shows the pitch so you can trade comfort against the run you have room for.

The 2R + T rule is a comfort guide: twice the riser height plus the tread depth should land near 24 to 25 inches. It reflects the natural length of a person’s stride going up or down stairs.

A 7.5-inch riser with a 10-inch tread gives 2(7.5) + 10 = 25″, right in the sweet spot. Combinations far outside 24 to 25 inches tend to feel cramped or stretched underfoot.

The IRC minimum stair width is 36 inches above the handrail, and the minimum headroom is 6 feet 8 inches (80 inches), measured vertically from the tread nosing. Handrails typically sit 34 to 38 inches above the nosing.

Wider stairs feel more comfortable and make it easier to move furniture, but 36 inches is the code floor for most residential stairs. Confirm handrail and guard requirements with your local code.

Uniform steps are a safety requirement. People build a rhythm as they climb, and a single odd step is a common trip hazard. The IRC limits the variation between the largest and smallest riser, and tread, to 3/8 inch across a flight.

That’s why the calculator divides the total rise evenly rather than leaving a short step at the top or bottom. Always mark the actual balanced riser, not the target you typed in.

The calculator checks your layout against common IRC residential limits — riser, tread, width, headroom, and the 2R + T comfort range — and flags anything outside them. It’s a planning aid, not a code ruling.

Adopted codes vary by state and city, and inspectors have the final say, so confirm the layout with your building department and have a licensed professional verify it before you cut stringers.

General Estimating Notice: This calculator estimates stair geometry — riser height, tread depth, total run, stringer length, and pitch — and checks it against common IRC residential limits (max riser 7¾″, min tread 10″, min width 36″, min headroom 6′-8″). Adopted building codes vary by location and inspectors have the final say. This is a planning aid only — always confirm the layout against your local adopted code and have a licensed professional verify the final design before cutting stringers. For planning purposes only.

Explore More Construction & Material Tools

44 Calculators

Free construction and material calculators to estimate project costs, calculate quantities, and prevent wasted supplies. Plan your next build with confidence!

Crushed Stone Calculator
Estimate how much crushed stone you need for driveways, patios, or drainage. Use our free Crushed Stone Calculator to determine…
Gravel Calculator
Planning a landscaping project? Calculate your exact gravel needs in yards or tons, estimate project costs, and browse more helpful…
Sand Calculator
Free online Sand Calculator. Estimate your required volume, weight, and project costs instantly to save time and money on your…
Cinder Block Calculator
Calculate the exact number of concrete blocks, amount of mortar, and total project costs you need. Try the Cinder Block…
Mortar Calculator
Calculate accurate brick and mortar mixes for your masonry projects. Use our free Mortar Calculator to estimate materials, costs, and…
Brick Calculator
Calculate exactly how many bricks and how much mortar you need for your wall or patio. Use our free Brick…
Paver Calculator
Calculate exactly how many pavers you need for your patio, driveway, or walkway. Use our free Paver Calculator to get…
Fence Post Calculator
Calculate exactly how many fence posts you need for your property. Use our free Fence Post Calculator to get precise…
Fence Calculator
Calculate how many fence panels, posts, and rails you need instantly. Get precise material and cost estimates for your yard…
Deck Material Calculator
Building a new deck? Instantly calculate required decking materials, framing lumber, and total costs with our free, comprehensive Deck Material…
Deck Board Calculator
Planning a new deck build or renovation? Easily calculate required deck boards and materials with our free online tool. Perfect…
Drywall Screw Calculator
Calculate the precise number of screws and pounds required for your drywall project. Try our free drywall screw calculator to…
Joint Compound Calculator
Plan your next drywall finish with our free Joint Compound Calculator. Quickly estimate material costs and required gallons to budget…
Drywall Calculator
Calculate the exact number of drywall sheets, tape, and compound needed for your walls or ceiling. Try our free drywall…
Metal Roofing Calculator
Estimate your metal roofing costs and material needs instantly. Use our free Metal Roofing Calculator to get precise panel counts…
Shingle Calculator
Estimate how many shingles and bundles you need for your roofing project. Use our free, accurate Shingle Calculator to plan…
Roof Pitch Calculator
Calculate roof pitch, angle, and rise quickly with our free Roof Pitch Calculator. Convert rise and run to find pitch…
Roofing Material Calculator
Calculate roofing materials, bundles, and total project costs easily. Get accurate estimates for your next home improvement project with HomeExpertly.
Span Calculator
Free Joist & Rafter Span Calculator. Determine allowable spans, compare lumber species and spacing, and check bending and deflection limits.
Rebar Calculator
Calculate rebar needs for concrete slabs, footings, and mats. Estimate total lineal feet, steel weight, grid spacing, and stock bar…
Plywood / OSB Sheet Count Calculator
Calculate exact plywood and OSB sheets needed for walls, floors, or roof sheathing. Get instant sheet counts, square footage, and…
Wall Framing / Stud Count Calculator
Calculate exact studs, top and bottom plates, headers, and waste percentage for wall framing projects. Get precise material counts and…
French Drain Estimator
Free French Drain Estimator. Calculate exact gravel volume in cubic yards or tons, pipe length, and total material costs for…
Board Feet Calculator
Free online board feet calculator for woodworking and construction. Compute total lumber volume and project cost instantly with custom or…
Roof Area Calculator
Estimate your total roof surface square footage instantly with our free Roof Area Calculator. Enter your house dimensions and pitch…
Wallpaper Calculator
Estimate exactly how much wallpaper you need with our free Wallpaper Calculator. Input your wall dimensions and pattern repeat to…
Concrete Calculator (volume)
Free Concrete Volume Calculator. Easily estimate concrete yards, meters, or bag counts (40lb–90lb) for slabs and footings. Get instant cost…
Primer Calculator
Estimate exactly how many gallons of primer you need with our free Primer Calculator. Get precise material calculations based on…
Ceiling Paint Calculator
Plan your home renovation budget accurately. Use our free Ceiling Paint Calculator to determine required gallons and material costs for…
Exterior Paint Calculator
Calculate exactly how much exterior paint your house needs. Avoid wasting money on extra gallons with our free, easy-to-use home…
Paint Calculator
Calculate exactly how much paint you need for any room or wall. Try our free Paint Calculator and explore more…
Grout Calculator
Avoid buying too much or too little material. Enter your tile dimensions into our easy Grout Calculator to get instant,…
Underlayment Calculator
How much underlayment do you need? Estimate your exact required rolls, compare material types, and calculate total project and labor…
Carpet Calculator
Wondering how much it costs to carpet a room? Calculate your exact square yards, padding needs, and estimated total project…
Hardwood Flooring Calculator
How much does new hardwood flooring cost? Calculate exact material boxes, wood types, and local installation labor costs instantly with…
Vinyl Flooring Calculator
Streamline your renovation budget with HomeExpertly's free Vinyl Flooring Calculator. Estimate the exact number of boxes required for your project,…
Laminate Flooring Calculator
Accurately plan your flooring project with HomeExpertly's free Laminate Flooring Calculator. Estimate the exact number of boxes required, calculate total…
Tile Calculator
Plan your next renovation with HomeExpertly's free Tile Calculator. Easily estimate the exact number of tiles, material costs, and waste…
Ready Mix Concrete Calculator
Estimate ready-mix concrete volume, truckloads, delivery fees, short-load charges, and total costs with our free Ready Mix Concrete Calculator. Calculate…
Concrete Block Calculator
Calculate the exact number of concrete blocks, mortar, grout, and material costs for your wall project with our free Concrete…
Concrete Wall Calculator
Estimate the concrete needed for basement, retaining, and foundation walls with our free Concrete Wall Calculator. Calculate cubic yards, ready-mix…
Concrete Column Calculator
Easily estimate the exact amount of concrete needed for your round sonotubes or square columns. Calculate cubic yards, bag counts,…
Concrete Footing Calculator
Free Concrete Footing Calculator. Estimate cubic yards, rebar needs, and total concrete bags (40lb–80lb) for square or round piers. Get…
Concrete Slab Calculator
Easily estimate how much concrete you need for any rectangular or square slab project. Get total volume, concrete bag counts,…