Stair Stringer Calculator

Number of risers15
Actual riser height7 3/16"
Number of treads14
Total run11' 8"
Stringer length14' 8 13/16"
Stair angle37.6°
Drop the first riser cut by 1.5" (the tread thickness) so the bottom step ends up the same height as the rest once the tread board is added.

Stringer length = √(total rise² + total run²), cut along the riser/tread layout lines.

A stair stringer calculator takes total rise and total run and returns a code-compliant riser height, tread depth, and the number of steps needed, along with the exact layout for marking and cutting the notched stringer boards. This page covers how the tool applies IRC residential requirements, walks through a worked example from measured rise and run, and lists the mistakes that lead to an uneven or non-compliant staircase.

What the Stair Stringer Calculator Solves

A stringer is the diagonal board, usually 2x12 lumber, that gets notched into a sawtooth shape to support stair treads and risers. The hard part of designing one by hand is dividing an uneven total rise, say 108 inches from the lower floor to the upper floor, into a whole number of equal risers that also fall within code limits. This calculator automates that division, then works backward to confirm the resulting tread depth also meets the minimum run requirement, so the whole flight is legal and comfortable to walk before a single cut is made.

How to Use the Stair Stringer Calculator

Measure the total rise, the exact vertical distance between the two finished floor levels the stairs connect, and enter it into the stair stringer calculator. Add the total run available, or leave it open if you want the calculator to suggest a run based on a comfortable tread depth. It returns the number of risers, the exact riser height, the tread depth, and the stringer board length needed, plus the angle at which the stringer meets the floor. Always measure total rise with a straight board and level rather than a tape alone, since small errors compound across every step in the flight.

IRC Residential Stair Requirements

The International Residential Code sets a maximum riser height of 7¾ inches and a minimum tread depth of 10 inches for a standard residential staircase, and this tool will not return a layout that violates either limit. Riser height must also stay consistent within the flight: the code allows no more than a 3/8-inch difference between the tallest and shortest riser, since an inconsistent step is one of the leading causes of stair falls. Headroom above the stair nosing must be at least 6 feet 8 inches, and while it does not check headroom directly, it is worth verifying separately before finalizing a design.

Worked Example

Suppose the total rise between floors is 108 inches and you have 11 feet, or 132 inches, of horizontal run available. Dividing 108 by 7 inches gives roughly 15.4, so round up to 16 risers, then divide again: 108 ÷ 16 = 6.75 inches per riser, which is well under the 7¾-inch code maximum. With 16 risers there are 15 treads, so 132 ÷ 15 = 8.8 inches of run per tread, below the 10-inch minimum, meaning the run needs to be extended or the design adjusted. This is exactly the kind of back-and-forth the calculator handles automatically, flagging when a given rise and run combination cannot produce a compliant tread depth.

Common Riser and Tread Combinations

Total RiseRisersRiser HeightTread Depth (10ft run)
90"127.50"10.9"
96"137.38"10.0"
108"157.20"9.4"*
120"167.50"8.8"*

*Rows marked with an asterisk need more horizontal run to meet the 10-inch tread minimum; the calculator will flag these automatically.

Mistakes to Avoid

The most common stair stringer calculator mistake, and one this stair stringer calculator cannot catch on its own, is measuring total rise from the subfloor instead of the finished floor, which throws off every riser by the thickness of the flooring material once it is installed. Skipping the code check on tread depth is another frequent error, since a design can have a perfectly reasonable riser height and still fail because the available run is too short for a comfortable step. Cutting the first stringer as a template and test-fitting it against the actual floor before cutting two or three more identical stringers catches layout errors early. Finally, forgetting to subtract the thickness of the tread material from the top riser height leaves the first step taller than the rest, a subtle error the tool cannot catch because it depends on your chosen finish materials.

Materials and Cutting Tips

Standard 2x12 lumber gives enough depth for a stair stringer calculator layout to notch a stringer without weakening it, since the deepest cut typically removes only about a third of the board's width. A circular saw handles the straight cuts well, but finishing each notch's inside corner with a handsaw or jigsaw avoids the overcut that a circular saw's round blade leaves behind. Marking every riser and tread line with a framing square set to the calculator's output speeds up layout and keeps every stringer in a set identical. Pressure-treated lumber is worth the extra cost for any stringer used outdoors or in a damp basement stairwell.

Related Calculators

A stair stringer calculator pairs naturally with the stair calculator for planning the overall staircase, including handrail height and stair angle, before cutting individual stringers. If the stairs lead to a deck or porch, check footing sizes with the concrete yard calculator, and if the staircase is part of a larger roof or framing project, the rafter calculator and roof pitch calculator keep the rest of the structure's measurements consistent. Running rise and run through the stair stringer calculator before buying lumber avoids the wasted material that comes from a design that turns out to be non-compliant.

FAQ

What does a stair stringer calculator do?

A stair stringer calculator divides total rise and total run into a whole number of even risers and treads, then returns the exact riser height, tread depth, and stringer length needed to lay out and cut the notched boards that support the stair treads.

How many stringers does a staircase need?

Most residential stairs need at least two stringers for widths up to about 36 inches, and a third center stringer for wider stairs or when using thinner tread material, since this calculator only sizes one stringer at a time and you cut the rest to match.

What is the maximum riser height allowed by code?

The IRC residential maximum riser height is 7¾ inches, with a minimum tread depth of 10 inches, and the variance between the tallest and shortest riser in one flight cannot exceed 3/8 inch.

Can a stair stringer calculator handle an open or closed stringer?

Yes, the layout math is identical either way. A closed stringer hides the saw cuts behind a solid board face, while an open stringer shows the sawtooth profile, but the calculator returns the same riser and tread numbers for both styles.