Free DIY calculator

Stair calculator: how many risers, treads and feet of run do my stairs need?

Quick answer: A 9 foot rise with a target riser of 7 and a half inches needs 14 risers at about 7 and 3 quarter inches each, with 13 treads and a total run of 136 and a half inches. The stringer for that stair is about 174 inches long, or about 14 and a half feet. Enter your total rise, target riser and tread depth below and the calculator works out your risers, treads, run and stringer the same way.

A stair calculator turns one measurement — the total rise from finished floor to finished floor — into the whole stair: how many risers, how tall each riser really is, how many treads, how far the stair runs, and how long the stringer board must be. A 108 inch rise with a 7.5 inch target riser needs 14 risers at 7.71 inches each, 13 treads, a 136.5 inch run, and a 174.06 inch stringer. This calculator does that maths for any rise, and checks the result against the building code limits below.

Last updated: November 17, 2026.

Estimate only — check your supplier's current price and local code before ordering.

Tired of chasing manually? Let Invoice Chaser run the day 7, 14 and 30 reminder sequence automatically — free for up to 3 invoices.

Start chasing automatically — free

How do you calculate stairs from total rise?

Four steps, all from your total rise, target riser and tread depth:

Why round risers instead of rounding the riser height? A stair with 14.4 risers cannot be built, so the count must be whole, and the height then follows from the count. The same round-then-check rule is shown in the IRC stair calculator guide, which divides total rise by 7 3/4 inches and rounds up to get the fewest code-legal risers.

What does a 9 foot rise need at a 7.5 inch target riser?

A 108 inch (9 foot) total rise, 7.5 inch target riser, 10.5 inch tread depth:

Build it with 14 risers at 7.71 inches and 13 treads at 10.5 inches, on stringers cut from 2x12 boards at least 174.06 inches long. Check the rise again after the finished flooring goes in, because a thicker floor upstairs changes every riser height at once.

How many risers do different rises need?

Total riseRisersActual riser (in)TreadsTotal run (in)Stringer (in)
72 in (6 ft) rise, 7.5 in target, 10.5 in tread107.2994.5118.8
84 in (7 ft) rise, 7.5 in target, 10.5 in tread117.6410105134.47
96 in (8 ft) rise, 7.5 in target, 10.5 in tread137.3812126158.4
108 in (9 ft) rise, 7.5 in target, 10.5 in tread147.7113136.5174.06
120 in (10 ft) rise, 7.5 in target, 10.5 in tread167.515157.5198.01

The 72 inch row is a short basement or deck stair; the 108 inch row is the worked example; the 120 inch row is a full storey, and it uses the alias input keys to prove the calculator reads them the same way. Every row uses a 10.5 inch tread, so the run grows by one tread each time a riser is added.

How much does it cost to build a straight staircase?

A straight indoor staircase is mostly lumber and labour: two or three 2x12 stringers, a tread and riser board for every step, plus handrail, balusters and newel posts. The worked example needs 14 risers and 13 treads, so count those boards first, then add the rail parts, which often cost as much as the stair itself. Prefinished treads and oak handrail parts cost far more than pine or fir, so the species choice moves the total more than the stair size does.

Labour is the other half. A carpenter building a straight stair on site charges for layout, cutting stringers, fitting treads and risers, and installing the rail, and a stair with a landing, a turn, or a curved rail costs much more than a straight run. Get two or three local quotes with the same riser count and tread size from this calculator, and check whether the quote includes the handrail and the finished flooring at the top and bottom.

Use the stringer length from the calculator above when pricing boards: a 174 inch stringer needs a 16 foot board, not a 14 foot one, and stringers are usually cut from 2x12 lumber. Prices vary by region and species, so treat any national figure as a planning number and price the exact board list at your local yard before ordering.

Embed this calculator on your site

Copy the code below and paste it into any page to embed this calculator.

What do people ask before starting this project?

How many risers do I need for my stairs?

Divide total rise by target riser height and round to the nearest whole number, then check it against the 7.75 inch code maximum. A 108 inch rise divided by 7.5 inches gives 14.4, so use 14 risers at 7.71 inches each. If rounding down pushes a riser over the maximum, add one more riser.

Why are there fewer treads than risers?

The top riser lands on the upper floor itself, so that floor acts as the last tread and no extra board is needed. A stair with 14 risers therefore has 13 treads, and one with 10 risers has 9 treads. Count treads as risers minus one when you order boards, or you will buy one tread too many per flight.

What is the maximum riser height allowed by code?

The International Residential Code caps residential risers at 7 and 3 quarter inches, measured between the leading edges of adjacent treads under section R311.7.5.1. No riser in a flight may be more than 3 eighths of an inch taller than the shortest riser there. Local amendments can be stricter, so check with your building department before cutting.

How long should my stair stringer be?

A stringer is the diagonal of the rise and run triangle, so its length is the square root of total rise squared plus total run squared. For a 108 inch rise with a 136.5 inch run, that is the square root of 30296.25, or 174.06 inches. Buy longer boards, because the top and bottom cuts use up length.

Where do the numbers come from?

What other DIY calculators are there?

See all of them on the DIY material calculators page — one new calculator every day.

More free calculators and generators: Fence calculator · Concrete slab calculator · Mulch calculator · Gravel driveway calculator · Tax set-aside calculator · Freelance rate calculator · Paint calculator · Tile calculator · Freelance platform fee calculator · Project quote calculator · Drywall calculator · Laminate flooring calculator · Concrete block calculator · Deck stain calculator · Hourly-to-salary converter · Fence stain calculator · Concrete mix calculator · Retainer rate calculator · Roofing shingle calculator · Siding calculator · Driveway sealer calculator · Insulation calculator · 1099 vs W-2 calculator · 1099 quarterly tax calculator · Brick calculator · Lumber calculator · Stair calculator · Freelance contract generator · Receipt maker · Late payment demand letter generator · Freelance NDA generator · Asphalt calculator · Wallpaper calculator · Freelance proposal generator · Vinyl plank flooring calculator · Gutter calculator · Freelance scope of work generator · Carpet calculator · Retaining wall calculator · Freelance timesheet calculator · Bulk gravel calculator · Sand calculator · Paver base calculator · Home office deduction calculator · Freelance mileage calculator · Solo 401(k) contribution calculator · Freelance quote generator · Freelance tax deductions calculator · Freelance platform comparison calculator · DIY checklist generator · Freelance rate by profession calculator · How to chase a late payment guide · Free invoice template library by trade · DIY project cost guides · How to write an invoice guide · Late fees in Virginia guide · Late fees in New Jersey guide · Late fees in Oregon guide · Late fees in the District of Columbia guide · Late fees in Mississippi guide · Late fees in Montana guide · Late fees in Nebraska guide · Late fees in Oklahoma guide · All DIY calculators