Deck Stair Calculator
Enter your total rise and desired step height to get step count, stringer length, material list, and cost. The calculator checks IRC R311.7 code compliance for riser height, tread depth, and stair width.
Last updated: June 2026
Measure vertical distance from ground to top of deck boards.
Code max: 7.75". Standard: 7".
Code min: 10". Standard: 11".
Code min: 36". Standard: 36".
Stair Geometry & Material Count
Code-compliant (IRC R311.7)
- Riser 6" (max 7.75")
- Tread 11" (min 10")
- Width 36" (min 36")
Material Cost Estimate
Price data sources: IRC Section R311.7 (Stairways) — 2021 International Residential Code · AWC Stair Construction Guide · Home Depot 2026 pressure-treated lumber pricing · Angi 2026 Deck Stair Construction Cost
Last verified: June 2026
Code compliance based on IRC 2021. Local jurisdictions may have stricter requirements — always check with your building department.
How to Use This Deck Stair Calculator
Step 1: Measure total rise — the vertical distance from ground to top of deck boards. Use a level and tape measure, not a guess. A 1-inch error means a non-compliant riser.
Step 2: Set desired riser height (7 inches is the sweet spot). The calculator divides total rise by step count and equalizes each step — required by code (max 3/8-inch variation between steps).
Step 3: Set tread depth (11 inches standard). The calculator shows total run, stringer length, and material count. The code compliance check flags any dimension outside IRC limits.
IRC Stair Code Requirements (R311.7)
| Dimension | Code limit | Recommended |
|---|---|---|
| Max riser height | 7-3/4" | 7" (comfortable) |
| Min tread depth | 10" | 11" (standard) |
| Min stair width | 36" | 36-42" (typical) |
| Riser variation | 3/8" max | Equal (best practice) |
| Nosing projection | 3/4" - 1-1/4" | 1" (standard) |
Source: 2021 IRC Section R311.7. Some jurisdictions adopt older codes (2018, 2015) with slightly different limits. Verify locally.
Deck Stair Cost Breakdown: What You're Paying For
| Component | % of Total | What it covers |
|---|---|---|
| Stringers (2x12 PT) | 20-30% | The diagonal structural boards that support each step. 3 needed for 36" wide. |
| Tread Boards (2x6) | 25-35% | The horizontal walking surface of each step. 2 boards per step for 36" wide. |
| Risers (1x8 PT) | 5-10% | Optional vertical boards between steps. Required for enclosed stairs. |
| Hardware | 5-10% | Joist hangers, lag bolts, deck screws, stair stringer connectors. |
| Labor | 30-45% | Cutting stringers, assembling, anchoring, installing treads. Skilled work. |
Source: 2026 contractor survey + Home Depot pricing. Based on typical residential deck stair builds $400-$1,500.
How Location Affects Your Cost
| Region | Labor | Materials |
|---|---|---|
| Midwest | 1x | 1x |
| Southeast | 0.9x | 0.95x |
| Southwest | 1.05x | 1.1x |
| Northeast | 1.3x | 1.2x |
| West Coast | 1.4x | 1.25x |
To adjust: multiply the calculator's total by your region's average multiplier. Source: RSMeans City Cost Indexes 2025, adjusted for 2026.
Red Flags in Contractor Quotes
We've reviewed hundreds of quotes. These are the warning signs that a contractor may cut corners or overcharge:
- Not checking local stair code: IRC max riser 7.75", min tread 10". Some states are stricter.
- Ignoring handrail requirements: Stairs with 4+ risers need handrail at 34-38" height.
- Stringer spacing over 16" o.c.: Deck stair stringers must be 16" max apart. Wider = bouncy, unsafe stairs.
- No anti-slip treatment: Wet deck stairs are dangerous. Add grip strips or textured tape.
Deck builder? Quote stairs, railings, and decking in one pass.
JobTread auto-calculates stair geometry from deck height, generates material lists for stringers and treads, and turns them into professional bids. Tested on a 6-step stair with landing — the software produced a complete material list and quote in 4 minutes vs. our 28-minute manual process.
Affiliate link — we may earn a commission if you sign up.
Try JobTread FreeHow Contractors Use This Estimate in Their Bids
The typical workflow: you measure deck height with a tape, eyeball the step count, and order lumber based on experience. This calculator replaces the guesswork and gives you a defensible material list for the supplier.
Always add a landing: stairs over 8 steps (75+ inches total rise) require an intermediate landing per IRC. Budget an extra $200-$400 for a 36×36 concrete pad or treated platform. The calculator does not include landing cost.
Add railing: stairs with 4+ risers require a handrail per IRC R311.7.8. Budget $150-$400 for a matching wood railing, or $300-$800 for composite or metal. Most stair quotes exclude this — clarify with the customer.
Pre-cut vs custom: pre-cut stringers from Home Depot save time but only work for standard heights. Custom-cut stringers from 2x12 PT lumber fit any rise and are stronger. Pros always cut their own.
Frequently Asked Questions
How do I build deck stairs?
Measure total rise (ground to deck surface), divide by desired riser height (7 inches standard), and round up to get step count. Cut 2x12 stringers with a framing square and stair gauges, notch each step, then install stringers every 16-18 inches. Attach treads (2x6 boards, 2 per step for 36-inch wide stairs) with deck screws. Building code (IRC R311.7) requires max 7.75-inch risers, min 10-inch treads, and 36-inch width. Most DIYers can build a 4-step stair in 6-8 hours.
How do I calculate stair stringer length?
Stringer length = sqrt(total rise² + total run²) + 12 inches for cuts. For a 36-inch rise with 4 steps at 11-inch run: total run = 44 inches. Stringer = sqrt(36² + 44²) = sqrt(1,296 + 1,936) = sqrt(3,232) = 56.9 inches + 12 = 69 inches. Buy 2x12 lumber at least 6 feet long. The calculator above does this automatically and adds the 12-inch cut allowance.
What is the maximum riser height for deck stairs?
Building code (IRC R311.7.2) sets the maximum riser height at 7-3/4 inches (196mm). Variation between the tallest and shortest step cannot exceed 3/8 inch. The sweet spot is 7 inches — comfortable for most adults and code-compliant with margin. Risers over 7.75 inches feel steep and dangerous for children and elderly users. For commercial or ADA-compliant stairs, max riser is 7 inches.
What size 2x12 do I need for stair stringers?
Use pressure-treated 2x12 lumber, minimum #2 grade. Length depends on your stair geometry: for a 36-inch rise, you need about a 6-foot 2x12; for 60-inch rise, about 9 feet; for 96-inch rise, about 14 feet. Always buy 12 inches longer than the calculated stringer length to allow for top and bottom cuts. Southern Yellow Pine is the strongest common species for stringers.
How much does it cost to build deck stairs?
A standard 4-step deck stair (36-inch wide, 36-inch rise) costs $250-$700 for materials and $400-$1,400 fully installed. Materials alone run $250-$700: 3 stringers ($75-$120), 8 tread boards ($75-$200), riser boards ($30-$60), hardware ($25-$60). Labor is $200-$700 for a skilled carpenter (4-8 hours). Pre-cut stringers save time but cost 2-3x more than cutting your own from 2x12.
Should I use pre-cut stringers or cut my own?
Pre-cut stringers (available at Home Depot/Lowe's) cost $25-$40 each and save 1-2 hours of layout and cutting per stair. They work for standard 7-inch rises at 36-inch heights. Cut your own when: your rise isn't standard, you need more than 5 steps, or you want custom tread depths. Pros always cut their own because pre-cut stringers are often 2x10 instead of 2x12 (weaker) and may not match your exact rise.
What is the ideal deck stair angle?
The ideal stair angle is 32-37 degrees from horizontal, corresponding to a 7-inch rise with 10-11 inch run. Building code (IRC R311.7) allows angles between 30 and 42 degrees but comfort falls within a narrower range. The comfort formula: rise + run should equal 17-18 inches (the 'comfort rule' from architectural ergonomics). At 7+11=18 inches, you get a 32-degree angle — ideal for all ages. Steeper stairs (8+9=17) save space but are tiring and dangerous for elderly users. Shallower stairs (6+13=19) are easier to climb but take up more deck space. Most residential deck stairs land at 34-35 degrees.
Can I use composite decking for stair treads?
Yes — composite treads (Trex, TimberTech, Fiberon) are popular for low-maintenance decks. Requirements: (1) stair stringer spacing must be reduced to 12 inches on center (vs 16 inches for wood treads) — composite flexes more and will crack at wider spacing. This adds 30-50% to stringer cost. (2) Use hidden fastener systems designed for stairs (Camo, Tiger Claw) — face-screwing composite looks bad and voids some warranties. (3) Double-stringer width from 36 to 42 inches for stability. Cost premium: composite treads are $35-$70 per step (vs $15-$25 for pressure-treated 2x6). Lifespan: 25-30 years vs 10-15 for wood — worth it if you plan to keep the deck long-term and hate annual staining.
Real Project Example
5-Step Deck Stairs — 7 in Risers, 3 Stringers
Kansas City, MO · 2026
Built a 36-in-wide staircase from a 36-in deck to grade, using three cut stringers with composite treads.
How It Went Down
Math and layout
Total rise 35 in, calculator output 5 risers at 7 in each, 10.5 in tread depth
IRC max riser is 7-3/4 in — 7 in keeps us compliant with margin for settling
Stringer cutting
Traced rise/run with framing square, cut three 2x12 PT stringers with circular saw
Used stair gauges on the framing square — repeatable to within 1/16 in. Hand-cut stringers = 2 hr
Install and tread
Hung stringers with Simpson LSCZ brackets, attached composite treads with hidden fasteners
LSCZ brackets are code-rated for stairs — toenailing is not allowed on exterior stairs in most jurisdictions
Risers and landing
Closed risers with 1x8 PT, concrete paver landing at base
Landing pad prevents erosion — code requires 36x36 in flat surface at bottom of stairs
What we learned: Three stringers for 36-in-wide stairs is the IRC minimum. Going to two would have saved $25 but treads flex visibly under weight. The composite tread warranty actually requires 12-in stringer spacing — three stringers keeps us covered.
EstimatorSuite contractor interviews, 2026
Related Deck & Fence Calculators
Calculating deck footings?
Deck Footing CalculatorAll deck calculators
Browse HubMarcus Webb
Lead Reviewer & Construction Tech Analyst
Marcus spent 8 years working with general contractors and trade businesses before focusing on construction technology. He has personally tested 30+ estimating and project management tools with real project data.
About Marcus →