construction calculator

Stair Stringer Calculator

Determine risers, tread depth, and stringer length from total rise and run.

Results

Number of steps
14.00
Actual riser height (in)
6.86
Tread depth (in)
8.57
Stringer length (in)
153.67

Overview

Laying out stair stringers is one of those carpentry tasks where a few simple numbers—total rise, total run, and riser height—drive the whole design. If you miscalculate, you can end up with uncomfortable steps, code violations, or stringers that don’t reach where they should.

This stair stringer calculator helps you translate total rise and run into a practical step count, riser height, tread depth, and stringer length. By starting with your preferred riser height and adjusting to an even spacing, it gives you a layout you can mark onto stringers before cutting.

Use it as a planning aid for deck stairs, basement stairs, or other straight‑run stair projects, then refine and verify against your local building code and structural requirements.

How to use this calculator

  1. Measure the total rise from the finished surface of the lower floor or landing to the finished surface of the upper floor or landing and enter it in inches.
  2. Measure or plan the total horizontal run available for the stair (from the face of the top riser to the nose of the bottom step) and enter it in inches.
  3. Enter your preferred riser height in inches, based on comfort and local code (often somewhere between 7" and 7½" for many interior stairs).
  4. The calculator determines how many steps you can fit, then recomputes the actual riser height and tread depth for that step count.
  5. Review the step count, riser height, tread depth, and stringer length outputs and compare them to your code requirements and comfort preferences.
  6. Use the results to lay out your stringers with a framing square, then add nosing and final tread materials per your design.

Inputs explained

Total rise (in)
The vertical height, in inches, from the finished surface of the lower floor or landing to the finished surface of the upper floor or landing. Include finished flooring thickness if known.
Total run (in)
The total horizontal distance available for the stair run, in inches. This is measured along the floor from the front edge of the top riser to the front of the bottom step.
Preferred riser height (in)
Your target riser height in inches. The calculator uses this as a starting point and then adjusts to a uniform riser height that divides the total rise evenly.

Outputs explained

Number of steps
The total number of risers (vertical steps) required to span the total rise at a comfortable height. There will be one fewer treads than risers on a typical stair run.
Actual riser height (in)
The uniform riser height, in inches, after adjusting your preferred value to divide the total rise evenly. Compare this to local code limits for maximum riser height.
Tread depth (in)
The horizontal run between riser faces, in inches, not including nosing overhang. This helps you check that treads will be deep enough to meet code and feel comfortable.
Stringer length (in)
The length of the stair stringer along its slope, in inches, based on the total rise and total run. This is useful for estimating lumber length and layout.

How it works

You enter the total rise (vertical distance) from the lower finished surface to the upper finished surface and the total horizontal run available for the stair.

You also enter a preferred riser height in inches (for example, around 7" is common in many codes for comfortable stairs).

The calculator divides total rise by your preferred riser height and rounds to a whole number to determine the number of steps (risers).

It then recomputes the actual riser height as Total rise ÷ Step count, giving a uniform riser height that is as close as possible to your preference.

Tread depth is calculated as Total run ÷ Step count, which represents the horizontal run between risers (not including nosing overhang).

Stringer length is found using the Pythagorean theorem based on total rise and total run (the stringer is the hypotenuse of that right triangle).

Formula

Let R_total = Total rise (in)
Let Run_total = Total run (in)
Let h_pref = Preferred riser height (in)

Step count:
  Steps = ceil(R_total ÷ h_pref)

Actual riser height:
  h_actual = R_total ÷ Steps

Tread depth (run per step):
  t_depth = Run_total ÷ Steps

Stringer length (straight-line):
  Stringer_length = √(R_total² + Run_total²)

Use code‑appropriate rounding and adjustments as needed.

When to use it

  • Laying out straight‑run deck stairs and checking that riser heights and tread depths fall within typical code ranges.
  • Determining whether a stair will fit into a given floor opening or room layout before framing walls or cutting stringers.
  • Comparing different riser heights (for example, 7" vs 7.5") to see how they affect step count and tread depth within the same total rise and run.
  • Planning interior stairs for basements or additions where headroom, comfort, and code compliance all matter.
  • Quickly estimating stringer length and stair geometry for material takeoffs and design sketches.

Tips & cautions

  • Always check your local building code for allowed riser heights, tread depths, and maximum variations between steps; adjust your preferred riser height to stay within those limits.
  • Remember that the tread depth here is the run between risers; if you plan to add nosing, the overall foot placement depth will be tread depth plus nosing overhang.
  • Round the step count only in ways that keep riser heights within code and comfortable; small changes in riser height can significantly affect comfort on longer stairs.
  • Verify that the resulting stair run maintains adequate headroom and fits your framing before cutting stringers.
  • Consider using construction adhesive and mechanical fasteners appropriate for your stringer material and environment (for example, exterior vs interior).
  • Designed for straight‑run stairs only; it does not model landings, winders, curved stairs, or split runs.
  • Assumes uniform risers and treads; irregular steps, retrofits, or existing constraints may require custom layout and professional design.
  • Does not validate stringer material size, notch depth, or structural capacity; those must be checked against engineering guidance and local code.
  • Does not account for finish materials (tile, carpet, nosing, etc.) that can change effective riser height and tread depth after installation.
  • Units are in inches; if your plans use metric dimensions, you will need to convert before using this tool.

Worked examples

96" rise, 120" run, 7" preferred riser

  • R_total = 96", Run_total = 120", h_pref = 7".
  • Steps = ceil(96 ÷ 7) = ceil(13.71) = 14 steps.
  • Actual riser height h_actual ≈ 96 ÷ 14 ≈ 6.86".
  • Tread depth t_depth ≈ 120 ÷ 14 ≈ 8.57" between risers.
  • Stringer length ≈ √(96² + 120²) ≈ √(9,216 + 14,400) ≈ √23,616 ≈ 153.68".

108" rise, 144" run, 7" preferred riser

  • Steps = ceil(108 ÷ 7) = ceil(15.43) = 16 steps.
  • Actual riser height ≈ 108 ÷ 16 = 6.75".
  • Tread depth = 144 ÷ 16 = 9".
  • This layout yields comfortable risers and deeper treads suitable for many interior stairs, subject to code.

Shorter stairs with steeper risers

  • If you reduce total run while keeping total rise the same, tread depth decreases and stairs steepen.
  • By adjusting h_pref upward, you can reduce step count, but you must ensure the resulting risers still meet code.
  • The calculator lets you experiment with different preferences to see how geometry and comfort trade off.

Deep dive

Design stair stringers by entering total rise, total run, and a target riser height to get step count, riser height, tread depth, and stringer length.

Use this stair stringer calculator to sanity‑check deck or interior stair layouts for comfort and code ranges before you cut lumber.

FAQs

Does this include nosing?
Add nosing after cutting. The tread depth output is the run between risers.
Are there code limits?
Most codes require risers between 4"–7.75" and treads ≥ 10". Always verify local requirements.
How many treads will I have?
There is typically one fewer tread than risers on a straight run (for example, 14 risers and 13 treads). This calculator focuses on riser count and tread depth; your actual tread count will depend on how the top and bottom steps meet the landings.
Can I use this for exterior deck stairs?
Yes, for geometry and planning. However, exterior stairs may have different riser/tread requirements, slip‑resistance rules, and structural considerations. Always follow local deck codes and manufacturer guidance.
Does this account for finish flooring thickness?
Not explicitly. If you know your finished flooring or tread thickness will affect riser heights, include those dimensions in your total rise and adjust after you finalize materials.

Related calculators

Use this as a planning guide. Confirm final layout against building codes before cutting lumber.