Deck Stair Calculator
Enter your deck height and this calculator returns the number of steps, the exact rise per step, total horizontal run, stringer count, and an optional cost estimate — all inside IRC code limits.
Recommended products for this project
As an Amazon Associate we earn from qualifying purchases. Affiliate disclosure.

3 Pack Steel Stair Step Riser, 2-Step Metal Stair Stringer Heavy Duty, Steel Stair Stringer for 20" Height Deck and Outdoor Steps
View on Amazon
4 Pack Stair/Square Gauge Set for Framing Square, Stair Stringer Layout Tool for Circular Saw, Carpentry Squares and Rafter Layout, Aluminum Alloy Stair Gauge Tool(Gold)
View on Amazon
Egadis 36 in. H x 6 ft. W Porch and Deck Railing Kit, Aluminum Stair Railing Kit, Black Textured AAMA 2604 Powder-Coat Finish Modular Rail System for Concrete Steps or Wooden Stairs (1 Post, 1 Panel)
View on Amazon
Fasteners RSS 5/16 x 4 Inch, Structural Screws, 100 PCS, Rust Resistant Climatek Coating, Heavy-Duty Framing & Decking Screws, Fast Bite Tip, Star Drive Recess, T-30 Bit Included, Gold
View on AmazonThe rise-and-run rules that govern every deck stair
Deck stairs are the most code-scrutinized part of a deck, and the reason is simple: uneven steps cause falls. The IRC (section R311.7) caps the riser height at 7-3/4 inches, sets a minimum tread depth of 10 inches, and — the rule most DIY builds fail — requires that the largest and smallest riser in a flight differ by no more than 3/8 inch. That last one is why you never "eyeball" the bottom step. You divide total height by the number of steps and accept whatever decimal you get, then cut every stringer from a single template.
Steps by deck height
| Deck height | Steps | Rise per step | Treads | Total run (10-1/2" treads) |
|---|---|---|---|---|
| 14" | 2 | 7.00" | 1 | 10.5" |
| 21" | 3 | 7.00" | 2 | 21" |
| 28" | 4 | 7.00" | 3 | 31.5" |
| 36" | 5 | 7.20" | 4 | 42" |
| 42" | 6 | 7.00" | 5 | 52.5" |
| 54" | 8 | 6.75" | 7 | 73.5" |
| 72" | 10 | 7.20" | 9 | 94.5" |
| 96" | 13 | 7.38" | 12 | 126" |
Measuring total rise correctly
Total rise is measured from the finished deck surface to the finished landing surface — not to the dirt. If you're pouring a 4-inch concrete pad, that pad's top is your zero point. Get this wrong and every riser is off. Run a level string from the deck out past the stair location, measure down to the landing, and use that number. Then remember the bottom stringer gets its bottom cut shortened by one tread thickness so the first step isn't taller than the rest.
How many stringers, and how far apart
Stringer spacing is limited by the tread material's ability to span. Two 2×6 treads span 36 inches comfortably, so a 36-inch stair needs three stringers. A 48-inch stair needs four. Composite treads are the exception: nearly every manufacturer requires stringers no more than 12 inches on center for stair treads because composite is far less stiff than wood — a 48-inch composite stair often needs five stringers. Check your specific brand's install guide before you cut.
Landings, guards, and handrails
Three requirements catch homeowners at inspection. First, a landing at the bottom that's at least as wide as the stair and 36 inches deep in the direction of travel — packed gravel doesn't count, use concrete or pavers. Second, a guardrail on any stair with more than 30 inches of drop, with balusters that block a 4-3/8 inch sphere. Third, a graspable handrail 34-38 inches above the tread nosing on any flight with four or more risers, returned to a post or wall at both ends. Once your stringers are sized, run the tread material through the stair stringer calculator and price the guard with the deck railing calculator.
Get the Smart Decking Calculator app
Estimate decks on the go, save projects, and share with contractors.
Building something else? Try our sister calculators
Smart Fencing Calculator
Estimate fence cost by material and linear footage.
Smart Roofing Calculator
Free roof replacement cost estimates by material.
Smart Drywall Calculator
Android app — drywall sheets, mud, and tape estimates.
Smart Fencing Calculator
Android app — fence cost estimates on the go.
Frequently asked questions
- How many steps do I need for a 42-inch high deck?
- Six steps at exactly 7 inches of rise each. That gives five treads and a total run of about 52 inches with 10-1/2 inch treads. The sixth 'step' is the deck surface itself.
- What is the maximum rise for deck stairs?
- The IRC allows a maximum riser height of 7-3/4 inches for residential stairs and a minimum tread depth of 10 inches. All risers on one flight must be within 3/8 inch of each other.
- How many stringers do I need for deck stairs?
- Three stringers minimum for stairs up to 36 inches wide with 2x treads, four for 42-48 inch stairs, and five for 60-inch stairs. Composite treads need 12-inch spacing, which means more stringers.
- Do I need a landing at the bottom of deck stairs?
- Yes — the IRC requires a landing at least as wide as the stairs and at least 36 inches deep in the direction of travel. A 4-inch concrete pad or paver landing satisfies this and keeps the stringers off the soil.
- Are box steps cheaper than stringer stairs?
- For two or three steps, box steps (stacked frames) usually cost less and build faster. Above about 30 inches of total height, cut or pre-made stringers are cheaper and stronger.


