Measuring

Stair Stringer Length Calculator: Sizing the Diagonal Board

A stair stringer length calculator finds the length of the diagonal structural board that supports a stair's treads and risers, using the Pythagorean relationship between total rise and total run, then adds margin for the bottom kick and top framing cut. For a stair with 105in of rise and 130in of run, the raw diagonal comes out to about 167.2in, and the actual stock board needed (accounting for notch depth) is usually cut from a 2x12 in a 16ft or 18ft length. This guide covers the formula and the practical stock-buying numbers.

By Sophie Ainsworth, Design editor · · 5 min read

Last updated · Reviewed by James Whitfield, Stair runner fitter and flooring estimator

Measuring a staircase for a runner with a tape measure

The stringer length formula

The raw diagonal length of a stair stringer is found with the Pythagorean theorem: diagonal = sqrt(total rise^2 + total run^2). This is the straight-line hypotenuse connecting the bottom of the stringer to the top, before any notching for treads and risers is cut into it. A stair stringer calculator then adds a margin at both ends — typically about 12in — to leave enough uncut stock for the bottom kick plate and the top ledger connection.

Worked example

  1. Total rise: 105in. Total run: 130in (13 treads x 10in).
  2. Diagonal = sqrt(105^2 + 130^2) = sqrt(11,025 + 16,900) = sqrt(27,925) = 167.1in.
  3. Add roughly 12in margin for the top and bottom cuts: 167.1 + 12 = 179.1in of finished stringer length.
  4. Round up to the next standard lumber length: a 2x12 at 16ft (192in) has enough stock, with about 13in of drop offcut.
Total riseTotal runDiagonal (raw)Stringer length (with margin)
96in120in153.7in165.7in
105in130in167.1in179.1in
112in140in179.3in191.3in
120in150in192.1in204.1in
How a stair runner is measuredOne step showing tread depth, riser height and the nosing wrap that all add together to give the runner length per step.Tread depthRiser heightNosing wrapRunner per step = tread + riser + nosing allowance
Stringer length is the hypotenuse of total rise and total run, plus margin for the bottom kick and top ledger cuts.

How many stringers, and what stock size

IRC requires stringers spaced no more than 18in apart on centre for most residential loads when using standard 2x12 dimensional lumber cut stringers (engineered or manufacturer-rated stringers may allow different spacing per their span tables). For a 36in-wide stair, that generally means three stringers: two at the outside edges and one down the centre.

Stair widthTypical stringer countOn-centre spacing
36in318in
42in321in
48in416in

Notch depth eats into effective board strength

A cut (notched) stringer loses a meaningful amount of its structural depth at the notch points, which is why the remaining uncut section behind each notch is required to be at least about 3.5in for a standard 2x12 layout. If your calculated riser and tread size leaves less than that, either upsize the stock or switch to a solid (un-notched) stringer with cleats.

Code checks that affect stringer sizing

RuleIRC (US)UK Part K
Max riser7.75in220mm
Min tread10in220mm
Max stringer spacing (2x12 dimensional)18in on centre (typical)governed by structural design, not a fixed spacing rule
Min remaining stringer depth behind a notch~3.5inper structural design

The stringer's diagonal length (rise/run hypotenuse) is close to, but not the same as, the runner length a stair runner calculator produces, because a runner follows the stepped nosing-to-nosing profile of the treads and risers rather than a single straight diagonal — the stepped path is always somewhat longer than the straight-line hypotenuse for the same rise and run. Use the stringer diagonal for framing lumber, and use the stair runner length calculator's stepped sum for ordering carpet; don't substitute one for the other.

Open (cut) stringers vs closed (housed) stringers

An open or cut stringer is notched along its top edge to follow the profile of each tread and riser, exposing the stringer's zigzag shape along the side of the stair, and is the type the Pythagorean length calculation above is built around. A closed or housed stringer instead has a straight, uncut top and bottom edge, with grooves routed into its inner face to house the treads and risers, hiding the stringer's structural shape entirely behind a skirt board. A housed stringer needs the same diagonal length calculation for its overall board, but its stock size requirement is driven by groove depth rather than the notch-remaining-depth rule used for open stringers.

Stringer typeVisible profileStock sizing driverTypical use
Open (cut) stringerZigzag notches visible from the sideRemaining depth behind each notch (~3.5in min)Open-sided stairs, contemporary looks
Closed (housed) stringerStraight edge, treads hidden in routed groovesGroove depth into the board faceEnclosed stairs against a wall, traditional builds

Stringer length with a landing turn

Where a stair includes a landing turn, calculate the diagonal stringer length for each flight separately using that flight's own rise and run, rather than trying to apply one Pythagorean calculation across the whole multi-flight stair — the landing itself is framed as a flat platform with its own joists and header, not as part of either stringer's diagonal length.

  1. Split total rise between the flights either side of the landing, per your layout plan.
  2. Calculate each flight's own total run from its individual tread count and depth.
  3. Apply the Pythagorean formula to each flight separately to get two distinct stringer lengths.
  4. Frame the landing platform on its own joists and header, independent of either stringer's length calculation.

Know your numbers in 30 seconds

Enter your step count, tread depth and riser height — the stair runner calculator gives you the exact length to order, in metres and feet, with waste included.

Open the stair runner calculator

Whatever you decide, get the numbers first: the stair runner calculator doubles as a stair runner length calculator, adding nosing wrap, landings, winders, pattern repeat and waste so you order the right length the first time.

Frequently asked questions

How do I calculate stair stringer length?

Take the square root of (total rise squared plus total run squared) — the Pythagorean hypotenuse — then add roughly 12in margin for the top and bottom cuts.

How many stringers does a 36in-wide stair need?

Typically three, spaced no more than about 18in on centre for standard 2x12 dimensional-lumber cut stringers.

What size lumber is used for stair stringers?

2x12 dimensional lumber is the standard choice, sized to leave at least about 3.5in of uncut depth behind each tread/riser notch.

Is stringer length the same as stair runner length?

No — stringer length is the straight diagonal hypotenuse of rise and run, while runner length follows the longer stepped nosing-to-nosing path over every tread and riser.

What length of lumber do I need for a stair with 105in of rise?

For 105in of rise and 130in of run, the diagonal is about 167in; with margin, a 16ft (192in) 2x12 comfortably covers it.

Does stringer spacing change with stair width?

Yes — wider stairs typically need an extra stringer; a 48in-wide stair commonly uses four stringers rather than the three used on a 36in stair.

Know your numbers in 30 seconds

Enter your step count, tread depth and riser height — the stair runner calculator gives you the exact length to order, in metres and feet, with waste included.

Open the stair stringer calculator

Every guide is written from hands-on measuring and fitting experience, checked against the calculator’s own maths, and re-reviewed whenever prices or methods change. Read our editorial standards.

Keep reading