Stair Stringer Calculator

Building stairs without a clear plan risks wasting material and time. The most crucial measurement is the stringer length – get it wrong and the entire staircase will be off. A stair stringer calculator removes guesswork by converting your total rise into exact step counts, riser heights, runs, and stringer dimensions.

Use the calculator to instantly generate results, then use the formulas and code tables below to understand and verify every number.

Stair Dimensions
Measure from finished floor below to finished floor above
Typically 10–11″ for residential stairs
0″ if no overhang; ¾–1¼″ is typical per code
Subtracted from first riser cut; 1½″ for standard 2× lumber
IRC: max riser 7¾″ · IBC: max riser 7″
Calculation Results

Cutting tip: After marking all notches on your 2×12, subtract the tread thickness from the bottom of the first riser. This keeps all risers equal after treads are installed. Test-fit one stringer before cutting the rest.

Always confirm your local building code and consult a licensed contractor when in doubt. This calculator provides arithmetic results – it does not replace an engineer's inspection.

How a Stair Stringer Calculator Works

Every stair stringer tool starts with two fundamental inputs: the total vertical rise and a target tread depth. From there, it applies building code limits and geometry to produce a cut list.

Total rise is the vertical distance from the finished floor at the bottom to the finished floor at the top. For deck stairs, measure from the ground or landing to the top of the deck surface.
Tread depth (run) is the horizontal distance from the front edge of one step to the front edge of the next, usually between 10 and 11 inches for residential stairs.
Nosing is the overhang of the tread beyond the riser. A 1- to 1.25-inch nosing is common and effectively increases the usable tread depth.
Tread thickness (material thickness of the step boards) must be subtracted from the bottom of the first riser so that all risers end up identical after installation.
Stringer material is nearly always a 2x12, but deeper members or engineered I-joist stringers may require different notch depths.

The calculator follows these steps internally:

  1. Divide total rise by the maximum allowed riser height (7.75 inches per IRC, or 7 inches in some IBC jurisdictions) and round up to get the number of risers.
  2. Calculate the exact riser height: total rise ÷ number of risers.
  3. Set number of treads = number of risers − 1.
  4. Compute total run = (number of treads) × (tread depth − nosing if you entered nosing).
  5. Determine stringer length using the Pythagorean theorem: √(total rise² + total run²).

The result gives the minimum length of the 2x12 needed and the layout dimensions for each notch.

Stringer Calculation Formulas (Step-by-Step)

If you want to verify the results or hand-calculate before cutting, use these formulas.

Example: total rise = 106 inches, desired tread depth = 10 inches, nosing = 1 inch.

  1. Number of risers = ceiling(106 / 7.75) = ceiling(13.68) = 14 risers.
  2. Riser height = 106 / 14 = 7.57 inches (exactly 7 9/16″).
  3. Number of treads = 14 − 1 = 13.
  4. Actual run per tread = 10″ − 1″ (nosing) = 9″.
  5. Total run = 13 × 9″ = 117″.
  6. Stringer length = √(106² + 117²) = √(11,236 + 13,689) = √24,925 ≈ 157.9″, or 13′ 2″.

Always round the stringer length up to the nearest convenient lumber length (16′ or 14′ depending on availability). The calculator displays the exact math; this example shows how each figure was derived.

Code Requirements for Stair Stringers

Residential stairs in the United States typically follow the International Residential Code (IRC) or local amendments. Commercial projects use the International Building Code (IBC). Key limits:

  • Maximum riser height: 7 3/4″ (IRC), 7″ (IBC).
  • Minimum tread depth: 10″ with nosing, 11″ without nosing (IRC). IBC requires 11″ minimum tread depth.
  • Nosing: 3/4″ to 1 1/4″ overhang when tread depth is less than 11″, not required if depth ≥ 11″.
  • Riser height variance: no more than 3/8″ between the largest and smallest riser in a flight.
  • Headroom: minimum 6 ft 8″ clear above the stair nosing line.
  • Stringer spacing: typically 16″ on center but never more than 18″ for 2x treads.

Check your local building department – adopted codes may impose stricter limits.

Cutting the Stringer: Practical Tips

Even with perfect calculations, the layout on the 2x12 must be exact. Use a framing square with stair gauges set to the calculated riser height and run. Mark all notch lines, then cut carefully with a circular saw and finish corners with a handsaw to avoid overcutting. Remember to drop the stringer: subtract one tread thickness from the bottom of the first riser cut, or add the same amount to the top cut if you prefer a level landing. The calculator factors this when you provide tread thickness.

Test-fit a single stringer before cutting the remaining ones. Use it as a template to trace the others for identical dimensions.


Always confirm your local building code and, when in doubt, consult a licensed contractor. The stair stringer calculator provides arithmetic results – it does not replace an engineer’s inspection.

Frequently Asked Questions

What is a stair stringer?
A stair stringer is the structural member that supports the treads and risers of a staircase. It’s typically a notched board (often 2x12) cut to accept each step. Stringers are placed on each side and sometimes in the middle for wider stairs.
Can I use this calculator for outdoor deck stairs?
Yes, the stair stringer calculator works for both interior stairs and exterior deck stairs. Just enter your total rise and desired tread depth; the tool uses standard code-compliant rise/run ratios that apply to most residential projects.
What is the difference between rise and run?
Rise is the vertical height between two adjacent treads. Run is the horizontal depth of each tread, excluding nosing. Together they determine the slope of the stairs. Building codes define maximum rise and minimum run for safety.
How do I measure total rise correctly?
Measure from the finished floor at the bottom to the finished floor at the top. For exterior stairs, measure from the ground or landing to the top of the deck. Use a level and tape measure, and check multiple points because ground can be uneven.
Do I need to account for tread thickness in stringer layout?
Yes, when cutting stringers you must adjust the first riser height by subtracting the finished tread thickness. This ensures all risers are equal after treads are installed. The calculator automatically factors this if you enter tread thickness.
How accurate is an online stair stringer calculator?
An online calculator gives exact arithmetic results based on the inputs you provide. Accuracy depends on precise field measurements of total rise. Small errors in measuring or rounding can lead to improper fit, so always double-check all figures before cutting.
  1. Stair Calculator