Stair Calculator

Calculate stair dimensions from total rise. Get number of steps, riser height, tread depth, stair angle, and building code compliance.

Ad

Estimates only. Always verify quantities with a professional before purchasing materials. Building projects must comply with local codes and regulations.

Ad

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

ValueFormulaExample (108 in total rise, 7 in preferred riser)
Number of risersTotal rise / Preferred riser height (rounded)108 / 7 = 15.4, rounded to 15
Actual riser heightTotal rise / Number of risers108 / 15 = 7.2 inches
Number of treadsNumber of risers - 115 - 1 = 14 treads
Total runNumber of treads x Tread depth14 x 10.5 = 147 inches (12.25 ft)
Stair anglearctan(Total rise / Total run)arctan(108 / 147) = 36.3 degrees
Stringer lengthsqrt(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:

DimensionIRC RequirementWhat It Means
Maximum riser height7.75 inches (197 mm)Taller risers feel steep and increase trip risk
Minimum tread depth10 inches (254 mm)Your foot needs enough surface to land safely
Minimum stair width36 inches (914 mm)Allows comfortable passage and furniture moving
Maximum riser variation3/8 inch (9.5 mm)All risers must be nearly identical height to prevent tripping
Minimum headroom6 ft 8 in (2,032 mm)Measured vertically from tread nosing to any overhead obstruction
Handrail height34-38 inchesMeasured 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:

RuleFormulaExample
Blondel's rule (17th century)2 x Riser + Tread = 24-25 inches2 x 7 + 11 = 25 inches (ideal)
Riser x Tread ruleRiser x Tread = 70-757 x 10.5 = 73.5 (ideal range)

Standard Stair Dimensions by Use

ApplicationTypical RiserTypical TreadAngleNotes
Residential interior7-7.5 in10-11 in30-35°Most comfortable for daily use
Residential exterior6-7 in11-12 in27-32°Shallower for safety in wet conditions
Commercial / public6-7 in11-12 in27-32°Shallower for high traffic and accessibility
Deck stairs7-7.75 in10-11 in30-37°May use open risers
Steep / space-saving8-9 in8-9 in40-50°Loft ladders, attic stairs (may not meet code)

Stair Angle Guide

Angle RangeFeelTypical Use
20-25°Very gentle, almost a rampExterior access ramps, grandstand seating
25-30°Comfortable, easy climbPublic buildings, wide exterior stairs
30-35°Standard residentialMost home staircases
35-40°Steeper but acceptableCompact home stairs, deck stairs
40-45°Steep, use handrailAttic stairs, ship ladders
45°+Ladder-likeNot recommended for regular use

Common Total Rise Measurements

ScenarioTypical Total RiseSteps (at 7.25 in riser)
Standard floor-to-floor (8 ft ceiling)105-110 inches14-15 steps
9 ft ceiling117-122 inches16-17 steps
10 ft ceiling129-134 inches18 steps
Deck (3 ft above ground)36 inches5 steps
Porch (2 ft above ground)24 inches3-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.

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>