Staircase Calculator

Calculate rise, run, and number of steps for a safe, code-compliant staircase.

Stair Dimensions

Height from finished floor to finished floor

Available horizontal distance

Leave blank for default (7 in / 18 cm)

Your Staircase Results

—
Total Steps (Treads)
—
Total Risers
—
Individual Riser Height
—
Individual Tread Depth
—
Stair Angle
—
2R + T Ratio

How It Works

The staircase calculator uses the Blondel formula (2×Rise + Run = 24–25 inches) to determine optimal stair proportions. First, it divides your total floor-to-floor height by the desired riser height to find the number of risers, then rounds to the nearest whole number. The actual riser height is recalculated to match your total rise exactly. The tread depth comes from dividing your available horizontal run by the number of treads (risers minus one).

The tool checks your results against IRC, IBC, or UK building regulations — verifying riser height, tread depth, and the comfort ratio to confirm your staircase design is safe and code-compliant.

Frequently Asked Questions

What is the ideal stair rise and run according to building codes?
According to the International Residential Code (IRC), the maximum riser height is 7.75 inches (196 mm) and the minimum tread depth is 10 inches (254 mm). The ideal formula used by builders is 2×Rise + Run = 24–25 inches, which ensures comfortable and safe stair proportions.
How many steps do I need for my staircase?
Divide your total floor-to-floor height by your desired riser height (typically 7 to 7.5 inches). Round the result to the nearest whole number — that's your number of risers. The number of treads (steps you walk on) is always one less than the number of risers.
Why does my staircase calculator show a warning?
Warnings appear when your calculated dimensions fall outside recommended code ranges. Common issues include risers that are too tall or too short, treads that are too shallow, or a 2R+T ratio outside the 24–25 inch comfort range. Adjust your total rise or run measurements to achieve a compliant design.