Stair Calculator
Calculate stair dimensions from total rise. Get number of steps, riser height, tread depth, stair angle, and building code compliance.
Estimates only. Always verify quantities with a professional before purchasing materials. Building projects must comply with local codes and regulations.
About Stair Calculator
This stair calculator determines the number of steps, riser height, tread depth, stair angle, and stringer length from your total rise measurement. Enter the floor-to-floor height and preferred riser height, and the tool divides the rise evenly into steps, checks building code compliance, and draws a side-view SVG diagram of the staircase.
How Stair Calculations Work
| Value | Formula | Example (108 in total rise, 7 in preferred riser) |
|---|---|---|
| Number of risers | Total rise / Preferred riser height (rounded) | 108 / 7 = 15.4, rounded to 15 |
| Actual riser height | Total rise / Number of risers | 108 / 15 = 7.2 inches |
| Number of treads | Number of risers - 1 | 15 - 1 = 14 treads |
| Total run | Number of treads x Tread depth | 14 x 10.5 = 147 inches (12.25 ft) |
| Stair angle | arctan(Total rise / Total run) | arctan(108 / 147) = 36.3 degrees |
| Stringer length | sqrt(Rise² + Run²) | sqrt(108² + 147²) = 182.4 inches (15.2 ft) |
The number of treads is always one less than the number of risers because the top landing counts as the final step but does not need a separate tread.
IRC Building Code Requirements
The International Residential Code (IRC) sets minimum standards for residential stairs in the United States. The calculator checks your design against these limits:
| Dimension | IRC Requirement | What It Means |
|---|---|---|
| Maximum riser height | 7.75 inches (197 mm) | Taller risers feel steep and increase trip risk |
| Minimum tread depth | 10 inches (254 mm) | Your foot needs enough surface to land safely |
| Minimum stair width | 36 inches (914 mm) | Allows comfortable passage and furniture moving |
| Maximum riser variation | 3/8 inch (9.5 mm) | All risers must be nearly identical height to prevent tripping |
| Minimum headroom | 6 ft 8 in (2,032 mm) | Measured vertically from tread nosing to any overhead obstruction |
| Handrail height | 34-38 inches | Measured vertically from tread nosing |
The calculator shows green checks for dimensions that comply and red warnings for those outside limits. Always verify with your local building authority, as some jurisdictions have stricter requirements than the IRC.
Comfortable Stair Design
Building codes set the minimum, but comfort depends on the relationship between riser height and tread depth. Two common rules of thumb have been used by architects for centuries:
| Rule | Formula | Example |
|---|---|---|
| Blondel's rule (17th century) | 2 x Riser + Tread = 24-25 inches | 2 x 7 + 11 = 25 inches (ideal) |
| Riser x Tread rule | Riser x Tread = 70-75 | 7 x 10.5 = 73.5 (ideal range) |
Standard Stair Dimensions by Use
| Application | Typical Riser | Typical Tread | Angle | Notes |
|---|---|---|---|---|
| Residential interior | 7-7.5 in | 10-11 in | 30-35° | Most comfortable for daily use |
| Residential exterior | 6-7 in | 11-12 in | 27-32° | Shallower for safety in wet conditions |
| Commercial / public | 6-7 in | 11-12 in | 27-32° | Shallower for high traffic and accessibility |
| Deck stairs | 7-7.75 in | 10-11 in | 30-37° | May use open risers |
| Steep / space-saving | 8-9 in | 8-9 in | 40-50° | Loft ladders, attic stairs (may not meet code) |
Stair Angle Guide
| Angle Range | Feel | Typical Use |
|---|---|---|
| 20-25° | Very gentle, almost a ramp | Exterior access ramps, grandstand seating |
| 25-30° | Comfortable, easy climb | Public buildings, wide exterior stairs |
| 30-35° | Standard residential | Most home staircases |
| 35-40° | Steeper but acceptable | Compact home stairs, deck stairs |
| 40-45° | Steep, use handrail | Attic stairs, ship ladders |
| 45°+ | Ladder-like | Not recommended for regular use |
Common Total Rise Measurements
| Scenario | Typical Total Rise | Steps (at 7.25 in riser) |
|---|---|---|
| Standard floor-to-floor (8 ft ceiling) | 105-110 inches | 14-15 steps |
| 9 ft ceiling | 117-122 inches | 16-17 steps |
| 10 ft ceiling | 129-134 inches | 18 steps |
| Deck (3 ft above ground) | 36 inches | 5 steps |
| Porch (2 ft above ground) | 24 inches | 3-4 steps |
Side-View Diagram
The SVG drawing shows the stair profile with labelled risers and treads, so you can visualise the proportions before cutting stringers. The stringer is the diagonal board that supports the steps - its length is calculated using the Pythagorean theorem from the total rise and total run.
For estimating concrete quantities for outdoor stairs, the concrete calculator handles volume calculations. To measure the floor area needed for the stairwell opening, the square footage calculator converts dimensions to area. All calculations run in your browser with no data stored.
Frequently Asked Questions
How do I calculate the number of stairs I need?
Measure the total vertical height from one floor to the next (total rise). Divide by your preferred riser height, typically 7 to 7.75 inches. Round to the nearest whole number. For example, a 108-inch rise divided by 7.5 inches equals about 14 steps.
What is the standard riser height for stairs?
The International Residential Code (IRC) sets a maximum riser height of 7.75 inches. Most comfortable stairs have risers between 7 and 7.5 inches. All risers in a staircase must be within 3/8 inch of each other.
What is the standard tread depth for stairs?
The IRC requires a minimum tread depth of 10 inches. Most comfortable stairs use 10 to 11 inches. The tread is measured from the nose of one step to the nose of the next, not including any overhang.
What is a comfortable stair angle?
The most comfortable stair angle is between 30 and 35 degrees. Building codes generally allow angles between 20 and 45 degrees. Steeper angles feel cramped and can be unsafe, while shallower angles take up more floor space.
How do I calculate the stringer length?
The stringer length is the hypotenuse of a right triangle formed by the total rise and total run. Use the Pythagorean theorem - square the total rise, square the total run, add them together, and take the square root. This calculator shows the stringer length automatically.
Related Tools
Link to this tool
Copy this HTML to link to this tool from your website or blog.
<a href="https://toolboxkit.io/tools/stair-calculator/" title="Stair Calculator - Free Online Tool">Try Stair Calculator on ToolboxKit.io</a>