Construction · stairs
Stair stringer calculator.
Turn the total rise into a practical riser count, tread run, stringer length, and preliminary stringer layout.
Stair inputs
Stair layout
Use the layout as a starting point
The number of risers is rounded up so the actual riser does not exceed the selected maximum. The top landing is not counted as a tread. Confirm landings, headroom, handrails, guards, nosings, stringer stock, and cuts against the locally adopted code and your framing plan.
How the stair stringer calculation works
A stair layout starts from one measurement, the total rise: the vertical distance from the finished floor at the bottom to the finished floor at the top. Everything else follows from four steps, and the calculator shows each result.
- Number of risers = total rise ÷ maximum riser, rounded up. Rounding up keeps every riser at or below your limit.
- Actual riser height = total rise ÷ number of risers. All risers are identical, which is what makes the stair feel safe.
- Number of treads = risers − 1. The top landing or floor is the last “step”, so a flight always has one fewer tread than risers.
- Total run = treads × tread depth, and stringer length = √(total rise² + total run²), the straight line along the tops of the notches.
The tool also reports 2 × riser + tread, a comfort rule credited to Nicolas-François Blondel, who specified that 2 × riser + tread gives the step length. The calculator flags a result outside about 24 to 25 in (610 to 635 mm) as a planning warning, and flags a tread under 10 in (255 mm in metric mode). Stringer count is 2 for stairs up to 3 ft wide and 3 for wider stairs, a common practice rather than a code rule.
Worked example: an 8 ft rise
The default inputs are an 8 ft total rise, a 3 ft wide stair, a 10 in tread and a 7.5 in maximum riser.
- Total rise = 96 in. 96 ÷ 7.5 = 12.8, rounded up to 13 risers.
- Actual riser = 96 ÷ 13 = 7.38 in.
- Treads = 13 − 1 = 12. Total run = 12 × 10 = 120 in, or 10 ft.
- Stringer length = √(8² + 10²) = 12.81 ft. The stair angle is arctan(7.38 ÷ 10), about 36.4°.
- Comfort check: 2 × 7.38 + 10 = 24.77 in, inside the 24 to 25 in planning range.
A shorter flight shows the rounding at work. A 42 in rise (3.5 ft) with a 7.75 in maximum riser is 42 ÷ 7.75 = 5.42, so 6 risers of exactly 7.00 in, 5 treads, a 50 in (4.17 ft) run and a 5.44 ft stringer. Because the actual riser (7.00 in) is below the maximum, the stair is a little gentler than the limit allows, which is the correct result of rounding up. A 4 ft wide stair of this height would get three stringers in the tool's output.
Rise and run limits: what the numbers mean
The International Residential Code, as summarised by Fine Homebuilding, limits the riser to 7¾ in and sets the minimum run at 10 in. It allows no more than 3/8 in of variation in riser height or run over the whole stair, and the advice is to aim for none. Canada, the UK, Australia and individual US jurisdictions each set their own numbers, and some local amendments allow shallower treads. The “Code region” selector on this page changes only the reminder text under the result; it does not change the arithmetic, so type the maximum riser and minimum tread from the code that applies to your project. Maximum riser, minimum tread, handrail height, guard height, headroom and landing size must all be checked together.
Details the calculator does not draw for you
- The first riser. The first tread adds its own thickness to the bottom step, so the bottom riser on the stringer is cut one tread thickness shorter, and if the finish floor at the bottom is not installed yet its thickness has to be added back. Either way the goal is that every riser measures the same once everything is finished.
- Stock left under the notches. Fine Homebuilding recommends leaving at least 5 in of stringer stock at the back after the notches are cut. A 2×12 with a 10 in run barely meets this, and a longer run leaves less.
- Nosing. Treads with a run under 11 in need an overhang over the riser below, so the tread board is deeper than the run you enter.
- Board length. The stringer length is the hypotenuse of the layout, not the length of lumber to buy. You need extra for the top and bottom cuts and for the end that attaches to the framing.
Common mistakes
- Measuring the total rise to the subfloor instead of the finished floor, which makes every riser wrong once flooring is laid.
- Counting the top landing as a tread and adding a tread that does not exist.
- Rounding the riser count down to make the numbers neat, which pushes the actual riser above the limit.
- Cutting each stringer separately by eye instead of cutting one and using it as a template for the rest.
- Treating the layout as a design. It is a starting point; the framing plan, load path and attachment details still have to be right.
What this calculator does not cover
It does not set landing sizes, headroom, handrail or guard details, winders or spiral stairs, or the strength of the stringer lumber. It does not check deck-to-ground attachment or footings. Outdoors, use it alongside the deck calculator, the lumber calculator and the concrete calculator for the landing pad, and the baluster spacing calculator for the guard.
Frequently asked questions
How do I calculate stair stringers?
Measure the total rise from finished floor to finished floor, divide by your maximum riser and round up to get the number of risers, then divide the rise by that number for the actual riser height. Treads are one fewer than risers, the run is treads times tread depth, and the stringer is the hypotenuse of the rise and the run.
Why are there fewer treads than risers?
The top of the flight lands on the upper floor, which acts as the last step. A flight with 13 risers therefore has 12 treads. The calculator does the same and does not count the top landing as a tread.
What is the maximum riser height and minimum tread depth?
The International Residential Code, as summarised by Fine Homebuilding, allows a maximum riser of 7 3/4 inches and a minimum run of 10 inches, with no more than 3/8 inch of variation across the stair. Other countries, provinces and local jurisdictions differ, so enter the limits from your own code.
What does the 2 times riser plus tread check mean?
It is a comfort rule credited to Nicolas-Francois Blondel, who specified that twice the riser plus the tread gives the step length. The calculator warns when the sum falls outside about 24 to 25 inches (610 to 635 millimetres). It is a planning guide, not a code requirement.
How long a board do I need for the stringer?
The stringer length shown is the straight line along the notch tips, so buy longer stock to allow for the end cuts and attachment. Also check that enough wood remains under the notches; Fine Homebuilding recommends at least 5 inches of stock at the back, which a 2x12 with a 10 inch run only just provides.
How many stringers does a staircase need?
The calculator suggests 2 for stairs up to 3 feet wide and 3 for wider stairs, which is common practice. Tread material, span between stringers and the code you build under can require more, so confirm with your plans.
Does the calculator include landings, handrails and headroom?
No. It calculates risers, treads, run and stringer length only. Landings, headroom, handrails, guards and tread nosing must be checked against your local code and framing plan.
Can I use the calculator for Canada, the UK or Australia?
You can use the geometry anywhere, in imperial or metric. The code region setting only changes the reminder text beneath the result. Look up the maximum riser and minimum tread for your own jurisdiction and type them in.
Sources
- Laying Out Basic Stair Stringers (Fine Homebuilding) — round the riser count up, one fewer tread than risers, IRC 7 3/4 in riser and 10 in run, 3/8 in variation, 5 in of stock under notches, nosing (retrieved 2026-10).
- Stairs (Wikipedia) — steps are counted by risers, total run is one fewer than the number of steps times the going, Blondel relationship, three stringers typical (retrieved 2026-10).