local.click local.click
Stair planning

Deck stair calculator

Enter your deck height to calculate code-compliant stair dimensions, stringer lengths, and a complete materials list for treads, risers, and stringers.

Stair dimensions

Ground to top of deck surface
10–12 in per code (min 10 in)
Min 36 in per OBC & IRC

Code & options

OBC requires handrails if total rise > 24 in
Required if vertical rise exceeds 12 ft
Email me my stair plan

Get your complete stair dimensions, materials list, and code-compliance summary sent to your inbox — ready for your building permit application.

Frequently asked questions

How do I calculate the number of stairs for my deck?

Divide the total rise (deck height from ground to deck surface in inches) by your target riser height (typically 7 to 7.75 inches). Round up to get the number of risers, then subtract one to get the number of treads. For example, a 48-inch deck height divided by 7.5 inches gives about 7 risers and 6 treads.

What is the maximum riser height allowed by building code?

The Ontario Building Code and IRC limit the maximum riser height to 7.75 inches (197 mm). The minimum is typically 5 inches. All risers in a staircase must be uniform — the tallest and shortest riser cannot differ by more than 3/8 inch.

How many stringers do I need for deck stairs?

Most building codes require stringers spaced no more than 16 inches apart for 2x lumber treads, or 24 inches for engineered treads. For a standard 36-inch-wide staircase, you need 3 stringers. Wider stairs (48–60 inches) typically need 4 stringers.

How do I calculate stringer length?

Stringer length is the hypotenuse of a right triangle formed by the total rise (vertical height) and total run (horizontal distance). Use the formula: stringer length = √(total rise² + total run²). Add 12 inches for the top and bottom connections. Stringers are typically cut from 2×12 lumber.

Do I need a landing for my deck stairs?

Ontario Building Code requires a landing for any staircase with a vertical rise exceeding 12 feet. Landings must be at least 36 inches deep (in the direction of travel) and at least as wide as the stairway. Even if not required by code, landings improve safety for stairs with more than 12 risers.

📚 Related Guides

Deck Building Codes in Ontario: Homeowner Guide → How Much Does a Deck Cost in Ontario? Complete 2026 Guide → DIY Deck vs Hiring a Contractor in Ontario →