Get the app

How to calculate stair stringers

To calculate a stair stringer, measure the total rise, divide it by a target riser height (about 7 inches) and round to a whole number of risers. Divide the total rise by that number for the exact riser. Treads are one fewer than risers. The stringer length is √(total rise² + total run²).

Worked example: 105 inches of rise

  1. Total rise: 105 in (8 ft 9 in) from finished floor to finished floor.
  2. Riser count: 105 ÷ 7.75 = 13.5, so use 14 risers. Rounding up keeps each riser under 7¾ in.
  3. Exact riser: 105 ÷ 14 = 7.5 in.
  4. Treads: 14 − 1 = 13 treads.
  5. Tread depth: choose 10 in.
  6. Total run: 13 × 10 = 130 in (10 ft 10 in).
  7. Stringer length along the slope: √(105² + 130²) = √27 925 = 167.1 in, about 13 ft 11 in.
  8. Angle: arctan(7.5 ÷ 10) = 36.9° from horizontal.

The 167.1 in figure is the straight line between the nose points. The actual board must be longer to leave material for the end cuts, so buy the next stock length up and lay out on the board before cutting.

What the code says

The International Residential Code (R311.7.5) is widely summarised as a maximum riser height of 7¾ inches and a minimum tread depth of 10 inches, with no more than ⅜ inch variation between the largest and smallest riser or tread in a flight. See the City of Boise's R311.7.5 handout and ViewRail's tread and riser summary. Cities amend the code: Rapid City, for example, publishes an amendment with different figures (RCMC 15.13.160). Check the code edition and amendments your local building department enforces, as well as handrail, landing and headroom rules that this article does not cover.

Measuring the total rise

  • Measure from the finished surface at the bottom to the finished surface at the top, not from the framing.
  • If the top and bottom floors will have different finishes or decking, the first and last riser need adjusting by the thickness of the treads and finishes. Plan this before cutting any stringer.
  • Measure the rise at more than one spot if the ground is uneven.

Why equal risers matter

People rely on every step being the same. Small differences are a trip hazard, which is why codes limit variation within a flight. If the exact riser comes out as a repeating decimal (for example 7.4286 in), convert it to the nearest fraction and check that the total of all risers still equals the total rise; the leftover may need to go into one riser or the first-step cut.

Try your own numbers

The existing guide Stair rise and run calculator has a free browser calculator for the equal-riser step. For a related layout problem, see roof pitch: rise, run and angle.

Common stair layout mistakes

  • Counting treads as risers. Remember there is one fewer tread than risers when the top floor forms the last step.
  • Forgetting tread thickness. The first riser is shorter by the thickness of the tread laid on the stringer, unless the stringer is cut to compensate.
  • Measuring the rise from rough surfaces. Always measure to the finished floor surface.
  • Using the hypotenuse as the board length. It is a minimum, as explained above.

Same example, different riser choice

With the same 105 in rise, 13 risers would be 105 ÷ 13 = 8.08 in, which is over the 7¾ in limit in the IRC summary above. 15 risers would be 7.0 in and need 14 treads: a run of 140 in (11 ft 8 in). More risers gives a gentler stair but needs more floor space, so the right choice depends on where the stair has to land.

Metric stairs

The method does not change in metric: divide the total rise in millimetres by a target riser, round, then divide again. The limits in your country differ from the IRC, so use the figures your local regulations give.

Doing it in Onsite Math

The Stair layout tool in Onsite Math takes the total rise and returns risers, treads, exact riser height, tread depth, total run and stringer length. It also accepts a headroom value and flags when the stair is outside an IRC 7¾ in riser and 10 in tread check. The calculation is a layout aid: always verify against the local code, the drawings and a full-scale check on the board.

Frequently asked questions

How do you calculate stair stringers?

Divide the total rise by your target riser height, round to a whole number of risers, divide the rise by that number for the exact riser, set a tread depth, and find the stringer length with the Pythagorean theorem: √(rise² + run²).

How many treads are there compared to risers?

There is one fewer tread than risers, because the floor at the top acts as the last step. 14 risers means 13 treads.

What are the maximum riser and minimum tread?

The International Residential Code sets a maximum riser of 7¾ in and a minimum tread of 10 in, but local codes can amend these figures. Check your jurisdiction.

Is the stringer board as long as the hypotenuse?

The hypotenuse is the minimum. The board must also be long enough to fit the end cuts and notches, so choose the next stock length up and confirm with a full-scale layout.

All construction math guides · Onsite Math home