Stair Calculator
Calculate riser height, stringer length, stair angle, and total run for any staircase given total rise and tread depth.
Riser Height
—
Stringer Length
—
Stair Angle
—
Total Run
—
Code Status
—
What is Stair Calculator?
The Stair Calculator helps you design a staircase by computing the riser height, total run, stringer length, and angle based on the total rise and your chosen number of steps and tread depth. It also checks whether the riser height falls within the recommended 7–7.75 inch range.
How to use
- 1 Enter the total rise — the vertical distance from floor to floor in inches.
- 2 Enter the tread depth — the horizontal depth of each step (typically 10–11 inches).
- 3 Enter the number of steps.
- 4 Click Calculate to get the riser height, total run, stringer length, and stair angle.
- 5 Adjust the number of steps until the riser height falls between 7 and 7.75 inches for code compliance.
Formula
Example calculation
Total rise 105 inches, 14 steps, tread 10 inches: Riser = 105 / 14 = 7.5 in (good). Total run = 140 in. Stringer = √(105² + 140²) = 175 in. Angle = arctan(105/140) = 36.9°.
Frequently asked questions
What is the ideal riser height?
Most building codes require risers between 7 and 7.75 inches. Consistent riser heights throughout the staircase are critical for safety.
What is a stringer?
The stringer is the diagonal structural board that supports the treads and risers. Its length tells you how long the lumber needs to be.
What tread depth should I use?
Residential codes typically require a minimum tread depth of 10 inches. A 10–11 inch tread combined with a 7–7.5 inch riser gives a comfortable staircase.
What stair angle is comfortable?
Comfortable stairs are typically between 30° and 45°. Steeper than 45° feels like a ladder; shallower than 30° takes up too much floor space.
Does this account for tread nosing?
No — this calculator uses the tread run depth only. If your treads have a nosing overhang (typically 0.75–1.25 in), add it to the tread depth for the actual tread width.