Stair Calculator
ConstructionCalculate the number of stair steps, actual riser height, and total horizontal run from your total rise, max riser height, and minimum tread depth.
Number of Steps
What is a Stair Calculator?
A Stair Calculator determines the exact number of steps, the actual riser height, and the total horizontal run needed to build a code-compliant staircase between two floor levels. Instead of guessing at riser and tread dimensions, you input the total vertical rise your staircase needs to climb, along with the maximum riser height and minimum tread depth allowed by your local building code, and the calculator returns a precise, buildable layout.
Staircase geometry is unforgiving โ even small inconsistencies in riser height between steps are a well-documented tripping hazard, which is why building codes tightly regulate riser and tread dimensions. This tool automates the rounding and division that stair builders traditionally did by hand or with a construction calculator, ensuring every riser in the run comes out identical. It pairs naturally with other rough-framing tools like the Framing Calculator when you're planning the full structure around a stairwell opening, or the Birdsmouth Cut Calculator if your project also involves roof rafters bearing on the same wall plates.
Whether you're building an interior staircase, a deck stair, or a basement egress stair, getting the riser-to-tread ratio right is what separates a comfortable, safe climb from one that feels awkward or dangerous.
How to use this Stair Calculator calculator
- Measure your Total Rise โ the exact vertical distance from the finished floor below to the finished floor above โ and enter it in inches.
- Set Max Riser Height to the maximum riser height allowed by your local building code, typically around 7.75 inches for US residential stairs; the default is 7.5 inches.
- Set Min Tread Depth to the tread depth you plan to use, commonly 10 inches or more for comfortable footing.
- Review the calculated Number of Steps โ this is the whole number of risers your stringers need.
- Note the Actual Riser Height and use this exact value (not your input maximum) when marking and cutting your stair stringers.
- Check the Total Horizontal Run against your available floor space to confirm the staircase will fit before you begin framing.
Formula & Methodology
The calculator applies three sequential formulas: Number of Steps = โTotal Rise รท Max Riser Heightโ (rounded up to the nearest whole number) Actual Riser Height = Total Rise รท Number of Steps Total Horizontal Run = (Number of Steps โ 1) ร Min Tread Depth Worked example: For a Total Rise of 108 inches, a Max Riser Height of 7.5 inches, and a Min Tread Depth of 10 inches: - Number of Steps = โ108 รท 7.5โ = โ14.4โ = 15 steps - Actual Riser Height = 108 รท 15 = 7.2 inches per step - Total Horizontal Run = (15 โ 1) ร 10 = 140 inches (11 ft 8 in) This confirms a 15-step staircase with a comfortable 7.2-inch riser on each step, requiring just under 12 feet of horizontal floor space.
Frequently Asked Questions