Concrete & Masonry

Stair Calculator

Work out riser height, tread run, stringer length and step count for a straight stair run.

Last updated October 23, 2026. Every result below shows the formula behind it, so you can double check the math.

Formula shown Worked example included Free to use

Stair Riser, Tread and Stringer Calculator

Enter the floor to floor rise and your target step size. The calculator sets an even riser height and checks the comfort rules.

in
in

Your Estimate

0 risers (steps up)
Actual riser height-
Treads-
Total run-
Stringer cut length-
Stringer board to buy-
Comfort check, 2R + T-
Comfort check, R + T-

Planning guidance only. Stair dimensions are regulated: confirm riser, tread, headroom, handrail and landing rules with your local building code and inspector before you build. Stringers for most homes are cut from 2x12 boards.

The Formula Behind This Calculator

Risers = round (total rise / target riser height)

Actual riser height = total rise / risers, always even across the flight

Treads = risers - 1, total run = treads x tread run

Stringer length = square root of (total run squared + (total rise - riser height) squared)

Stair math has one non negotiable idea: risers must be identical. You never build thirteen risers at your target height and one short one at the top, even though that is what the raw division suggests. Instead you pick the riser count nearest your target, then divide the total rise by that count to get the true riser height every step will share. There is always one fewer tread than risers, because the upper floor itself is the last tread. The stringer length is plain geometry on the triangle the stair makes, measured to the point where the last tread meets the upper floor, which is one riser below the top.

Worked Example: An 8 Foot Ceiling Basement Stair

A basement stair has a measured floor to floor rise of 102 inches (an 8 foot ceiling plus the floor structure above it). You target a 7.5 inch riser and an 11 inch tread.

  1. Risers: 102 / 7.5 = 13.6, round to 14 risers.
  2. Actual riser height: 102 / 14 = 7.29 inches, about 7 9/32 inches, the same for every step.
  3. Treads: 14 - 1 = 13 treads. Total run: 13 x 11 = 143 inches, or 11 feet 11 inches.
  4. Stringer length: square root of (143 squared + (102 - 7.29) squared) = square root of (20,449 + 8,970) = about 171.5 inches, roughly 14 feet 4 inches.
  5. Board to buy: the next standard length above the stringer, 16 foot 2x12 boards.
  6. Comfort: 2R + T = 2 x 7.29 + 11 = 25.6 inches, inside the 24 to 26 comfort band. R + T = 18.3 inches, inside the 17.5 to 18.5 band. This stair will feel right.

Try a total rise of 120 inches in the tool and the riser count steps to 16 with a riser of exactly 7.5 inches and a run of 165 inches. Watching where the run lands matters, because headroom over the lower steps is set by where the stair passes the floor opening, and that check belongs in your plan before any lumber is cut.

A Complete Guide to Planning Stairs That Feel Right

Stairs are the most regulated and least forgiving thing a homeowner can frame. A deck can be a quarter inch out and nobody knows. A stair with one riser a half inch proud will trip someone within a month, reliably, in the dark. This guide covers the measurement, the comfort rules behind the numbers, and the layout habits that produce an even flight.

Measure the Rise Twice, From Finished Surfaces

Total rise means finished floor to finished floor. If the upper floor will gain 3/4 inch of hardwood and the lower floor is still bare concrete that will get tile, both of those thicknesses belong in the measurement, or every riser inherits the error. Measure with a long level or a story pole marked directly, and measure at both ends of the stairwell if the house is old: floors that slope can make the rise different at the two stringers, and you build to the average with the landing framing absorbing the rest. Write the rise on the wall at the top of the stairs. Every layout decision flows from that one number, and memory is not a storage medium you can trust across a weekend project.

Comfort Rules and Code Limits

Two traditions govern stair feel. The Blondel formula, 2R + T between 24 and 26 inches, comes from the length of a human stride adjusted for climbing. The R + T check, 17.5 to 18.5 inches, catches proportions the other misses. US residential codes then draw hard lines around the comfort zone: risers no taller than 7 3/4 inches, treads no shallower than 10 inches, and no more than 3/8 inch variation between the tallest and shortest riser in a flight. Headroom must clear 6 feet 8 inches measured vertically from the tread nosings. The calculator shows both comfort sums live so you can adjust the target riser or tread and watch a design move inside the bands before checking your local code for the final word.

Laying Out and Cutting Stringers

