CH
CalcHub

Stair Calculator

Building stairs that are comfortable and code-compliant requires precise measurements. This calculator determines the number of steps, individual riser height, and stringer length from your total rise and desired run.

Enter Your Measurements

Results

Enter your measurements to see results

How to Use This Calculator

  1. Measure the total rise from the finished floor at the bottom to the finished floor at the top, in inches.
  2. Enter your desired tread depth (10 inches is standard).
  3. Enter your target riser height (7–7.75 inches meets most codes).
  4. Review the calculated dimensions.

How Stairs Calculation Works

Building codes require consistent riser heights — all risers must be within 3/8 inch of each other. This calculator divides the total rise into equal risers as close to your target height as possible. The stringer length is the diagonal measurement needed to cut your stair stringers (typically 2×12 lumber). IRC residential code requires: maximum riser height of 7.75 inches, minimum tread depth of 10 inches, and minimum stair width of 36 inches.

Formula

Risers = round(Total Rise ÷ Desired Riser Height). Actual riser = Total Rise ÷ Risers. Treads = Risers - 1. Total run = Treads × Tread Depth. Stringer = √(Total Rise² + Total Run²).

Frequently Asked Questions

What is the ideal riser height?
7 to 7.5 inches is most comfortable. Code maximum is 7.75 inches (IRC). All risers in a flight must be within 3/8 inch of each other — consistency matters more than the exact height.
What is the 7-11 rule for stairs?
A common rule of thumb: risers should be about 7 inches and treads about 11 inches. More precisely, the sum of two risers plus one tread should equal 24–25 inches for comfort.
How long of a 2×12 do I need for stair stringers?
Use this calculator's stringer length result. For a standard 9-foot ceiling (about 108 inches total rise with floor thickness), you'll need approximately 12–14 foot 2×12s for stringers.