Stair Calculator
Calculate stair risers, treads, actual riser height, total run, stair angle, stringer length, and optional stair surface area.
Results
This calculator provides a planning estimate only. Stair rules vary by local building code, stair type, use, nosing, landing design, handrail requirements, headroom, and maximum riser/minimum tread limits. Always verify the final layout with local code or a qualified professional before construction.
A practical stair layout begins with the vertical distance between floors and a consistent relationship between every riser and tread. This Stair Calculator estimates the number of risers and treads, actual riser height, total horizontal run, stair angle, and diagonal stringer length for a simple straight staircase.
Entering the optional stair width also produces footprint and tread-surface estimates. These results are useful during early planning, space checks, and material comparisons, but they do not replace a code-compliant construction drawing or structural design.
What the Stair Calculator Determines
- Number of risers: The vertical divisions needed to reach the entered total rise.
- Number of treads: The horizontal stepping surfaces in the calculated straight flight.
- Actual riser height: Total rise divided evenly among the whole-number riser count.
- Total run: The horizontal distance occupied by all calculated treads.
- Stringer length: The diagonal length from the bottom of the stair to the upper level.
- Stair angle: The incline of the stair flight relative to the horizontal floor.
- Comfort check: The proportion value calculated as two riser heights plus one tread depth.
- Footprint and tread area: Area estimates produced when stair width is provided.
How to Calculate Stair Dimensions
- Measure the total rise. Measure vertically from the finished lower floor to the finished upper floor or landing level.
- Enter a target riser height. This is a planning value used to estimate a practical whole-number riser count. It is not automatically a local code limit.
- Enter the tread depth. Use the intended horizontal run of one step and select the matching unit.
- Add stair width if available. This optional value is used for the footprint and total tread-surface calculations.
- Select Calculate. Review the final riser height, tread count, total run, stringer length, angle and proportion check.
- Verify the proposed layout. Compare every dimension with the building rules that apply to the location, occupancy and stair type.
Measurements should refer to finished surfaces. Flooring, tread coverings, underlay and finish materials can change the final rise if they are ignored during planning.
Stair Calculation Formulas
The estimated riser count begins with:
Estimated risers = total rise ÷ target riser height
The result is converted to a practical whole number. The exact height of every equal riser is then recalculated:
Actual riser height = total rise ÷ number of risers
For the straight-stair arrangement used by this calculator, the upper floor serves as the final stepping level:
Number of treads = number of risers − 1
Total run = number of treads × tread depth
Total rise and total run form the two perpendicular sides of a right triangle. The diagonal stringer length is estimated with the Pythagorean theorem:
Stringer length = √(total rise² + total run²)
The stair angle is calculated from the ratio of rise to run:
Stair angle = arctan(total rise ÷ total run)
The calculator also displays a traditional proportion check:
Comfort check = (2 × actual riser height) + tread depth
This proportion is a comparison aid only. It does not confirm that the riser, tread, pitch, headroom, width or other parts of the stair comply with a building code.
When stair width is entered:
Stair footprint area = total run × stair width
Tread surface area = number of treads × tread depth × stair width
Worked Stair Calculation Example
Suppose the finished floor-to-floor rise is 96 inches, the target riser height is 7 inches, the tread depth is 10 inches, and the stair width is 36 inches.
Estimated risers: 96 ÷ 7 = 13.71
Convert this to 14 equal risers.
Actual riser height: 96 ÷ 14 = 6.86 inches
Number of treads: 14 − 1 = 13
Total run: 13 × 10 = 130 inches
Stringer length: √(96² + 130²) ≈ 161.6 inches
Stair angle: arctan(96 ÷ 130) ≈ 36.5°
Comfort check: (2 × 6.86) + 10 = 23.72 inches
Footprint area: 130 × 36 = 4,680 in², or 32.5 ft²
The example produces a consistent mathematical layout. Whether those dimensions are permitted still depends on the locally adopted requirements for that particular stair.
Building-Code and Safety Checks
Stair requirements vary by country, state, municipality, occupancy and building type. Residential stairs, public stairs, workplace stairs and accessible stairways may follow different rules. Local amendments can also change requirements found in a model code.
For example, the U.S. Access Board’s accessibility standards require uniform riser heights and tread depths for covered stairways and specify dimensional criteria for those stairs. OSHA publishes separate requirements for standard workplace stairs. Residential projects may instead be governed by a locally adopted residential code, while projects in England may refer to Approved Document K. These standards should not be mixed or treated as interchangeable.
Before construction, confirm at least the permitted riser height, minimum tread depth, maximum variation within a flight, stair width, landings, nosings, headroom, handrails, guards, illumination and structural support. A calculator result should never override the authority having jurisdiction or the project drawings.
Limitations of This Estimate
- The calculator models one simple straight stair flight with uniform risers and treads.
- It does not design landings, winders, spiral stairs, alternating treads or curved stairs.
- It does not calculate headroom, handrails, guards, balusters, nosing geometry or opening dimensions.
- The stringer result does not verify member size, species, grade, notching, bearing or load capacity.
- The tread count can differ when the top landing, deck edge or framing arrangement does not act as the final step.
- Finish thicknesses and field conditions can change the constructed dimensions.
Stair Calculator FAQs
How many steps do I need for a 96-inch rise?
Using a 7-inch target riser, 96 ÷ 7 = 13.71, which becomes 14 risers in this example. The actual equal riser height is then approximately 6.86 inches. Verify the final value against the applicable local rules.
Why is the number of treads one less than the risers?
In a typical straight flight where the upper floor acts as the last stepping level, each vertical rise is counted, but the upper level replaces one separate tread. Different landing or deck details can change this relationship.
How is stair stringer length calculated?
The total rise and total run form a right triangle. The calculator applies the Pythagorean theorem: stringer length = √(rise² + run²). Construction details can require a longer board than this geometric length.
What does the 2R + T comfort check mean?
It adds two actual riser heights to one tread depth to compare the stair’s proportions. It is a planning aid rather than proof of comfort, safety or code compliance.
Does stair width change the riser and tread count?
No. Width is optional and is used for area estimates. The calculated riser count comes from total rise and target riser height, while tread count and total run depend on the resulting risers and tread depth.
Can this calculator be used for spiral or L-shaped stairs?
No. It assumes a single straight flight. Spiral, curved, winder, L-shaped and U-shaped stairs require different geometry, landing details and code checks.
Related Calculators
- Stair Riser and Tread Calculator — explore additional stair layouts and riser-tread planning inputs.
- Roof Pitch Calculator — calculate slope, rise, run and angle for roof planning.
- Elevation Grade Calculator — convert rise and run into grade, angle and ratio.
- Board Foot Calculator — estimate lumber volume and optional material cost.