Deck Stair Calculator
Risers, treads, stringer count, and tread or riser board counts for residential deck stairs. IRC code compliance check built in. Same stair geometry as the main Stair Calculator, with deck-board extras.
Results
Estimates only. Stringer count assumes 5/4 deck boards which require ≤ 16″ unsupported spans. 2× decking can sometimes go to 24″ stringer spacing. Check IRC R311.7.5 and your local code before building.
IRC Code Compliant
All inputs fall within IRC residential stair limits.
How to use this calculator
- 01Measure deck height: vertical distance from finished grade to the top of the deck surface. Most residential decks are 24 to 48 inches (61-122 cm) above grade.
- 02Set the target rise per step. 7 inches (18 cm) is the comfort target, and IRC max is 7.75 inches (19.7 cm). The calculator rounds to a whole number of risers and computes the actual rise to fit your deck height evenly.
- 03Tread depth at 11.25 inches (28.5 cm) matches two 5/4×6 deck boards laid side by side. Stair width 36 inches (91 cm) is the IRC minimum. 42-48 inch (107-122 cm) widths feel more comfortable.
- 04Stringer spacing 16 inches (40 cm) on center matches IRC R311.7.5 for 5/4 deck boards. 2× decking can stretch to 24 inches (60 cm). Verify with your local code.
Standard deck stair reference
Common deck heights with risers, treads, and total run computed at 7.5 inch (19 cm) target rise and 11.25 inch (28.5 cm) tread depth.
| Deck Height | Risers | Treads | Total Run (in) |
|---|---|---|---|
| 24″ (2.0 ft) | 3 | 2 | 22.5″ |
| 36″ (3.0 ft) | 5 | 4 | 45.0″ |
| 48″ (4.0 ft) | 6 | 5 | 56.3″ |
| 60″ (5.0 ft) | 8 | 7 | 78.8″ |
| 72″ (6.0 ft) | 10 | 9 | 101.3″ |
Frequently asked questions
How to calculate stairs for a deck?
Divide deck height by target rise per step and round to the nearest whole number for the riser count. Treads are always one less than risers because the deck surface itself counts as the top step. Total run = treads × tread depth. Stringer length = √(rise² + run²) by Pythagorean theorem. For a 36 inch (91 cm) deck at 7.5 inch (19 cm) target rise with 11.25 inch (28.5 cm) tread: 36 ÷ 7.5 = 5 risers, 4 treads, total run = 4 × 11.25 = 45 inches (114 cm). The calculator above handles this and adjusts actual rise to fit evenly.
How many steps for a 4 foot high deck?
A 48 inch (122 cm) deck at a 7.5 inch (19 cm) target rise gives 6 risers and 5 treads. Actual rise per step = 48 ÷ 6 = 8 inches (20 cm), slightly above the IRC max of 7.75 inches (19.7 cm), so most builders bump up to 7 risers (6.86 inch / 17.4 cm actual rise) for code compliance. With 11.25 inch (28.5 cm) treads, total run = 5 × 11.25 = 56.25 inches (143 cm). The calculator above lets you tune target rise until you hit a compliant configuration.
How many stair stringers do I need for a deck?
Stringer count depends on stair width and deck board grade. For 5/4 deck boards (the common residential thickness), IRC R311.7.5 caps unsupported span at 16 inches (40 cm). So a 36 inch (91 cm) wide stair needs 4 stringers (12 inch / 30 cm spacing). For 2× decking, you can stretch to 24 inch (60 cm) spacing and use 3 stringers. Wider stairs (48+ inch / 122+ cm) always need 4 or more. The calculator uses ceil(width / max-spacing) + 1 to compute the count.
What's the difference between deck stairs and interior stairs?
Geometry math is identical (rise, run, and stringer all use the same formulas), but deck stairs face the weather: pressure-treated stringers, decking-grade treads, exterior fasteners, drainage gaps between tread boards. Closed risers are optional outdoors (most decks use open risers, with an air gap between treads), which changes the IRC story slightly. Interior stairs always have closed risers and tighter rise tolerances. The calculator handles deck-specific outputs (stringer count, tread and riser board counts) that the main Stair Calculator doesn't.
How do I attach deck stairs to the rim joist?
Two common approaches. (1) Notched stringers fastened directly to the rim joist with structural screws. Simple, but the cuts weaken the stringer. (2) Flush-cut stringers attached with stair stringer hangers (Simpson LSCZ or similar). Hangers are stronger and code-preferred for tall stairs (>3 ft / 91 cm). Either way, fastening has to transfer load into the deck framing, not just the rim joist face board. Pre-drill stringer cuts to prevent splitting in pressure-treated lumber.
Do deck stairs need their own footings?
Yes. Every stringer needs to land on a stable, code-compliant footing at the bottom. Concrete pads (pre-cast or poured), concrete piers below frost line, or a concrete-set anchor in a dedicated footing. The IRC requires footings to extend below the local frost line (varies 0-48 inches / 0-122 cm depending on climate). The Deck Footing Calculator handles concrete volume for stair landings (link below).
Are deck stairs IRC code compliant?
Same residential limits as interior stairs: maximum riser 7.75 inches (19.7 cm), minimum tread 10 inches (25.4 cm), minimum width 36 inches (91 cm), maximum angle ≈ 39°. Risers must be uniform within 3/8 inch (1 cm) tolerance, since uneven risers cause trips. Outdoor stairs over 30 inches (76 cm) above grade also need a graspable handrail on at least one side. The calculator flags any input that exceeds these limits.
What size lumber for deck stair stringers?
2×12 pressure-treated is the standard. Anything smaller doesn't leave enough wood after notching the steps. After cutting the rise/run notches, a 2×12 (actual depth 11.25 inch / 28.5 cm) leaves about 5 inches (13 cm) of solid wood at the throat (bottom of each notch), which the IRC requires for adequate strength. 2×10 stringers are sometimes used for short stairs (2-3 risers), but you have to verify throat depth meets code.
How long should my deck stair stringers be?
Deck stringers depend on deck height and stair angle. For a 36-inch deck (90 cm, 3 feet up) at a typical 35-degree angle, you need about 60 inches (152 cm, 5 feet) of stringer length, plus 6-12 inches (15-30 cm) for attachment and cuts. For a 48-inch deck (122 cm), plan for an 80 inch (203 cm) stringer plus extras. Most residential decks under 4 feet (122 cm) need 8-foot 2×12 stringers. Decks 4-7 feet (122-213 cm) need 10 to 12-foot stringers. The calculator above gives exact stringer length. Add a buffer for cuts and attachment hardware.
How much does it cost to build deck stairs?
DIY for a 3-step (36 inch / 91 cm rise) stair runs about $80-150 in materials: 3-4 stringers ($60), tread and riser boards ($40), fasteners and hangers ($20). Pro labor adds $300-600 for a typical residential deck stair. Tall stairs (5+ ft / 1.5+ m) and wider configurations scale linearly. Concrete footings add $15-30 each (about 3 footings minimum). The Deck Footing and Deck Stain calculators handle related costs.
Can I use this calculator with metric measurements?
Yes. Pick Metric in the unit selector at the top of the calculator and inputs switch to centimeters. Deck heights in cm, target rise and tread depth in cm, stair width in cm, stringer spacing in cm. All output dimensions display in metric too. Common conversions: 36 inch deck = 91 cm, 7 inch rise = 18 cm, 11 inch tread = 28 cm. Your unit choice sticks across pages and tabs via localStorage.
Related calculators
Stair Calculator
Rise, run, stringer length, and IRC compliance for residential and interior stairs. Same underlying math.
Deck Footing Calculator
Concrete volume and bag count for deck post footings and stair landing footings.
Deck Calculator
Deck boards, joists, and fasteners for the framing your stairs attach to.