Stair geometry

Stair Calculator

Estimate equal risers, treads, horizontal run, and stair angle from floor height and preferred step dimensions.

Rise and tread

Enter stair dimensions

Stairs
Layout summary

Stair estimate

Side view of stairs showing total rise, individual riser, tread depth, run, and angle
Equal risers divide the floor height; one fewer tread is used for a stair ending at the upper floor.

Your stair layout will appear here

Enter the total rise and preferred riser and tread sizes.

How Are Stair Risers and Treads Calculated?

Estimate equal stair risers from floor-to-floor height and a preferred riser height, then calculate treads, run and pitch angle. This stair calculator rounds the height-to-preferred-riser ratio to the nearest whole count and divides the total height equally among those risers. It assumes the upper floor serves as the final landing, leaving one fewer tread than risers.

The preferred height is a target, not a maximum. Rounding can produce an actual riser higher than that target. The form estimates one straight flight only; it does not check code compliance, available floor space, stringer design, headroom, nosings, landings or handrails.

How to Use the Stair Calculator

  1. Measure Floor-to-floor height as the vertical difference between the finished lower and upper floor levels. Select ft, m or in.
  2. Enter Preferred riser height in in, cm or mm. The tool uses it to choose a nearest-rounded count rather than treating it as an upper limit.
  3. Enter Tread depth in in, cm or mm as the horizontal going used for each repeated step. The model does not add a separate nosing projection.
  4. Select Calculate stairs. Read Number of risers, Treads, Actual riser, Total run and Stair angle. All dimensional output cards use inches regardless of input units.
  5. Compare the resulting geometry with the project requirements. Recheck actual riser height and available run; the calculator does not validate them or issue a code pass.

All three dimensions must be positive and have supported units. The visible 9, 7 and 11 examples are placeholders, not chosen design values. There is no direct riser-count field, available-run constraint or alternative upper-floor mounting selector.

Equal Riser, Run and Stair Angle Formulas

N = maximum(1, nearest whole number of total height ÷ preferred riser)

actual riser r = total height ÷ N

treads T = maximum(0, N − 1)

total horizontal run = T × tread depth d

pitch angle in degrees = arctan(r ÷ d) × 180 ÷ π

The calculation converts dimensions to inches first: feet × 12, meters ÷ 0.0254, centimeters ÷ 2.54 and millimeters ÷ 25.4. NIST supports these unit relationships. The nearest-count rounding sends a positive half to the next whole number; this is not ceiling.

The OpenStax tangent relationship supports pitch from one rise and one horizontal tread. Do not replace r/d with total floor height/total run: the model has N rises but N−1 treads. Riser, tread, run and angle return to two decimals; counts are whole. A one-riser result has zero treads/run but still reports an angle from the entered positive tread.

Stair Rise, Tread and Geometry Results

Floor-to-floor height
Total vertical finished-level difference. It is not the sloping stair length.
Preferred riser height
Target used to choose N, with positive nearest rounding. It does not set a maximum actual rise.
Tread depth
Horizontal going for one repeated step, held constant. There is no additional nosing input.
Number of risers
Nearest-rounded count, with minimum one. The main count describes vertical intervals.
Treads
One fewer than risers, with minimum zero, because the upper floor completes the flight.
Actual riser
Total height divided by riser count, in inches to two decimals. The underlying rise is equal before display rounding.
Total run
Tread count times entered horizontal depth, in inches to two decimals. Landings and clearances are not added.
Stair angle
Pitch from actual rise divided by tread going, in degrees to two decimals. It is not a stringer-cut instruction.

The static drawing distinguishes vertical risers, horizontal treads and pitch. It does not redraw the entered count, supply a cutting template or establish a compliant stair assembly.

Stair Riser and Run Calculation Example

Illustrative geometry example, not a recommended stair design. Enter floor height 2.87 m, preferred riser 17.8 cm and tread depth 27.5 cm. The ratio is 287 ÷ 17.8 = 16.12359551…, so the calculator chooses 16 risers and 15 treads.

Actual rise is 287 ÷ 16 = 17.9375 cm = 7.06200787… in, displayed as 7.06 in. Total run is 15 × 27.5 = 412.5 cm = 162.40157480… in, displayed as 162.4 in. Pitch is arctan(17.9375 ÷ 27.5) = 33.11531394…°, displayed as 33.12°.

