ThisCalculator

Everyday

Stringer Calculator for Stairs: How to Use It

Updated · Standard formula, shown below

Riser height 15.00 in
Tread depth
17.14 in
Result
Stringer length (hypotenuse)
159.45 in
Result
Cut angle
41.2 degrees
Result

Stringer Calculator for Stairs: How to Use It

A stringer calculator for stairs works out the length and cut layout of the stair stringer—the angled board that supports the treads and risers—based on the total rise, total run, and the number of steps you plan to build. You enter the floor-to-floor height, the desired tread depth, and the riser height (or number of steps), and the calculator returns the stringer length, the exact rise and run per step, and the angle of the cut. This page explains the math behind that calculation, how to use the results on a real jobsite, and the common mistakes that lead to wasted lumber.

Formula

The stringer is the hypotenuse of a right triangle whose vertical leg is the total rise (floor-to-floor height) and whose horizontal leg is the total run (the horizontal distance the stairs cover). The calculator uses the Pythagorean theorem:

Stringer length = √(total rise² + total run²)

Where:

  • Total rise (in inches or cm) – vertical distance from finished floor to finished floor.
  • Total run (in inches or cm) – horizontal distance from the face of the first riser to the face of the last riser (or from the nosing of the first tread to the nosing of the last tread).
  • Number of steps – the number of risers. For a straight flight, this equals the number of treads.

The per-step values are simply the totals divided by the number of steps:

  • Riser height = total rise ÷ number of steps
  • Tread depth = total run ÷ number of steps

The calculator assumes a simple closed stringer (a solid board cut with triangular notches). If you are using a “cut stringer� with notches, the actual board length is the hypotenuse, but you’ll also need to account for the thickness of the tread material and the depth of the notch—more on that below.

Worked Example

Using the default values from the calculator above:

  • Total rise = 105 inches
  • Total run = 120 inches
  • Number of steps = 7

Step 1: Calculate the riser height.
105 ÷ 7 = 15.00 inches per riser

Step 2: Calculate the tread depth.
120 ÷ 7 = 17.14 inches per tread

Step 3: Calculate the stringer length (hypotenuse).
√(105² + 120²) = √(11025 + 14400) = √25425 ≈ 159.45 inches

Step 4: Calculate the cut angle.
atan(105 ÷ 120) = atan(0.875) ≈ 41.2°

So the stringer board needs to be about 159.5 inches long (13 feet 3.5 inches), with a 41.2° angle at the top and bottom, and each step notch will be 15 inches high and 17.14 inches deep.

How to Use the Calculator for a Real Staircase

Before you enter numbers, you need to measure the actual rise and run on site. The total rise is the vertical distance from the finished floor below to the finished floor above—not the rough subfloor. If you’re building on a concrete slab, measure from the slab surface; if there will be tile or hardwood, add that thickness. The total run is the horizontal distance the stairs will cover, which is often constrained by the space available. If you have a floor opening or a landing, the run is measured from the face of the first riser to the face of the last riser, not including any nosing overhang.

Once you have those two numbers, decide how many steps you want. The calculator will give you the riser height and tread depth. Building codes in most areas limit riser height to between 4 and 7.75 inches (residential) and tread depth to at least 10 inches (with nosing). If your calculated riser is too high or tread too shallow, you need to adjust the number of steps or the total run. The calculator gives you the geometry, but the code sets the limits—check your local code before cutting.

Common Mistakes and How to Avoid Them

The most frequent error is mixing up the total run with the run per step. If you enter the total run as 120 inches and the number of steps as 7, the calculator correctly gives 17.14 inches per tread. But if you accidentally enter 120 as the per-step run and 7 steps, the total run becomes 840 inches—a 70-foot staircase. Always double-check that the numbers you enter are the totals, not the per-step dimensions.

Another common mistake is forgetting the tread thickness when cutting the notches. The stringer notch is typically cut so that the vertical cut (riser) is the full riser height, and the horizontal cut (tread) is the full tread depth. But if you use a 1.5-inch thick tread board, the actual step height from the top of one tread to the top of the next will be riser height + tread thickness. To compensate, many carpenters subtract the tread thickness from the riser height when laying out the notch. The calculator gives the theoretical riser height; you must adjust for the material thickness to get the actual step height you want.

Finally, remember that the stringer length is the hypotenuse of the triangle, but the actual board you buy will be longer because you need extra at the top and bottom for the connection to the floor and the header. The calculator’s length is the minimum; add at least 6 inches at each end for cutting and fitting.

