Home · Construction & Home DIY · Stair Stringer Calculator

Stair Stringer Calculator

Work out the riser count, the actual riser height, total run and stringer length for a straight stair from its total rise and tread run. This is a planning calculator only — it does not check or claim compliance with any building code. Results update as you type.

Common sizes

Your stair

Units

Example result — edit any value to make it yours

Run 70 in Rise 60 in
The stair in profile: each riser climbs the same height and each tread runs the same depth, so the stringer is the diagonal of total rise × total run. The dimension labels update with your inputs.
Step view

The stepped profile, to scale from your inputs. Drag to rotate · scroll or pinch to zoom.

What this calculator is for

Planning a single straight flight of stairs: how many risers it divides into, how tall each riser actually lands, how much floor length the flight consumes, and the diagonal length each stringer must span. It is a geometry and planning tool. It does not check your stair against any building code, and nothing on this page should be read as a claim that a result complies with one.

Formula and assumptions

Risers = ceil(total rise ÷ max riser) · Actual riser = total rise ÷ risers · Total run = (risers − 1) × tread run · Stringer = √(total rise² + total run²)

The maximum riser height is an editable planning value that you set — the riser count is simply the smallest count that keeps every riser at or under the value you entered, and the actual riser height is the total rise split evenly across that count, so all risers are equal. There is one fewer tread than risers because the upper floor forms the last tread. The stringer length is the straight diagonal of the total rise and total run — the minimum span of each individual stringer, before end cuts. The stair width field feeds the diagram and that per-stringer note only; it does not change the step math, and this page makes no statement about how many stringers a stair needs or what load anything carries.

Reading your result

The big figure is the riser count with the actual riser height each step lands at — that even-split height, not your maximum, is the number to lay out. Total run is the floor length the flight occupies. The stringer length is per stringer and is a minimum span, not a purchase length. The angle is the stair's pitch, shown for layout reference.

Worked example

A total rise of 60 in with a 10 in tread run and a maximum riser of 7.75 in: risers = ceil(60 ÷ 7.75) = 8 risers, so each riser is 60 ÷ 8 = 7.5 in. Treads = 7, so total run = 7 × 10 = 70 in, and the stringer diagonal = √(60² + 70²) ≈ 92.2 in at an angle of about 40.6°. These figures are computed by the same tested function the calculator above runs — change the inputs and they move together.

Common mistakes

Measuring rise to the subfloor. Total rise is finished floor to finished floor, flooring included at both ends, or the end risers come out uneven. Counting treads equal to risers — the top floor is the last tread, so runs number one fewer. Buying stringer stock at exactly the diagonal length — end cuts and layout need extra length beyond the diagonal. Treating the pre-filled maximum riser as an approved limit — it is a planning input on this page, nothing more; your project's requirements are set by the rules that apply where you build, which this page does not state or check.

Quick reference: common rises

Step geometry at a 7.75 in maximum riser (a planning value, not a code figure), computed by the same function as the calculator:

StairTotal riseTread runRisersRiser heightTotal runStringer
Low step-up30 in10 in47.50 in30 in42.4 in
Porch stair45 in10 in67.50 in50 in67.3 in
Half storey60 in10 in87.50 in70 in92.2 in
Full storey108 in11 in147.71 in143 in179.2 in
Tall storey120 in11 in167.50 in165 in204.0 in

Planning geometry only — verify any real stair against the requirements that apply to your project.

Common questions

Is the maximum riser height here a building-code limit?

No. It is an editable planning value that you choose, pre-filled at 7.75 in only as a starting point for the arithmetic. This page does not look up, apply or claim compliance with any building code — codes differ by place and building type, and only your local code and inspector can say what your stair must meet. Treat every figure here as planning geometry, then verify your design against the rules that apply to your project.

Why is there one fewer tread than risers?

The top riser lands on the upper floor itself — the floor is the final tread. So a stair with 8 risers has 7 horizontal tread runs between the two levels, and the total run is 7 × your tread run. The calculator follows that convention, which is also how the stringer diagonal is measured.

Is the stringer length the board length I should buy?

It is the straight diagonal from the bottom of the first riser to the top of the last — the minimum each stringer spans. Your actual board must also cover the end cuts, the layout of the notches and any tail past the bottom step, so buy longer than the diagonal and lay the cuts out on the board before cutting. The figure is per stringer; how many stringers your width and design need is a separate decision this page does not make.

How do I measure total rise correctly?

Finished floor to finished floor: from the surface you will stand on at the bottom to the surface at the top, including flooring thickness at both ends. Measuring to the subfloor at one end and finished floor at the other is the classic way to end up with a first or last riser that differs from all the others.