Measure from finished floor to finished floor
Minimum 36" for residential (IRC)
Last updated: 2026-03-29
How to Calculate Stair Stringers, Risers, and Treads
I've framed hundreds of stair sets over 20 years. The math is straightforward, but it's the kind of thing where one bad measurement wastes an entire 2x12. This calculator does the layout for you. Plug in your total rise, and it gives you the riser count, actual riser height, tread layout, stringer length, material list, and a cost breakdown.
The number one mistake I see: measuring the total rise wrong. You need the exact distance from finished floor to finished floor (or finished floor to deck surface). Not rough framing. Not subfloor to subfloor. Off by half an inch on total rise and every single riser is off. That is how you end up with a trip hazard at the top or bottom step, and that is how you fail inspection.
Try EstimationPro free to build a full project estimate - including stairs, framing, and materials - in minutes instead of hours.
Inputs you'll need
- Total rise - Vertical distance from finished lower floor to finished upper floor or deck surface (inches)
- Tread depth - Front-to-back dimension of each step (10" minimum per IRC, 11" standard)
- Stair width - Side to side measurement (36" minimum residential)
- Number of stringers - One every 16-18" of width. 3 for a 36" stair.
- Tread material - Affects cost: PT lumber, composite, cedar, or hardwood
IRC Code Requirements at a Glance
| Requirement | IRC Limit | Practical Target |
|---|---|---|
| Max riser height | 7.75" | 7" - 7.5" |
| Min tread depth | 10" | 11" |
| Riser variation | Max 3/8" between any two | Consistent throughout |
| Min stair width | 36" clear | 36" - 42" |
| Headroom | 6'-8" minimum | 7'+ preferred |
| Stringer throat depth | 3.5" minimum | 5"+ preferred |
Worked examples
Example A: Deck stairs, 48" rise (4 ft deck), 11" treads, 3 stringers
- 48" / 7.25" target = 6.6, round to 7 risers
- Actual riser height = 48 / 7 = 6.86"
- Treads = 7 - 1 = 6
- Total run = 6 x 11" = 66" (5.5 ft)
- Stringer length = sqrt(48² + 66²) = sqrt(2304 + 4356) = 81.6" = 6.8 ft (order 8-ft boards)
- Stair angle = atan(48/66) = 36°
- 7-11 check: 6.86 + 11 = 17.86" ✓
Example B: Interior stairs, 108" rise (9 ft ceiling), 11" treads, 3 stringers
- 108" / 7.25" = 14.9, round to 15 risers
- Actual riser height = 108 / 15 = 7.2"
- Treads = 14
- Total run = 14 x 11 = 154" (12.8 ft)
- Stringer length = sqrt(108² + 154²) = sqrt(11664 + 23716) = 188.1" = 15.7 ft (order 16-ft boards)
- Stair angle = atan(108/154) = 35°
Example C: High deck, 72" rise, 10.5" treads, 3 stringers
- 72 / 7.25 = 9.93, round to 10 risers
- Actual riser = 72 / 10 = 7.2"
- Treads = 9, total run = 94.5" (7.9 ft)
- Stringer length = sqrt(72² + 94.5²) = sqrt(5184 + 8930) = 118.8" = 9.9 ft (order 10-ft boards)
Building a deck? Use our deck cost calculator for the full framing and decking estimate, or the joist span calculator for framing layout. For stair railing materials, check the framing cost calculator.
Mistakes that burn you on stair layout
- Measuring to the subfloor instead of the finished floor. If the upper floor gets 3/4" hardwood and the lower floor gets 1/2" tile, your total rise changes by 1/4". That gets divided across every riser and pushes you out of the 3/8" variance limit.
- Forgetting the bottom riser drop. You have to subtract one tread thickness from the bottom of every stringer. Skip this and the first step is noticeably taller than the rest. Every inspector catches it.
- Over-cutting the notches with a circular saw. The blade arc cuts past the corner and weakens the stringer throat. Always stop short and finish with a jigsaw or handsaw. A cracked stringer under load is a serious safety problem.
- Using 2x10 for notched stringers. Once you cut the step notches, there is not enough throat left to meet the 3.5" minimum. Always use 2x12.
- Not checking the framing square. A framing square that is off by even 1/16" compounds across 14 steps. Check your square against a known straight edge before layout.
Stringer cost by material (2026 prices)
| Material | Cost per LF | Best For |
|---|---|---|
| PT 2x12 (stringer) | $2.10 - $3.40 | Exterior/deck stairs |
| PT 5/4x12 (tread) | $2.50 - $4.00 | Deck treads |
| Composite (tread) | $4.50 - $8.00 | Low-maintenance decks |
| Cedar (tread) | $3.50 - $6.00 | Natural look, moderate durability |
| Hardwood oak/maple (tread) | $6.00 - $12.00 | Interior finished stairs |
Stairs are one of those things that look simple until you mess up the layout. I always cut a test stringer first and set it in place before cutting the rest. One wrong mark on the pattern wastes three 16-foot 2x12s. That is $30-50 in lumber for a careless mistake. Measure twice, cut once applies more to stairs than almost anything else on the jobsite.
Ready to estimate your next project? Try EstimationPro free - it builds your estimate, sends the proposal, and follows up with the homeowner automatically so you win more of the bids you already send.
How to Use This Calculator
Measure your total rise
Measure the vertical distance from the finished lower floor to the finished upper floor or deck surface. Use a level and tape measure for accuracy. This is the single most important number in stair layout.
Select tread depth and stair width
Choose your tread depth (10" minimum per IRC, 11" is standard) and set your stair width. Most residential stairs are 36" wide minimum. Wider stairs or decks may need extra stringers.
Set your stringer count and tread material
Pick the number of stringers (3 is standard for 36" stairs) and choose your tread material. Pressure-treated is typical for decks, hardwood for interior stairs.
Review layout and code compliance
Check the riser height, stair angle, and 7-11 rule results. The calculator flags any IRC code violations. Adjust your inputs until the layout passes all checks before you cut.
Stair Stringer Layout Formulas
Number of Risers = Total Rise ÷ Target Riser Height (round to nearest whole number)
Actual Riser Height = Total Rise ÷ Number of Risers
Number of Treads = Number of Risers - 1
Total Run = Number of Treads × Tread Depth
Stringer Length = √(Total Rise² + Total Run²)
Stair Angle = arctan(Total Rise ÷ Total Run) Where:
- Total Rise
- = Vertical distance from finished lower floor to finished upper floor (inches)
- Tread Depth
- = Front-to-back dimension of each step (10" min per IRC, 11" standard)
- Total Run
- = Horizontal distance from the face of the first riser to the face of the last
- Stringer Length
- = Diagonal length of the stringer board before notching
- Stair Angle
- = Angle of the stairway from horizontal (30-37° is comfortable)
Free to Embed on Your Website
Add this calculator to your blog, resource page, or client portal — just copy one line of code. Your visitors get a useful tool, you get more engagement.
EstimationPro AI For Contractors, By Contractors Turn Your Calculations Into a Full Estimate
Go from quick calculations to detailed, line-item estimates your clients will trust.
Frequently Asked Questions
How do I calculate stair stringers?
Start with your total rise (floor to floor, in inches). Divide by your target riser height (7" to 7.5" is ideal) to get the number of risers. Round to the nearest whole number. The actual riser height is total rise divided by that number. Treads = risers minus 1. Total run = treads times tread depth. Stringer length = square root of (total rise squared + total run squared). For a 9-ft (108") rise with 11" treads, you get 15 risers, 14 treads, a total run of 154", and a stringer length of about 15.7 ft.
What is the maximum riser height allowed by code?
The International Residential Code (IRC) sets the maximum riser height at 7.75 inches (7-3/4"). Most inspectors enforce this strictly. The practical sweet spot is 7" to 7.5" per riser. Risers in a single stairway cannot vary by more than 3/8" from tallest to shortest, so accurate measurement and layout are critical. If your rise calculation gives you risers over 7.75", add one more riser to bring the height under the limit.
How many stair stringers do I need?
The rule of thumb is one stringer every 16-18 inches of stair width. For a 36" wide stair: 3 stringers (one on each side plus one center). For 48" width: 4 stringers. Most building codes require stringers no more than 18" apart for 5/4 deck boards and no more than 16" apart for 2x treads. If you are using composite treads, check the manufacturer specs - some need support every 12".
What size lumber do I use for stair stringers?
2x12 is the standard for stair stringers. After you cut the notches for treads and risers, the remaining "throat" of the stringer must be at least 3.5 inches deep (IRC requirement). A 2x12 gives you an 11.25" actual width, leaving enough throat after a 7.5" rise and 11" run cut. Never use 2x10 for notched stringers - the throat gets too thin and the stringer will crack under load.
What is the 7-11 rule for stairs?
The 7-11 rule is a comfort guideline: riser height + tread depth should equal 17 to 18 inches. A 7" riser with an 11" tread gives you 18" - right in the sweet spot. Stairs that fall outside this range feel either too steep (riser too tall, tread too shallow) or too shallow and sprawling (riser too short, tread too deep). The IRC minimum tread depth is 10", and the max riser is 7.75", so the code range naturally overlaps with this rule.
How much does it cost to build stairs in 2026?
A basic exterior deck stair set (3 stringers, pressure-treated lumber, 4-6 steps) runs $200-$500 in materials. Interior stairs with hardwood treads and closed risers cost $800-$2,500+ in materials. Labor for cutting and installing a standard set of stringers runs $150-$500 depending on complexity. Total installed cost for a basic deck stair is typically $400-$1,000, while a full interior staircase can run $2,000-$5,000+.
How do I cut a stair stringer?
Mark the stringer with a framing square using stair gauges set to your riser height and tread depth. Draw the first riser line, then walk the square down the board marking each step. Important: subtract one tread thickness from the bottom riser so the first step equals all the others once the treads are installed. Cut the notches with a circular saw, but stop short of the inside corner. Finish the cut with a handsaw or jigsaw to avoid over-cutting, which weakens the stringer. Always cut a test stringer first and check it in place before cutting the rest.
What is the minimum stair width?
The IRC requires a minimum clear width of 36 inches for residential stairs, measured between the finished walls or guards. This does not include handrail projections - handrails can project up to 4.5" from each side. For a 36" clear width between handrails, the rough stair opening needs to be about 42-44". Exterior deck stairs typically follow the same 36" minimum unless local codes differ.
Do I need to adjust the bottom riser for tread thickness?
Yes. Drop the stringers by the thickness of one tread at the bottom. If you are using 5/4 deck boards (1" actual) or 2x treads (1.5" actual), cut that amount off the bottom of each stringer. Without this adjustment, the first riser will be taller than the rest by the tread thickness, which violates the 3/8" variance rule and will feel wrong underfoot. This is the most common stair-building mistake.
Related Articles
Why Contractors Choose EstimationPro AI
Estimates in 60 Seconds
AI generates detailed, line-item estimates from basic project details. No more hours on spreadsheets.
Accurate Pricing Data
Built on real contractor pricing and industry cost databases, updated for 2026 market conditions.
Professional Proposals
Send polished PDF estimates with your branding. Clients see a professional contractor they can trust.
Get Paid Faster
Built-in invoicing and Stripe payments. Collect deposits and progress payments directly from estimates.
Related Free Tools
Markup Calculator
Calculate your contractor markup, profit margin, and selling price instantly. Enter your costs and desired markup percentage to get accurate pricing.
Labor Cost Calculator
Estimate total labor costs for construction projects. Factor in hourly rates, crew size, project duration, and labor burden for accurate bids.
Painting Estimate
Calculate painting costs for any room or project. Enter room dimensions to get paint quantity, labor hours, material costs, and total estimates.
Square Footage
Calculate square footage for any shape — rectangles, triangles, circles, and complex rooms. Convert between square feet, yards, and meters.
Profit Margin
Calculate profit margin, markup percentage, and net profit for any job. Enter revenue and costs to see gross margin, net margin after overhead, and markup comparison.
Hourly Rate
Calculate your minimum billable hourly rate based on salary goals, overhead costs, billable hours, and desired profit margin.
Burdened Labor Rate
Calculate the true cost of an employee including payroll taxes, workers comp, health insurance, PTO, and benefits. See the burden multiplier and annual cost.
Overhead Calculator
Calculate your overhead rate, total overhead costs, and overhead per job. Enter expenses by category and annual revenue to see your true overhead percentage.