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.
- Risers: 102 / 7.5 = 13.6, round to 14 risers.
- Actual riser height: 102 / 14 = 7.29 inches, about 7 9/32 inches, the same for every step.
- Treads: 14 - 1 = 13 treads. Total run: 13 x 11 = 143 inches, or 11 feet 11 inches.
- 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.
- Board to buy: the next standard length above the stringer, 16 foot 2x12 boards.
- 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.