Calculate the perfect stair dimensions — number of steps, riser height, tread depth, stringer length, and total run. Building code compliance check included with visual stair diagram.
Stairs are one of the most structurally and dimensionally critical elements in any building. Incorrectly designed stairs are uncomfortable at best and dangerous at worst — uneven risers are a leading cause of falls. Building codes exist specifically to ensure stairs are safe and consistent. This guide walks you through every dimension, code requirement, and practical consideration.
The International Residential Code (IRC) sets minimum standards for residential stairs. These are the key requirements that every set of stairs must meet, and our calculator checks automatically.
The most universally comfortable stair has a 7-inch rise and 11-inch run. This produces an angle of about 32.5 degrees — gentle enough for elderly and children, yet efficient in floor space. A secondary comfort check: riser + tread should equal 17–18 inches. This formula (known as the "rule of 17") ensures the stairs feel natural to climb. Our calculator evaluates both the code compliance and the comfort factor.
Stringers are the structural backbone of any staircase. They must be cut from 2×12 lumber — anything smaller won't have enough remaining wood after the notches are cut. After cutting, at least 3.5 inches of solid wood must remain at the narrowest point (the "throat"). Three stringers is standard for stairs up to 36 inches wide; use four for wider stairs. The top of the stringer connects to the header joist; the bottom sits on a concrete pad or pressure-treated kicker plate.