What this calculator does
A stair stringer is the sloping beam that carries the treads, and its length is the diagonal of the rise-and-run triangle. Getting it wrong is expensive: too short and the stair does not reach the floor; too long and the cuts are wrong. This calculator works in millimetres, the unit most metric drawings and timber yards use. It divides the total rise by the target riser height, rounds up to a whole number of risers, and uses the resulting actual riser to keep every step equal. It then multiplies the number of treads by the tread depth to get the run and applies the Pythagorean theorem to get the stringer length. It also counts the stringers needed for the stair width and reports the angle. The result is a cutting length, not a full code check: local rules set minimum and maximum riser and tread dimensions, and the top and bottom connections need their own design.
How to use it
- Measure the total rise from finished floor to finished floor, not from the subfloor.
- Enter a target riser height within the local code range.
- Enter the tread depth you plan to use, including any nosing.
- Enter the stair width and the stringer spacing you intend.
- Read the actual riser height; it may differ slightly from the target because the riser count is rounded.
- Use the stringer length as the cutting length and add the top and bottom allowances for your connection detail.
How it works
Example calculations
Example 1: A 2,700 mm rise with 180 mm risers
The rise divides into 15 risers of 180 mm, so there are 14 treads and a 3,920 mm run at 280 mm per tread. The stringer length is 4,760 mm and the stair angle is 34.6°. At 1,000 mm wide with 400 mm spacing, 4 stringers are needed.
Example 2: A wider stair with a longer run
A 2,800 mm rise at 175 mm risers gives 16 risers and 15 treads. With 300 mm treads the run is 4,500 mm and the stringer is 5,300 mm. The 1,200 mm width needs 4 stringers at 400 mm spacing.
Example 3: A steeper, narrower stair
A 2,400 mm rise with 200 mm risers gives 12 risers of 200 mm and 11 treads. The run is 2,750 mm and the stringer is 3,650 mm at an angle of 41.1°. The 900 mm width needs 3 stringers.
What the result means
The actual riser height is the number to check against the code, not the target. If the total rise does not divide evenly, the calculator rounds the riser count up and the actual riser comes out slightly lower than the target; every step is then equal, which is what matters for safety. The stringer length is the plumb-cut length along the slope. Real cuts need an allowance at the top and bottom for the connection to the floor and the header, and the tread notches remove material that affects the remaining section. The angle is useful for checking headroom and for setting the saw. The stringer count assumes the spacing you enter; wider stairs or heavier loads may need closer spacing or a deeper section, which is a structural question.
Common mistakes
- Measuring the rise from the subfloor instead of the finished floor.
- Using the target riser height as the actual riser height when the count is rounded.
- Forgetting that the number of treads is one less than the number of risers.
- Cutting the stringer to the exact calculated length without a top or bottom allowance.
- Using too few stringers for a wide stair or a heavy tread material.
- Ignoring local code limits on riser height, tread depth, and headroom.
Assumptions and limits
- The stair is a straight flight with no landing or turn.
- The total rise is measured between finished floor levels.
- Every riser is equal after rounding the riser count.
- The tread depth is the going, including any nosing in the chosen detail.
- Stringer spacing is centre-to-centre and the stair width is the full width.
- The calculation is a cutting aid, not a structural or code design.
Frequently asked questions
How do I measure total rise for a stair?
Measure from the finished floor at the bottom to the finished floor at the top. If the floors are not finished yet, add the thickness of the finished surface. A consistent measurement is essential because every riser is calculated from it.
Why is the actual riser different from the target?
The number of risers must be a whole number, so the calculator rounds up. The total rise divided by that count gives the actual riser, which is slightly lower than the target. Equal risers matter more than hitting the exact target.
How many stringers do I need?
It depends on the stair width and the tread material. The calculator uses the spacing you enter; for a 1,000 mm stair at 400 mm spacing it returns 4. Wider stairs, heavy treads, or code requirements may need more.
Does the stringer length include the top and bottom cuts?
No. It is the sloping length between the top and bottom points of the rise-and-run triangle. Add the allowances for your connection detail, and check the remaining section at the notches before cutting.
What angle should a stair be?
Comfortable stairs are often around 30–35°, but the legal range depends on the building code and the use. The calculator reports the angle so you can compare it with the code and with the available space.
Can I use this for an outdoor deck stair?
Yes, the geometry is the same, but outdoor stairs need weather-resistant materials, drainage, and footings designed for the site. Check the local code for exterior stair requirements as well.
Sources
2026 update
How to use the professional output
This page is not just a formula box. The result is designed to be checked, compared, and taken away.
- Professional worksheet. The result includes the inputs used, the method and scope, and a one-variable sensitivity check for finance calculators.
- A/B scenarios. Save two input sets in the browser and compare the primary, secondary, and breakdown figures side by side.
- Print / PDF and CSV. Print a branded worksheet, or export the year-by-year table when the calculator produces one.
The formulas and assumptions above still govern the number. The worksheet makes the estimate auditable; it does not make it a lender quote, tax return, or personalized advice.