Stairs & Railings

    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.

    Inputs

    IRC allows a maximum 7-3/4 inch rise for residential stairs.

    What you'll need

    As an Amazon Associate I earn from qualifying purchases.

    Prices and savings as of Oct 17, 2026, 4:36 AM UTC. Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon.com at the time of purchase will apply to the purchase of this product.

    Shopping for someone? See our guide to best gifts for deck builders & diy deck builders.

    Pricing the stairs? Use the deck stairs cost calculator.

    Railing the stairs? The stair handrail calculator gives the rail length and angle.

    Need step-free access instead? Try the deck ramp calculator.

    Lighting the treads at night? See our deck lighting picks.

    The 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 heightStepsRise per stepTreadsTotal run (10-1/2" treads)
    14"27.00"110.5"
    21"37.00"221"
    28"47.00"331.5"
    36"57.20"442"
    42"67.00"552.5"
    54"86.75"773.5"
    72"107.20"994.5"
    96"137.38"12126"

    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 for Android

    Estimate decks on the go, save projects, and share them with contractors.

    Building something else? Try our sister calculators

    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.

    Related calculators

    All calculators →