Calculation check. Independent unit conversion, nearest rounding and trigonometry reproduce all five visible results. The actual rise exceeds the preferred 17.8 cm by 0.1375 cm. That difference demonstrates why the preference must not be read as a maximum constraint.

Illustrative 2.87 m total height, 17.8 cm preference and 27.5 cm tread
ResultDisplayCalculation basis
Risers / treads16 / 15Nearest-count model
Actual riser7.06 in17.9375 cm before display rounding
Total run162.4 in15 × 27.5 cm
Pitch angle33.12°One actual rise ÷ tread going

Why Actual Risers Can Exceed the Preferred Height

Nearest rounding can choose a count below the raw ratio and increase actual rise above the preference. These mathematical examples use a separate total height of 112 inches and the same positive tread depth; they are not recommended dimensions.

Nearest-rounded counts at a fixed 112-inch total height
Preferred riseChosen countActual rise
7 inround(112/7) = 167 in
7.2 inround(112/7.2) = 167 in
7.4 inround(112/7.4) = 157.466666… in

At a 7.4-inch preference, the raw ratio is 15.135135… and the count becomes 15. Actual rise is then 112/15 = 7.466666… inches, above the target. The algorithm does not instead choose 16 to enforce a maximum.

A small change across a count boundary also changes tread count and total run. Compare the actual result with available space and applicable requirements. Rounding is a geometric rule, not a comfort test, code check or structural calculation.

Understanding Your Stair Geometry

Count vertical rises separately from horizontal treads. With the upper floor completing the ascent, this model needs one fewer separate tread. It does not include a full additional top tread, so a different construction arrangement requires different geometry.

Nearest rounding chooses a count close to the preferred ratio. A slightly different total height can change N by one, which changes all actual risers and the total run. It does not search adjacent counts for comfort, floor-space fit or regulatory limits.

Output dimensions use inches even for metric input. Multiplying the displayed 7.06 in by 16 gives 112.96 in, slightly different from the original 112.99212598… in height. The calculation divided the original height exactly before rounding the individual display.

Geometry alone cannot establish a suitable stair. The U.S. Access Board stairway guide illustrates additional features addressed within its ADA scope, including treads, risers and handrails. It is not a universal residential standard, and this calculator does not test those requirements or other local provisions. Check the applicable project requirements separately.

Common Stair Calculation Mistakes

  • Treating preferred riser height as a maximum limit.
  • Counting the upper floor as another separate tread in this model.
  • Entering diagonal stair length as the vertical floor height.
  • Confusing horizontal going with sloping tread or stringer length.
  • Using total height divided by N−1 treads to recreate the pitch angle.
  • Reading a calculated angle or count as a code or structural approval.

Stair Calculator FAQs

How does the stair calculator choose riser count?

It divides total height by the preferred riser, rounds to the nearest whole number and enforces at least one. It then divides the original height by that count for equal actual rises.

Is the preferred riser height a maximum?

No. Nearest rounding can choose fewer risers and make the actual rise larger than the preference. Check the actual result against the requirements for your project.

Why is there one fewer tread than risers?

The tool assumes the upper floor serves as the final landing. The last rise reaches that floor, so it counts N−1 separate horizontal treads.

Why are results in inches after metric input?

The controller converts everything to inches and reports riser and run in that unit. Input selectors do not change the output unit; angle remains degrees.

Why does total height divided by total run give a different angle?

The tool uses the repeated step ratio r/d. Total height contains N rises, while its run contains only N−1 treads. Those two overall lengths therefore do not form the same pitch ratio.

Does it calculate stringers or headroom?

No. There are no stringer thickness, nosing, opening, headroom, landing or available-run inputs. The result is a limited equal-riser geometry estimate.

What happens when the count rounds to one riser?

The form returns one rise, zero treads and zero total run, while angle still uses the entered positive tread depth. That arithmetic edge case does not describe a complete buildable flight.

Does a result mean the stairs comply with building requirements?

No. The calculator does not check dimensions, safety features, structure or code applicability. Verify the geometry and relevant requirements for the actual stair separately.

Sources and References