Deck Stair Calculator
Calculate the number of steps, stringer length, treads, and risers for deck stairs. Get material lists with cost estimates.
How to Calculate Deck Stairs
Deck stair calculations start with the total rise, which is the vertical distance from the ground to the top of the deck surface. Divide the total rise by the ideal riser height of 7.5 inches to find the number of risers. The number of treads is always one fewer than the number of risers because the deck surface acts as the top tread. Multiply the number of treads by the standard tread depth of 10.5 inches (two 2×6 boards with a gap) to get the total run. Use the Pythagorean theorem to find the stringer length from the total rise and total run.
Building Code Requirements
Most building codes follow the International Residential Code (IRC) for deck stairs. Understanding these requirements before you build will help your project pass inspection and keep your stairs safe.
- Riser height: Must be between 7 and 7.75 inches, with no more than 3/8-inch variation between the tallest and shortest riser in the same staircase.
- Tread depth: Minimum 10 inches from nosing to nosing.
- Stair width: Minimum 36 inches clear width. Stairs up to 36 inches wide require at least 3 stringers.
- Railing: Required when the total rise exceeds 30 inches (approximately 4 steps). Railing height must be 34 to 38 inches measured from the stair nosing.
- Handrail: Must be graspable with a diameter between 1.25 and 2 inches.
- Baluster spacing: No more than 4 inches between balusters so a 4-inch sphere cannot pass through.
Stringer Layout Guide
Stringers are the angled structural boards that support each step. Use 2×12 pressure-treated lumber for all stringers, regardless of the tread material you choose. Mark the rise and run on a framing square with stair gauges, then trace the notch pattern along the full length of the board. The throat depth (the narrowest point of the stringer after cutting) must be at least 3.5 inches for structural integrity. Attach the top of each stringer to the deck rim joist with joist hangers, and rest the bottom on a concrete landing pad.
Tread Material Comparison
| Material | Cost per Board | Maintenance | Lifespan |
|---|---|---|---|
| Pressure-Treated Lumber | $6 – $15 | Requires stain or sealer every 1–2 years | 10 – 15 years |
| Composite | $12 – $35 | Virtually maintenance-free; periodic cleaning only | 25 – 50 years |
| Cedar | $8 – $22 | Seal every 2–3 years; naturally rot-resistant | 15 – 20 years |
For a deeper look at the trade-offs between materials, see our composite vs wood decking comparison. If you are building or resurfacing an entire deck, use the decking calculator to estimate boards for the deck surface itself.
Landing Pad Requirements
Every set of deck stairs needs a solid landing at the bottom. Most codes require a landing pad at least 36 inches deep (measured from the last riser) and as wide as the staircase. A 4-inch-thick concrete pad on a gravel base is the most common solution. Use our concrete calculator to estimate how much mix you need. In cold climates, the footing beneath the pad may need to extend below the frost line.
Frequently Asked Questions
A 4-foot (48-inch) deck typically requires 6 risers and 5 treads. Dividing 48 inches by the ideal 7.5-inch riser height gives about 6.4, which rounds to 6 risers at an actual height of 8 inches each. The top step is the deck surface itself, so you build 5 treads. The total run will be approximately 52.5 inches (about 4 feet 4.5 inches) from the deck to the landing pad.
Building codes require each riser to be between 7 and 7.75 inches tall, with 7.5 inches being the most comfortable target. The minimum tread depth is 10 inches, and a standard tread made from two 2×6 boards with a small gap gives about 10.5 inches. The rise-plus-run rule of thumb says the riser height plus tread depth should equal roughly 17 to 18 inches for a comfortable stride.
In most jurisdictions, yes. Deck stairs are considered a structural component and typically require a building permit, especially if the deck itself required one. The permit process usually involves submitting a plan showing riser heights, tread depths, railing details, and footing specifications. Inspections may be required at the footing stage and after completion. Check with your local building department for specific requirements.
The minimum code-required width for deck stairs is 36 inches. For a more comfortable staircase, 48 inches allows two people to pass. Stairs wider than 48 inches create a grand entrance feel but require additional stringers for support. A general rule is one stringer for every 16 inches of width, with a minimum of three stringers for any staircase up to 36 inches wide.
Start with a straight 2×12 board that is long enough for the stringer length plus at least 12 inches extra. Clamp stair gauges to a framing square at your riser height and tread depth measurements. Starting from one end, trace the step pattern along the board. Cut along the marked lines with a circular saw, stopping short of the inside corners, and finish the cuts with a handsaw or jigsaw to avoid over-cutting. Subtract one tread thickness from the bottom of the stringer so the first step is the same height as the rest.