Stringer Types: Cut, Solid, and Housed

The calculator works for any stringer type, but the layout differs:

  • Cut stringer – the most common for residential decks and interior stairs. You cut triangular notches out of a 2×12 (or larger) board. The calculator gives you the rise and run per step, which you then mark on the board using a framing square.
  • Solid stringer – a straight board with no notches, used with metal or wood brackets that hold the treads. The calculator gives you the angle and length; you cut the board to length and attach the brackets at the calculated spacing.
  • Housed stringer – a routed groove in the board that accepts the treads and risers. The groove depth affects the effective rise and run; you may need to adjust the layout for the groove depth.

For a cut stringer, the thickness of the board matters. A 2×12 (actual 1.5 x 11.25 inches) is the minimum for most residential stairs because the notch depth reduces the effective strength. The calculator does not check whether your board is thick enough—that’s a structural decision based on span and load.

How to Lay Out the Stringer with a Framing Square

Once you have the riser height and tread depth from the calculator, you can mark the stringer. Place a framing square on the board so that the tongue (narrow side) is at the riser height and the body (wide side) is at the tread depth. Mark along the outside edge of the square to create the right angle of the notch. Slide the square down the board, aligning the same marks, and repeat for each step. The top and bottom cuts are angled at the overall stringer angle (from the calculator) to sit flush against the floor and header.

Always mark the stringer on the best face of the board, and use a sharp pencil or a knife. Double-check the first notch before cutting the rest. It’s wise to cut one stringer, test-fit it, then use it as a template for the others.

Safety and Structural Considerations

The stringer is the backbone of the staircase. A poorly cut stringer can lead to uneven steps, premature wear, or even collapse. Follow these safety points:

  • Use a board that is at least 2×12 (actual 1.5 x 11.25 inches) for cut stringers. Thinner boards may not have enough material left after the notches are cut.
  • Keep the notch depth (the vertical cut) to no more than one-third of the board’s width. For a 2×12, that’s about 3.75 inches. If your riser height is larger than that, you need a thicker board or a different stringer design.
  • Space stringers no more than 16 inches on center for residential stairs. For wider stairs, add more stringers.
  • Secure the stringer to the floor and to the header with proper framing anchors or screws. Do not rely on nails alone.
  • Always check your local building code for riser height, tread depth, and handrail requirements. The calculator gives you the geometry, but code sets the limits.

Frequently Asked Questions

What is the ideal riser height and tread depth?
Most residential codes allow risers between 4 and 7.75 inches, with treads at least 10 inches deep (including nosing). A common comfortable ratio is a riser of about 7 inches and a tread of 11 inches. The calculator will give you the exact values for your total rise and run; check those against your local code.

Why does the stringer length seem longer than the total run?
Because the stringer is the diagonal (hypotenuse) of the triangle, it is always longer than the horizontal run. For a typical 105-inch rise and 120-inch run, the stringer is about 159 inches—that’s the actual board length you need, not the horizontal distance.

Do I need to add extra length to the stringer for the top and bottom?
Yes. The calculator gives the theoretical hypotenuse. You need extra material at both ends to make the angled cuts that sit on the floor and against the header. Add at least 6 inches at each end, or more if you need to notch around a header.

Can I use the calculator for a deck staircase with a landing?
Yes, but you’ll need to split the flight into two sections. Measure the rise and run for each section separately, and treat the landing as the floor for the upper section. The calculator works for each straight run.

What if my calculated riser height is too high?
If the riser exceeds your local code (often 7.75 inches), you need more steps. Increase the number of steps in the calculator, which will reduce the riser height. If the tread depth becomes too shallow, you’ll need to increase the total run (if space allows) or adjust the design.

Is a 2×12 always enough for a stringer?
Not always. The span (horizontal distance between supports) and the load affect the required size. For most residential stairs with stringers spaced 16 inches on center, a 2×12 is standard. For longer spans or heavier loads, you may need a 2×14 or a steel stringer. Consult a structural engineer if you’re unsure.

Related

Formula used
in rise | Total rise | in | 105 | 0
in run | Total run | in | 120 | 0
in n | Number of steps | - | 7 | 1
out riser_h | Riser height | in | rise / n | 2
out tread_d | Tread depth | in | run / n | 2
out stringer_len | Stringer length (hypotenuse) | in | sqrt(rise^2 + run^2) | 2
out angle | Cut angle | degrees | atand(rise / run) | 1

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.