ThisCalculator

Everyday

Stair Stringer Length Calculator: Formula & Guide

Updated · Standard formula, shown below

Stringer Length (outer edge) 152.07 in
Number of Steps
14
Result
Step Rise (actual)
7.50 in
Result
Step Run (actual)
7.86 in
Result

This stair stringer length calculator works out the exact length of the diagonal board (stringer) you need for a staircase. You enter the total rise (vertical height) and total run (horizontal depth), and it returns the stringer length in the same units you used, along with the number of steps and the individual step rise and run. It uses the standard Pythagorean theorem for a right triangle, which is the same method carpenters use to lay out stair stringers.

Formula

The stringer length is the hypotenuse of a right triangle where the vertical leg is the total rise (R) and the horizontal leg is the total run (T). The formula is:

Stringer Length = √(R² + T²)

Where:

  • R = total rise (vertical distance from the lower floor to the upper floor, in inches or centimeters)
  • T = total run (horizontal distance from the face of the first step to the face of the last step, in the same units)

This gives the length along the outer (long) edge of the stringer, not the shorter edge that sits against the framing. The actual board you buy will be longer because you need extra at both ends for bearing and for cutting the notches.

Worked Example

Using the default values: total rise = 105 inches, total run = 110 inches, tread thickness = 1 inch.

  1. Square the rise: 105² = 11,025
  2. Square the run: 110² = 12,100
  3. Add them: 11,025 + 12,100 = 23,125
  4. Take the square root: √23,125 ≈ 152.07 inches

The calculator shows 152.07 inches for the stringer length. That is the diagonal distance from the top of the stringer to the bottom, measured along the outer edge. In feet, that is about 12 feet 8 inches.

The calculator also estimates the number of steps: 105 ÷ 7.5 = 14, so 14 steps. The actual step rise becomes 105 ÷ 14 = 7.5 inches, and the step run becomes 110 ÷ 14 ≈ 7.86 inches. These are within typical residential ranges (rise 4–7.75 inches, run at least 10 inches in many codes, but that depends on your local building code).

How to Measure Total Rise and Total Run

Total rise is the vertical distance from the finished floor below to the finished floor above. Measure from the top of the lower flooring to the top of the upper flooring. If you are building a deck, measure from the ground (or deck base) to the top of the deck surface.

Total run is the horizontal distance from the face of the first riser to the face of the last riser. It is not the overall horizontal span of the stairwell; it is the sum of all the individual tread depths (the horizontal part of each step).

For a straight staircase, you can measure the horizontal distance from the edge of the upper floor opening to the point where the bottom step will land. If the stairs turn, you need to measure each flight separately.

How to Choose the Number of Steps

The number of steps is not arbitrary – it is determined by the rise and the maximum allowed step rise. Building codes (like the IRC) typically limit residential step rise to 7.75 inches and require a minimum tread depth of 10 inches. To find the number of steps:

  • Divide the total rise by a target rise (e.g., 7.5 inches) to get a rough count.
  • Round to the nearest whole number.
  • Divide the total rise by that number to get the actual rise per step.
  • Check that the actual rise is within your local code limits.

If the actual rise is too high, increase the number of steps. If it is too low, decrease the number of steps. The same logic applies to the run: divide the total run by the number of steps to get the actual tread depth.

Common Mistakes and Misconceptions

Mistake 1: Using the total run as the horizontal distance from the wall to the bottom step. That distance includes the nosing (the overhanging part of the tread) and possibly the stringer thickness. The run in the formula is the sum of the tread depths, not the overall stairwell length.

Mistake 2: Forgetting the tread thickness. When you cut notches, the actual cutout is smaller than the step rise because the tread adds thickness. If you use a 1-inch tread, the vertical cut on the stringer is step rise minus 1 inch. The calculator includes a tread thickness input so you can see the effect, but the stringer length itself is unaffected by tread thickness because it is based on the overall rise and run.

Mistake 3: Treating the stringer length as the board length to buy. The calculated length is the hypotenuse along the outer edge. You need to add at least 6–12 inches for bearing at the top and bottom, and you may need extra if you are using a 2×12 that has to be trimmed.

Misconception: The stringer length is the same as the stair stringer board length. No – the board is longer because you need to cut the notches and have material to rest on the floor and the upper framing.

How to Use the Result in Practice

Once you have the stringer length, you can lay out the stringer on a 2×12 (or other lumber) using a framing square. The two numbers you need are the step rise and step run. For example, with 7.5-inch rise and 7.86-inch run, you set the framing square to 7.5 on one side and 7.86 on the other, then mark the notches along the board.

If you are cutting a solid stringer (without notches) for a flush mount, you would cut the board at the angle of the staircase. The angle is the arctangent of rise divided by run: atan(105/110) ≈ 43.7 degrees from horizontal.

Always cut the stringer slightly longer than the calculated length and trim to fit, because a board that is too short is unusable.

Limitations of the Formula

The Pythagorean theorem assumes the stringer is a straight line from top to bottom. This is true for a straight flight of stairs. For curved or spiral stairs, the length is different and requires more advanced geometry. Also, the formula does not account for the thickness of the treads or the angle of the saw cuts – those are handled in the layout, not in the length calculation.

The calculator also assumes the total run is the sum of the tread depths, not the horizontal distance between the upper and lower floor edges. If you measure the overall horizontal span, you may overestimate the run and get a longer stringer than needed.

Frequently Asked Questions

Q: How many stairs do I need for a 10-foot rise?
A: 10 feet = 120 inches. Divide by 7.5 inches (a common target rise) gives 16 steps. That yields a rise of 7.5 inches per step, which is within typical code limits. Always check your local code for the maximum allowed rise.

Q: What is the minimum stringer length for a 3-foot rise?
A: 3 feet = 36 inches. If the run is, say, 36 inches (which would give a very steep step), the stringer length is √(36² + 36²) ≈ 50.9 inches. But that is not a comfortable stair – you would need a longer run to make the steps safe.

Q: Does tread thickness affect the stringer length?
A: No, the stringer length is based on the overall rise and run. Tread thickness affects the vertical cut of the notch, not the diagonal length. You subtract the tread thickness from the step rise when marking the notch.

Q: Can I use this calculator for deck stairs?
A: Yes, as long as you measure the total rise from the ground to the deck surface and the total run as the sum of the tread depths. For deck stairs, you often have a landing at the bottom, so measure to the top of the landing.

Q: What is the maximum rise for a step?
A: The International Residential Code (IRC) limits the maximum rise to 7.75 inches for residential stairs. Some local codes may differ, so always verify with your building department. The minimum rise is typically 4 inches.

Q: How do I find the angle of the stringer?
A: The angle is the arctangent of the total rise divided by the total run: atan(rise/run). For the default example, atan(105/110) ≈ 43.7 degrees. You can use that angle to make angled cuts on the top and bottom of the stringer.

Related

Formula used
in rise | Total Rise | in | 105 | 0
in run | Total Run | in | 110 | 0
in th | Tread Thickness | in | 1 | 0
out length | Stringer Length (outer edge) | in | sqrt(rise^2 + run^2) | 2
out steps | Number of Steps | - | max(1, round(rise / 7.5)) | 0
out step_rise | Step Rise (actual) | in | rise / steps | 2
out step_run | Step Run (actual) | in | run / steps | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.