ThisCalculator

Everyday

Stringer Calculator for Wood: How to Use It

Updated · Standard formula, shown below

Number of steps 15
Stringer length (hypotenuse)
159.45 in
Result
Cut angle (from horizontal)
41.19 deg
Result
Actual riser height
7.00 in
Result

A stringer calculator for wood works out the dimensions and cut angles for a stair stringer—the sloped board that supports the treads and risers of a staircase. You enter the total rise (vertical height), total run (horizontal distance), and the number of steps, and the calculator returns the stringer length, the angle of the cut, and often the individual step dimensions. This page explains the math behind the calculator, how to use it correctly, and the common pitfalls that lead to wobbly or unsafe stairs.

Formula

The stringer is the hypotenuse of a right triangle. The vertical leg is the total rise (the height the stairs climb), and the horizontal leg is the total run (the horizontal distance the stairs cover). The stringer length is therefore:

Stringer length = √(rise² + run²)

Where:

  • Rise = total vertical height from the lower floor to the upper floor, measured in inches (or cm).
  • Run = total horizontal distance from the face of the first riser to the face of the last riser, in the same units.
  • Stringer length = the long edge of the board, measured along the slope, in the same units.

The cut angle is the arctangent of rise divided by run: angle = atan(rise / run). This is the angle between the stringer and the horizontal floor. Most carpenters mark this angle with a framing square rather than a protractor, but the calculator gives you the degree value for setting a miter saw or bevel gauge.

Worked Example

Using the default values from the calculator block: total rise = 105 inches, total run = 120 inches, tread depth = 10 inches, riser height = 7 inches.

  1. Number of steps = round(105 / 7) = 15 steps.
  2. Actual riser height = 105 / 15 = 7.0 inches (so the default riser was already correct).
  3. Stringer length = √(105² + 120²) = √(11025 + 14400) = √25425 ≈ 159.45 inches.
  4. Cut angle = atan(105 / 120) = atan(0.875) ≈ 41.19°.

So for a 105-inch rise and a 120-inch run, you need a stringer about 159.5 inches long (about 13 feet 3.5 inches) with a 41.2° cut at the top and bottom. The calculator shows the same result: stringer length 159.45 in, angle 41.19°.

How a Stringer Calculator Works

The calculator assumes a straight, single-flight stair with a constant rise and run. It uses the Pythagorean theorem to find the sloped length, but the real work is in dividing the total rise and run into equal steps. The number of steps is found by dividing the total rise by a desired riser height (typically 7 inches in the US, but building codes often limit risers to between 4 and 7.75 inches). The calculator then recalculates the actual riser height to make the steps even, because you cannot have a fractional step.

Once the number of steps is known, the total run is divided by the number of treads (which is one less than the number of risers if the top step lands on the upper floor). The calculator in this page uses the total run you enter directly, so you must measure the horizontal span accurately. If you enter a run that is too short, the tread depth will be too small for a comfortable step.

How to Choose the Right Inputs

Before using the calculator, measure the actual rise from the finished floor of the lower level to the finished floor of the upper level. Do not measure from the subfloor—include the thickness of the flooring material. For the run, measure the horizontal distance from the face of the first riser to the face of the last riser. If you are designing from scratch, you can choose a comfortable tread depth (usually 10 to 11 inches) and then multiply by the number of treads to get the total run.

For the riser height, a common target is 7 inches, but local building codes may specify a maximum (often 7.75 inches) and a minimum (often 4 inches). The calculator will round the number of steps to the nearest whole number, so you may need to adjust the riser height slightly to get an even number of steps. Always check the actual riser height that the calculator outputs—it should be within code limits.

Common Mistakes and How to Avoid Them

  • Forgetting the tread thickness: The stringer is cut with notches for the treads and risers. The vertical cut (riser) is usually the riser height minus the tread thickness, because the tread overlaps the riser below. Many calculators ignore this, so you must subtract the tread thickness from the riser height when marking the stringer.
  • Mixing units: If you measure rise in inches and run in feet, the calculator will give a nonsense result. Convert everything to the same unit before entering.
  • Rounding too early: If you round the stringer length to the nearest inch before cutting, you may end up short. Keep at least one decimal place until you are ready to cut.
  • Ignoring the top and bottom cuts: The stringer usually sits on a ledger at the top and on the floor or a concrete slab at the bottom. The angle cut at each end must match the slope, and the bottom may need a shortened first riser if the floor is not perfectly level.
  • Using the wrong number of treads: If the top step is the upper floor itself, you have one fewer tread than riser. The calculator here uses the total run you give, so if you enter the run as tread depth × number of treads, you must use the correct tread count.

