Free calculatorLive resultsSteps and sourcesEmbed on your site, free

Deck Stair Calculator

Deck stair calculator works out Risers and Riser height from Total rise, Number of risers and Maximum riser height allowed. The default figures on this page give riser height of 7.4667 in; change any entry and the result, the working and the sources update together.

Riser height
7.4667 in
Stair Calculator
Risers
15
Treads
15
Tread depth used
11.0000 in
Total run
165.0000 in
Stringer length
199.4217 in
Stair angle
34.1682 deg
Stringer throat depth
5.0721 in
Stairwell opening needed
135.536 in
Comfort rule 2R + T
25.9333 in
Worked out from 2021 International Residential Code Section R311.7, Stairways: R311.7.1 minimum width 36 in, R311.7.2 minimum headroom 6 ft 8 in, R311.7.5.1 maximum riser 7 3/4 in, R311.7.5.2 minimum tread depth 10 in, R311.7.5.3 nosing 3/4 in to 1 1/4 in where tread depth is less than 11 in, and the 3/8 in maximum variation between the largest and smallest riser or tread in a flight and 3 other sources.
2R + T is 25.933 in, outside the 24-25 in band that walks comfortably. The flight is legal if the checks pass, but it will feel steep or shallow.
Stair dimensions are life-safety requirements enforced by the building code your jurisdiction has adopted, and local amendments are common. The limits here are pre-filled with the 2021 IRC values for one- and two-family dwellings; confirm the governing code and edition with your building department, and have the design reviewed before you cut a stringer.

Your figures

Updates as you type
Finished floor to finished floor, measured vertically.
Leave blank to use the fewest risers that stay within the maximum riser height.
IRC R311.7.5.1 sets 7 3/4 in for dwellings. Commercial and some state codes are lower.
Nosing to nosing. Leave blank to use the minimum tread depth below.
IRC R311.7.5.2 sets 10 in for dwellings.
Actual dressed width of the stringer stock. A 2x12 is 11 1/4 in.
Least remaining depth behind the notch that your code or engineer requires on a cut stringer.

How this is worked out

4 steps
  1. Risers = ceil(112 / 7.75) = 15; riser height = 112 / 15 = 7.466666666666667 in
  2. Treads = 15; total run = 15 x 11 = 165 in
  3. Stringer = sqrt(112^2 + 165^2) = 199.42166381815193 in at 34.16818532502535 degrees
  4. Throat = 11.25 - (7.466666666666667 x 11) / sqrt(7.466666666666667^2 + 11^2) = 5.072135587418261 in
Checks against the limits enteredtable
Riser 7.467 in is within the 7.75 in maximum., Tread 11 in meets the 10 in minimum., Width 36 in meets the 36 in minimum., Tread is 11 in or deeper, so the IRC does not require a nosing., Cut stringer keeps 5.072 in of throat, at or above the 3.5 in you required.

Its 5 worked examples are re-run on every release, last on 15 September 2026. What changed

Sources and references

4 sources

Keep this result

Save it, change one figure, then compare the two

The calculation stays free. Save this scenario, adjust one assumption, save that too, and put them side by side to see exactly what the change costs you. A free account keeps 5 scenarios and 2 comparisons; Personal makes both unlimited and adds exports and private links. Nothing is saved unless you press Save.

1 · Calculate2 · Save3 · Compare4 · Export5 · Share
Open workspace

What the deck stair calculator calculates

Lays out a straight flight of stairs: equal riser height from the total rise, tread count, total run, stringer length and cut angle, cut-stringer throat depth, the stairwell opening needed for headroom, and a check of each dimension against the code limits you are working to.

How to use this deck stair calculator

Enter Total rise, Number of risers, Maximum riser height allowed and Tread depth. Risers updates as you type. Change one figure at a time to see what drives the result.

How the result is worked out

Open “How this is worked out” beside the result for the step-by-step calculation behind Risers, Riser height and Treads.

The method follows 2021 International Residential Code Section R311.7, Stairways: R311.7.1 minimum width 36 in, R311.7.2 minimum headroom 6 ft 8 in, R311.7.5.1 maximum riser 7 3/4 in, R311.7.5.2 minimum tread depth 10 in, R311.7.5.3 nosing 3/4 in to 1 1/4 in where tread depth is less than 11 in, and the 3/8 in maximum variation between the largest and smallest riser or tread in a flight, BUILDABLE_REVIEW_NEEDED: geometry is deterministic, the dimensional limits require the adopted code and specialist approval, so every limit is exposed as an input, OpenStax, Elementary Algebra 2e (Pythagorean theorem and proportional relationships used for the stringer length and stairwell opening) and US Department of Commerce Voluntary Product Standard PS 20 (2x12 stringer stock dresses to 11 1/4 in).

What you can compare

Change one input at a time to see how it affects Risers, Riser height and Treads. The inputs you can vary are Total rise, Number of risers, Maximum riser height allowed, Tread depth, Minimum tread depth allowed and Top riser lands on the floor above.

Understanding Risers, Riser height and Treads

Stair dimensions are life-safety requirements enforced by the building code your jurisdiction has adopted, and local amendments are common. The limits here are pre-filled with the 2021 IRC values for one- and two-family dwellings; confirm the governing code and edition with your building department, and have the design reviewed before you cut a stringer.

Results are general information, not financial, tax, legal, medical or engineering advice. Check any decision that matters with a qualified professional.

Embed this calculator on your website

Copy this code into any page. The calculator appears with the figures currently entered, sizes itself to fit, and a small credit line links back here. Free, no account, no ads inside it, no tracking of your readers. Set your own figures and fixed fields; Personal removes the credit line, sets your colour and shows you which sites use it.

Preview

See something wrong? Report a problem with this calculator

Frequently asked questions

How to calculate deck stairs?

Lays out a straight flight of stairs: equal riser height from the total rise, tread count, total run, stringer length and cut angle, cut-stringer throat depth, the stairwell opening needed for headroom. Open “How this is worked out” beside the result to see each step for your own figures.

Do you use 2x10 or 2x12 for stair stringers?

Lays out a straight flight of stairs: equal riser height from the total rise, tread count, total run, stringer length and cut angle, cut-stringer throat depth, the stairwell opening needed for headroom. On the figures this page opens with — total rise 112 in — the riser height is 7.4667 in. Put your own figures in their place and the working updates beside the result.

What information do I need for the deck stair calculator?

You need Total rise, Number of risers, Maximum riser height allowed, Tread depth, Minimum tread depth allowed, Top riser lands on the floor above, Stair width and Minimum width allowed. The page opens with default figures that give riser height of 7.4667 in, so you can see the scale before entering your own.

What does this deck stair calculator show?

It shows Risers, Riser height, Treads, Tread depth used, Total run, Stringer length, Stair angle and Stringer throat depth, with the working and any warnings for your entries.

Can I check how the deck stair calculator result was calculated?

Yes. The “How this is worked out” section shows the calculation steps, and the sources section identifies the references used for the method.

Related calculators

View all related calculators9 more