A framing square with stair gauges is still the fastest accurate layout tool: set one leg to the riser height, the other to the tread run, and walk it down the edge of a straight 2x12, marking each step. Two cuts are easy to miss. The bottom riser must be shortened by the thickness of the tread material, or the first step stands that much taller than the rest. And the stringer drops by the same logic anywhere it lands on a surface that is not the finished floor the rise was measured from. Cut one stringer, test fit it, and check every riser against the story pole before using it as the template for the others. For most residential spans, three stringers (or two with a wall side carriage) keep treads from flexing, spaced no more than about 16 to 18 inches apart under the tread span.

What Stair Materials Cost in 2026

As of October 2026, based on national retail pricing, a 16 foot 2x12 for stringers runs about $30 to $45, oak tread blanks about $25 to $45 each depending on width, and pine treads about half that. Riser boards, balusters and a handrail commonly add $15 to $40 per step for a finished look, and a full decorative stair can pass $100 per step in trim alone. For the 14 riser example, framing lumber and basic treads land around $300 to $600, while a hired finish stair build from published surveys commonly runs $1,500 to $3,500 for a straight flight. None of this changes the math above, but it explains why getting the stringer layout right on scrap first is a tradition among people who pay for their own mistakes.

Final Checks Before You Cut

  • Recompute the actual riser height from the final riser count and mark it on a story pole, then check the pole against the real floors.
  • Verify headroom along the whole flight, especially where the stair passes the floor opening edge.
  • Confirm the total run fits the space with room for the landing and door swings at both ends.
  • Reduce the bottom riser by the tread thickness and account for finished floor build up at both levels.
  • Have the plan checked against local code before framing. Stairs are a common inspection failure and a hard one to retrofit.

Frequently Asked Questions

What is the standard riser height and tread depth for stairs?

Residential codes in the US commonly cap riser height at 7 3/4 inches and set a minimum tread depth of 10 inches, measured nosing to nosing. Comfortable stairs usually land a little inside those limits: risers around 7 to 7.5 inches and treads of 10.5 to 11 inches. Consistency matters more than the exact numbers: codes also require that the tallest and shortest risers in a flight differ by no more than 3/8 inch, because your legs learn the rhythm and trip on the exception.

What is the 2R plus T rule for stairs?

It is the traditional comfort formula: twice the riser height plus the tread depth should total about 24 to 26 inches, matching the rhythm of an average adult stride shortened by climbing. A related check, riser plus tread, should land near 17.5 to 18.5 inches. Stairs that satisfy both feel easy and safe. Stairs far outside them feel wrong even when they pass code: a 6 inch riser with a 14 inch tread feels like a ramp with bumps, and an 8 inch riser with a 9 inch tread feels like a ladder.

How do I measure the total rise?

Measure from the surface of the lower finished floor to the surface of the upper finished floor, not to the subfloor or the top of a joist. Use a story pole or a level and tape, and measure in two places if the floors are old and may be out of level. Every error here lands in the risers: a half inch mistake across 14 risers is small per step only if you divide the true total by the step count, which is exactly what this calculator does. Always divide the measured total rise by the final riser count to get the actual riser height, and cut to that, not to the target you started with.

How many steps do I need for a 9 foot ceiling?

A 9 foot ceiling usually means a floor to floor rise around 9 feet 10 inches to 10 feet once the floor structure is counted, roughly 118 to 120 inches. At a target riser of 7.5 inches that is 16 risers, giving an actual riser height near 7.4 inches and 15 treads. The run at 11 inch treads is about 13 feet 9 inches, which is why second story stairs so often need an L shape with a landing: a straight run of that length plus headroom does not fit many floor plans.

How long a board do I need for stair stringers?

The stringer runs diagonally from the bottom floor to the top floor edge, so its length is the hypotenuse of the total run and the total rise minus the top riser. For the worked example here, a rise of 102 inches and a run of 143 inches, the cut stringer measures about 172 inches, roughly 14 feet 4 inches, so you buy 16 foot 2x12 boards to have layout and trimming room. Always buy the next standard length above the computed one: stringers are laid out along the board edge, and end defects or a miscut line leave no recovery on an exact length board.

Related Calculators

Planning only: our calculators give careful estimates based on the numbers you enter and standard material coverage rates. Actual quantities and prices vary by product, region and installer. Get two or three local quotes before you commit to a project. See the full Disclaimer.