How to Read the Results

The first output, the stringer length, is the length of the board along its long edge from the top cut to the bottom cut. This is the minimum length of lumber you need—add a few inches for waste and for the angled cuts. The angle output is the angle between the stringer and the horizontal floor. When you cut the top and bottom of the stringer, you set your saw to this angle (measured from vertical for the top cut if you are cutting plumb). The actual riser height tells you the exact vertical distance between steps, which you use to lay out the notches.

If the actual riser height differs from your target, you may need to adjust the number of steps. For example, if you entered a riser of 7 inches but the calculator gives an actual riser of 7.2 inches, you might want to try 16 steps instead of 15 to bring it closer to 7 inches. The calculator does not automatically optimize for code compliance—it simply divides the rise by the number of steps you indirectly choose.

Limitations of the Formula

The Pythagorean formula assumes a straight, uniform stair. It does not account for:

  • Landings or winders: If your stair has a 90-degree turn or a landing, you need to treat each flight as a separate stringer.
  • Notch depth: The stringer board must be thick enough (usually 2×12) to allow for the triangular cutouts without weakening the board. The calculator does not check structural strength.
  • Tread overhang: The tread depth is the horizontal distance from the face of one riser to the face of the next. If you add a nosing (overhang), the actual board length changes.
  • Sloped floors: If the floor at the top or bottom is not level, you must adjust the first and last riser heights accordingly.

Always consult local building codes and have a professional review your stair design, especially for decks or public buildings.

Safety and Building Code Basics

Stairs are one of the most dangerous parts of a house. A mis-cut stringer can cause uneven steps, leading to trips and falls. Building codes in most jurisdictions specify:

  • Maximum riser height: typically 7.75 inches (some areas allow 8 inches for residential).
  • Minimum riser height: usually 4 inches.
  • Minimum tread depth: 10 inches (some codes require 11 inches for new construction).
  • Consistency: The difference between the tallest and shortest riser in a flight must not exceed 3/8 inch.

The calculator helps you achieve consistency by dividing the total rise evenly, but you must verify that the actual riser height falls within the allowed range. Also, the stringer board should be pressure-treated if the stairs are outdoors, and all cuts should be smooth and free of splinters.

Frequently Asked Questions

What is the standard stringer size for wood stairs?

Most residential stringers are cut from 2×12 lumber (actual dimensions 1.5 inches by 11.25 inches). The 2×12 provides enough material for the triangular notches without weakening the board. For very wide stairs, you may need three or more stringers spaced no more than 16 inches apart.

How do I calculate stringer length without a calculator?

Use the Pythagorean theorem: square the total rise, square the total run, add them, and take the square root. For example, a 105-inch rise and 120-inch run gives √(11025 + 14400) = √25425 ≈ 159.45 inches. You can also lay out the stringer directly on the board using a framing square.

What is the ideal riser height and tread depth?

Comfortable stairs typically have a riser height of 7 inches and a tread depth of 10 to 11 inches. The formula 2 × riser + tread = 25 to 26 inches is a common guideline for comfort. For example, 2 × 7 + 11 = 25, which is within the range.

Do I need to subtract the tread thickness from the riser height?

Yes, when cutting the notches, the vertical cut (riser) should be the actual riser height minus the thickness of the tread above it. If you use a 1-inch thick tread, cut the riser 1 inch shorter. The calculator gives the theoretical riser height, so you must adjust for the tread material.

Can I use this calculator for deck stairs?

Yes, but deck stairs often have open risers (no vertical board), which changes the notch layout. The stringer length and angle calculation remain the same, but you may not need to subtract the tread thickness for the riser cut. Always check local deck codes, which may require a maximum riser height of 7 inches for decks.

What if my total rise is not evenly divisible by the riser height?

The calculator rounds to the nearest whole number of steps. For example, a 106-inch rise with a 7-inch target gives 15.14 steps, which rounds to 15. The actual riser becomes 106/15 = 7.07 inches. If that exceeds your local code, you may need to add a step (16 steps) and use a 6.625-inch riser, or adjust the run accordingly.

Related

Formula used
in rise | Total rise (floor to floor) | in | 105 | 0
in run | Total run (horizontal span) | in | 120 | 0
in tread | Tread depth (going) | in | 10 | 0
in riser | Riser height | in | 7 | 0
out steps | Number of steps | - | round(rise / riser) | 0
out stringer_len | Stringer length (hypotenuse) | in | sqrt(rise^2 + run^2) | 2
out angle | Cut angle (from horizontal) | deg | atand(rise / run) | 2
out actual_riser | Actual riser height | in | rise / round(rise / riser) | 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.