DrHint logoDrHint

Stair Stringer Calculator: Rise, Run, Steps Count & Stringer Length

Uneven stair risers are one of the most common causes of trips and falls, which is why building code requires all risers in a run to be within a fraction of an inch of each other. This calculator divides your total rise into equal steps, computes exact riser height, and sizes the 2x12 stringer board length needed to cut safe, code-friendly stairs.

Number of risers/steps
5
Exact riser height
7.200 in
Total run
42.00 in
Stringer length (2x12)
5.61 ft
67.3 in

Cut 5 steps at 7.200 in rise and 10.5 in run; use a 2x12 at least 5.61 ft long.

Stringer layout breakdown
MetricValue
Total rise36 in
Number of risers5
Exact riser height7.200 in
Number of treads4
Tread depth10.5 in
Total run42.00 in
Stringer length needed67.3 in (5.61 ft)
7/11 rule (riser+tread)17.70 in — Compliant

Formula & step-by-step maths

1.NumRisers = round(TotalRise / TargetRiser)
2.ExactRiser = TotalRise / NumRisers
3.TotalRun = (NumRisers − 1) × TreadDepth
4.StringerLength = √(TotalRise² + TotalRun²) + 12 in
TotalRise
Vertical height floor-to-floor (in)
TreadDepth
Horizontal depth of each step (in)

Why risers must be recalculated, not just rounded

Total rise rarely divides evenly by a round riser height like 7.5 inches, so this calculator rounds to the nearest whole number of steps first, then divides the total rise by that count to get the exact riser height every cut must match. Even 1/8 inch inconsistency between risers is enough to trip someone.

The 7/11 rule and comfort ratios

The common 7/11 rule (7 inch riser, 11 inch tread) balances safety and comfort — steeper stairs with taller risers and shallower treads feel cramped and are riskier, while very shallow stairs use excess space. Most codes require riser+tread sum to fall roughly between 17 and 18 inches for a comfortable, safe stride.

Sizing the stringer board

The stringer length is the hypotenuse of the total rise and total run right triangle (Pythagorean theorem), plus about 12 inches of extra material to safely cut the top and bottom bird's-mouth notches without running out of board. Always round up to the next standard lumber length (8, 10, 12, or 14 ft) when purchasing.

Headroom and other code considerations beyond this calculator

This calculator handles rise, run, and stringer length, but headroom clearance (typically a minimum of 80 inches measured vertically from any tread nosing) is a separate code requirement that depends on the floor structure above the stairs. Always verify headroom, handrail height, and local frost-footing depth requirements with your specific building department.

Reference: risers and stringer length by total rise (10.5in tread)

Total riseRisersStringer length (approx)
24 in3~5.2 ft
36 in5~6.9 ft
48 in6~8.4 ft
60 in8~10.4 ft
72 in10~12.3 ft
96 in13~16.0 ft

People also ask

How do I calculate stair stringer rise and run for deck steps?

Measure total vertical rise from the ground to the deck surface, divide by your target riser height (commonly 7-7.5 in) rounded to a whole number of steps, then multiply the number of treads (one less than risers) by your chosen tread depth to get total run.

How long a 2x12 do I need for a 36 inch total rise?

For a 36 inch total rise with a typical 10.5 inch tread depth, you'll need a 2x12 approximately 6.9-7 ft long including the extra material for cutting the top and bottom notches — always round up to the next standard board length.

What is the maximum riser height allowed by code?

Most US residential codes (IRC) cap maximum riser height at 7.75 inches, with a maximum variance of 3/8 inch between the tallest and shortest riser in the same stairway.

What does the 7/11 rule mean?

It refers to a common comfortable stair ratio of a 7 inch riser and an 11 inch tread; the more precise code-based rule requires riser height plus tread depth to total between about 17 and 18 inches.

Can all my risers be slightly different heights?

No, building code strictly limits riser height variance to typically no more than 3/8 inch between the largest and smallest riser in a single stair run, since inconsistent risers are a major tripping hazard.

How many stringers do I need for a set of stairs?

Most residential stairs use a minimum of 2 stringers for narrow stairs under 36 inches wide, and 3 stringers for wider stairs to prevent tread sagging in the middle — check your local code and decking material span rating.

