Calculators.Life Calculator
Construction

Stair Calculator

Input Parameters

Scenarios
Total vertical distance from the lower finished floor to the upper finished floor in inches.
Desired step height in inches. Building code typically specifies a maximum of 7.75 inches.
Horizontal depth of each individual step tread in inches (minimum 10 inches per IRC code).

Computed Results

Number of Risers
17
Exact Riser Height (in)7.06
Number of Treads16
Total Stair Run (in)160
Stringer Length (in)200
Incline Angle (°)35.22

The stair calculator determines the exact dimensions needed to build a staircase, including the number of steps, actual riser height, total run, and stringer length. By entering your total rise and target step height, you can plan a layout that fits your specific space requirements and incline preferences.

Disclaimer: This calculator provides mathematical estimates for stair dimensions; always verify measurements against local building codes before construction.

Practical Use Cases

Planning a staircase requires dividing a vertical height into equal, manageable steps. This calculator is useful for determining the layout of interior residential stairs, such as basement or loft access, where space dictates the total run. It is also helpful for exterior projects like deck stairs or shallow-angle porch steps, allowing you to calculate the exact stringer length needed to support the treads and risers.

How to Use the Stair Calculator

To find your stair dimensions, follow these steps:

  1. Enter the Total Rise: Measure the total vertical distance from the lower finished floor to the upper finished floor in inches.
  2. Input the Target Riser Height: Enter your desired step height. Building codes often specify a maximum height (typically around 7.75 inches), so choose a target that fits your needs.
  3. Provide the Tread Depth: Enter the horizontal depth of each individual step tread.

The calculator will output the required number of risers and treads, the exact height of each riser, the total horizontal run of the staircase, the stringer length, and the incline angle.

Stair Calculation Formulas

The calculator uses standard geometry to determine stair dimensions. First, it calculates the number of risers by dividing the total rise by the target riser height and rounding to the nearest whole number:

Number of Risers = Round(Total Rise ÷ Target Riser Height)

Because the number of steps must be a whole number, the exact riser height is recalculated to ensure all steps are perfectly equal:

Exact Riser Height = Total Rise ÷ Number of Risers

The number of treads is always one less than the number of risers, as the upper floor acts as the final step. The total run is the combined depth of all treads:

Total Run = Number of Treads × Tread Depth

The stringer length is calculated using the Pythagorean theorem, treating the total run and total rise as the legs of a right triangle:

Stringer Length = √(Total Run² + Total Rise²)

Verified Scenario Walkthroughs

Here are examples of how different inputs affect the final stair dimensions.

Short Basement Stair Run

For a basement with a 96-inch total rise, an 8-inch target rise, and a 9-inch tread depth, the calculator determines you need 12 risers. The exact riser height is exactly 8 inches. With 11 treads, the total run is 99 inches, requiring a stringer length of 137.9 inches at a 41.63° incline.

Standard Residential Staircase

For a standard floor-to-floor height of 110 inches, a target rise of 7.25 inches, and a 10.5-inch tread depth, the layout requires 15 risers. The exact riser height adjusts slightly to 7.33 inches. The 14 treads create a total run of 147 inches, a stringer length of 183.6 inches, and an incline angle of 34.93°.

High Deck or Loft Access

For a tall 250-inch rise, a 7.5-inch target rise, and an 11-inch tread depth, the staircase needs 33 risers. The exact riser height is 7.58 inches. The 32 treads result in a total run of 352 inches, a stringer length of 431.7 inches, and an incline of 34.56°.

Shallow Angle Exterior Steps

For a short 45-inch rise, a 5-inch target rise, and a deep 15-inch tread, the design requires 9 risers at exactly 5 inches each. The 8 treads create a total run of 120 inches, a stringer length of 128.2 inches, and a gentle incline angle of 18.43°.

Inputs and Outputs Reference

FieldTypeDescription
Total Rise (Overall Height)InputTotal vertical distance from the lower finished floor to the upper finished floor in inches.
Target Riser HeightInputDesired step height in inches.
Tread Depth (Run)InputHorizontal depth of each individual step tread in inches.
Number of RisersOutputThe total number of vertical step faces required.
Exact Riser Height (in)OutputThe precise height of each step, adjusted so all steps are equal.
Number of TreadsOutputThe total number of horizontal steps (always one less than the number of risers).
Total Stair Run (in)OutputThe total horizontal distance the staircase will occupy.
Stringer Length (in)OutputThe diagonal length of the structural support board.
Incline Angle (°)OutputThe steepness of the staircase.

Frequently Asked Questions

Why is the exact riser height different from my target height?

The total vertical rise must be divided evenly into a whole number of steps. The calculator rounds the number of steps to the nearest whole number, then divides the total rise by that number to ensure every step is exactly the same height.

Why is there one less tread than the number of risers?

The final step up is typically the landing or the upper floor itself. Therefore, you do not need a separate stair tread for the very last riser.

Author portrait
About the Author
Arnab Biswas

Calculator developer and SEO strategist who builds practical online calculators and tests calculation logic, input handling, and expected results using real-world scenarios.