Does tread depth affect riser height?

They are calculated somewhat independently, but comfort and code ratios (like 7/11) link them together — a shorter riser can pair with a deeper tread and vice versa, as long as the combined sum stays within the recommended range.

What is a bird's-mouth cut on a stringer?

It's the notched cutout where the stringer sits on the deck ledger or landing pad, forming a stable seat cut alongside the vertical plumb cut that supports the structure's weight at the base.

How much headroom clearance do stairs need?

Most codes require a minimum of 80 inches (6 ft 8 in) of headroom measured vertically from the nosing of each tread to any overhead structure, though this varies slightly by jurisdiction.

Should exterior deck stairs use different riser heights than interior stairs?

Building codes generally apply similar riser and tread requirements to both, though some jurisdictions allow slightly taller risers (up to 8 in) for exterior stairs — always confirm with your local code before finalizing your cut list.

Three worked examples

Same engine, three different starting points — useful if you want to see how sensitive the answer is before you type your own numbers in.

Example 1: total rise (vertical height) 28.08 in

Number of risers/steps
4
Exact riser height
7.020 in
Total run
31.50 in
Stringer length (2x12)
4.52 ft
54.2 in

On the lower / more conservative end. Cut 4 steps at 7.020 in rise and 10.5 in run; use a 2x12 at least 4.52 ft long.

Example 2: total rise (vertical height) 36 in

Number of risers/steps
5
Exact riser height
7.200 in
Total run
42.00 in
Stringer length (2x12)
5.61 ft
67.3 in

A typical middle-of-the-road setup. Cut 5 steps at 7.200 in rise and 10.5 in run; use a 2x12 at least 5.61 ft long.

Example 3: total rise (vertical height) 46.8 in

Number of risers/steps
6
Exact riser height
7.800 in
Total run
52.50 in
Stringer length (2x12)
6.86 ft
82.3 in

On the higher / more demanding end. Cut 6 steps at 7.800 in rise and 10.5 in run; use a 2x12 at least 6.86 ft long.

Quick answers about the Stair Stringer

What exactly does the Stair Stringer work out?

Uneven stair risers are one of the most common causes of trips and falls, which is why building code requires all risers in a run to be within a fraction of an inch of each other. You enter total rise (vertical height), target riser height and preferred tread depth and the result panel updates straight away, so you can compare two or three versions of the same question in a few seconds.

What do I need before I start?

Only 3 fields: total rise (vertical height), target riser height and preferred tread depth. Nothing else is needed and nothing is stored.

How is it calculated — why risers must be recalculated, not just rounded?

Total rise rarely divides evenly by a round riser height like 7. The same maths runs inside this page, so hand-checking the result on paper gives you the identical figure.

Why do two calculators give me different answers for stair Stringer?

The common 7/11 rule (7 inch riser, 11 inch tread) balances safety and comfort — steeper stairs with taller risers and shallower treads feel cramped and are riskier, while very shallow stairs use excess space. Different sites pick different assumptions, so always check which method a calculator states before you trust the gap between two numbers.

What does the "Reference: risers and stringer length by total rise (10.5in tread)" table on this page tell me?

It is the reference range this tool works against — 6 rows from "24 in" (3) up to "96 in" (13). Use it to sanity-check whether the number you just calculated sits where you expected it to.

Do I have to press a button or reload the page to see the result?

No. Stair Stringer runs completely inside your browser, so the moment you change a value the cards recalculate — there is no submit step, no page reload and no waiting for a server round trip. That also means it keeps working on a weak or intermittent mobile connection.

Is it free, and do you keep what I type?

It is free with no sign-up, no app install and no usage limit. Nothing you enter into Stair Stringer leaves your device — the calculation is JavaScript running locally, so there is no upload of your figures to DrHint or anyone else.

Can I use it on a phone?

Yes — the layout stacks to a single column on small screens and the number fields open the numeric keypad on both Android and iOS. Many people bookmark this page or add it to their home screen and re-open it whenever the question comes up.

Anything to be careful about with the result?

Measure total vertical rise from the ground to the deck surface, divide by your target riser height (commonly 7-7. Treat the output as a well-grounded estimate for planning, not as a professional, legal or medical decision on its own.

Next useful tool