Stair Calculator

Stair Calculator finds risers, step height, first step, total run, stringer length and angle using rise, tread depth and tread thickness. Formula: stringer length = √(stringer rise² + run²).

in
in
in
in
Number of Risers
14 Risers
7.50 in Height of Typical Step [F]
Typical Step [F]
7.50 in
First Step [E] 6.50 in
Tread Depth [B] 10.00 in
Dimensions of individual steps adjusting for tread thickness.
Stringer Length
162.50 in
Steps on Stringer [D] 13 Steps
Placement Drop [H] 7.50 in
The structural board length and mounting offset required.
Total Run [G]
130.00 in
Total Rise [A] 105.00 in
Total Treads 13 Treads
The total horizontal footprint distance the stairs will cover.
Stair/Rail Angle
36.87°
Slope Ratio 0.75
Pitch Status Optimal
The steepness pitch of the stairs relative to the floor.
Advanced Framing Note
To ensure all finished steps are exactly equal height, the bottom stringer cut (First Step [E]) is shortened by the Tread Thickness [C]. Flush mounts add one extra tread to the stringer.

This Stair Calculator computes riser count, typical step height, first step height, stringer length, total run, steps on stringer, placement drop, and stair angle from your floor-to-floor rise, tread dimensions, and stringer mount type. Enter Total Rise [A], Tread Depth [B], Tread Thickness [C], and a target step height to get a complete stair geometry layout in US Customary or Metric units. Verify all dimensions against local building code before cutting stringers or tread stock.

What the Stair Calculator Measures

The calculator returns eleven outputs covering step dimensions, stringer geometry, overall layout, and pitch classification. Each result updates when any input changes.

Result

Number of Risers

The total count of vertical rises from the lower floor to the deck, calculated by rounding the total rise divided by the target step height. This integer determines every other result.

Result

Typical Step Height [F]

The exact uniform riser height once the total rise is divided evenly by the riser count. This is the dimension you mark on the stringer with a framing square or stair gauge.

Result

First Step Height [E]

The reduced bottom riser cut, equal to the typical step height minus tread thickness. This correction ensures every finished step — including the first — measures the same height once tread boards are laid.

Result

Steps on Stringer [D]

The count of tread-bearing notches cut into the stringer board. One fewer than total risers for Standard Mount; equal to total risers for Flush Mount.

Result

Placement Drop [H]

How far the stringer top sits below the deck surface. Equals the typical step height for Standard Mount, or just the tread thickness for Flush Mount. Determines the top seat cut position.

Result

Total Run [G]

The full horizontal footprint of the stair from the base of the stringer to the deck face, calculated as steps on stringer multiplied by tread depth. Use this to plan ground clearance and landing space.

Result

Stringer Length

The diagonal length of the structural stringer board — the hypotenuse of the right triangle formed by stringer rise and total run. This is the minimum rough board length needed before bearing cuts.

Result

Stair / Rail Angle

The pitch angle in degrees, derived from the arctangent of typical step height over tread depth. Used for railing post layout, rail cuts, and pitch classification — the same angle applies to the stringer and the handrail.

Input Guide

Four dimensions control every result. Small changes to tread thickness or mount type can shift stringer length, total run, and placement drop noticeably — enter measurements from the finished condition, not rough framing, wherever possible.

Input A

Total Rise [A]

The vertical distance measured plumb from finished floor at the bottom landing to finished deck surface at the top. This is the single most important input — a measurement error here distributes across every riser. If finished flooring is not yet installed, account for its thickness in your entry.

Target

Target Step Height

Your desired riser height. The calculator rounds the riser count to the nearest whole number and back-calculates the actual typical step height from the exact total rise. The target guides the rounding; the final typical step height is the authoritative layout dimension.

Input B

Tread Depth [B]

The usable horizontal run of each tread, measured nosing-to-nosing or riser face-to-riser face. Enter the walking depth of the finished tread, not the full board width. Tread depth directly controls both total run and stringer notch layout.

Input C

Tread Thickness [C]

The actual thickness of your tread material — typically 1 in for dimensional lumber, 1.5 in for 5/4 decking, or a specific value for composite or tile treads. This value is subtracted from the typical step height to calculate the first step height. An inaccurate entry here produces unequal finished risers.

Standard Mount

Standard Mount — Below Deck

The stringer top sits below the deck surface by one full typical step height. The deck band joist or rim board forms the top riser face, so the stringer only carries the tread positions below the deck level.

Steps on Stringer [D] Risers − 1
Placement Drop [H] = Typical Step [F]
Flush Mount

Flush Mount — Even with Deck

The stringer top sits flush with the deck surface. The stringer carries all tread positions, including the top step at deck level. Placement drop reduces to just the tread thickness, giving a slightly longer stringer for the same total rise.

Steps on Stringer [D] = Risers
Placement Drop [H] = Tread Thickness [C]

Changing mount type while keeping all other inputs the same will change total run, stringer rise, and stringer length. Confirm which mount your deck framing requires before using the stringer length output to select board stock.

Stair Calculator Formulas

The following formulas define every output. All values use the measurement system selected in the inputs — inches (US Customary) or millimeters (Metric).

1 — Number of Risers

$$\text{Risers} = \operatorname{round}\!\left(\frac{A}{\text{Target Step Height}}\right)$$

The riser count rounds to the nearest whole number. Because stairs must have an integer number of steps, the actual typical step height will differ slightly from the target when the total rise does not divide evenly.

2 — Typical Step Height [F] and First Step Height [E]

$$F = \frac{A}{\text{Risers}} \qquad E = F - C$$

$F$ is the uniform riser used on every stringer notch. $E$ reduces the bottom cut by the tread thickness $C$, so the finished rise at the first step equals $F$ once the tread board is installed — matching every step above it.

3 — Steps on Stringer [D] and Placement Drop [H] by Mount Type

$$\text{Standard: } D = \text{Risers} - 1,\quad H = F$$ $$\text{Flush: } D = \text{Risers},\quad H = C$$

Mount type shifts both the tread count on the stringer and the depth of the top seat cut. This is why total run and stringer length differ between mount types even when all dimension inputs are identical.

4 — Total Run [G]

$$G = D \times B$$

Total run is the full horizontal footprint of the stair from stringer base to deck face. It multiplies the stringer step count $D$ by the tread depth $B$.

5 — Stringer Rise and Stringer Length

$$\text{Stringer Rise} = A - H \qquad \text{Stringer Length} = \sqrt{(\text{Stringer Rise})^2 + G^2}$$

Stringer rise is the net vertical span after subtracting the placement drop. Stringer length is the hypotenuse of the right triangle formed by stringer rise and total run — the minimum rough board diagonal needed before top and bottom bearing cuts.

6 — Stair Angle and Slope Ratio

$$\theta = \tan^{-1}\!\left(\frac{F}{B}\right) \qquad \text{Slope Ratio} = \frac{F}{B}$$

The stair angle $\theta$ is expressed in degrees and is used directly for railing miter settings and post layout. The slope ratio is the unitless rise-over-run value — a ratio of 0.75 means 3 units of rise for every 4 units of run.

Standard Mount vs Flush Mount: How Results Change

Mount type is the most commonly misunderstood input in a stair stringer calculator. The same total rise and tread depth will produce different total run, stringer rise, and stringer length depending on whether the framing is Standard or Flush. Here is why.

  • Standard Mount: The deck band joist or rim board provides the top riser face. The stringer carries only the steps below the deck — that is, Risers − 1 tread positions. Placement Drop [H] equals one full typical step height, so the stringer top sits one riser below the deck.
  • Flush Mount: The stringer top aligns flush with the deck surface and carries all tread positions, including the top step. Placement Drop [H] reduces to just the tread thickness, giving a smaller stringer rise and a longer diagonal stringer board compared to Standard Mount for the same total rise.
  • Total run changes because $G = D \times B$ — and $D$ differs by one step between the two mount types when all other inputs are identical.
  • Stringer length changes because both the stringer rise ($A - H$) and total run $G$ shift when mount type changes, even though total rise $A$ and tread depth $B$ remain the same.

If your deck framing type is uncertain, confirm the connection method with your structural plans or a licensed contractor before finalizing stringer length and ordering board stock.

Worked Example

Standard Mount, US Customary units. Each result follows directly from the formulas above.

Input Value
Measurement SystemUS Customary (inches)
Mount TypeStandard Mount (Below Deck)
Total Rise [A]105 in
Target Step Height7.5 in
Tread Depth [B]10 in
Tread Thickness [C]1 in
Number of Risers
14 Risers
round(105 ÷ 7.5) = round(14.0) = 14
Typical Step [F]
7.50 in
105 ÷ 14 = 7.50 in
First Step [E]
6.50 in
7.50 − 1.00 = 6.50 in
Steps on Stringer [D]
13 Steps
14 − 1 = 13 (Standard Mount)
Placement Drop [H]
7.50 in
= Typical Step [F] (Standard)
Output Calculation Result
Total Run [G] 13 × 10 in 130.00 in
Stringer Rise 105 − 7.50 97.50 in
Stringer Length √(97.50² + 130.00²) 161.90 in
Stair / Rail Angle arctan(7.50 ÷ 10) 36.87°
Slope Ratio 7.50 ÷ 10 0.75
Pitch Status 36.87° falls between 30° and 40° Optimal

Reading the Results

Each result card maps to a specific layout or material decision. Here is how to apply each value on site.

Number of Risers

The integer step count from grade to deck. Use it to plan riser board stock quantity and to verify your stringer notch count matches the deck framing before cutting.

Typical Step Height [F]

The uniform riser used to set stair gauges or mark the framing square for all notch positions on the stringer. Every notch layout point uses this value.

First Step Height [E]

The reduced bottom riser cut. Verify this against your actual tread stock thickness before cutting. An incorrect tread thickness entry produces an unequal bottom step in the finished stair.

Stringer Length

The minimum diagonal length for the structural stringer board. Add 6–12 in to this value when selecting rough lumber to preserve adequate net section depth after the top seat and bottom bearing cuts.

Total Run [G]

The full horizontal footprint of the stair. Confirm sufficient ground clearance, that no obstructions fall in the stair path, and that the footprint meets any required setback from property lines or structures.

Stair / Rail Angle

The degree pitch for railing post plumb cuts and rail miter angles. Most manufactured railing systems specify compound miter settings based on this angle. A value between 30° and 40° typically produces comfortable climbing geometry.

Pitch Status

A summary rating based on the stair angle. These labels reflect general ergonomic guidance; your local building code determines what angle range is permitted for your specific application.

Angle Range Pitch Status Practical Note
Below 30° Too Shallow Shallow pitch increases total run; verify available landing space
30° – 40° Optimal Comfortable climbing geometry for most residential stairs
40° – 45° Acceptable Steeper than ideal; verify against local code limits
Above 45° Too Steep Likely exceeds residential code limits; redesign required

Assumptions and Limitations

This Stair Calculator estimates stair geometry from the inputs provided. It is not a permit-ready stair plan and does not replace field layout, licensed design review, or building department approval.

  • Local building code governs. Maximum riser height, minimum tread depth, handrail height, landing dimensions, and minimum stringer net depth vary by jurisdiction. The International Residential Code (IRC) sets common residential benchmarks — max 7¾ in riser, min 10 in tread — but your local authority may amend these values. Confirm with your building department before finalizing any dimensions.
  • Finished flooring affects total rise. If finished flooring has not yet been installed at the top or bottom, the rough framing dimension differs from the finished floor-to-floor rise. Adjust Total Rise [A] to reflect the installed finished condition.
  • Tread material and nosing affect the first step. The First Step [E] formula assumes tread thickness exactly matches the installed material. Nosing overhangs, composite decking profile depth, or tile buildup can alter the actual finished rise at the bottom step.
  • Stringer length is a minimum diagonal. The calculated value does not include material for the top seat cut or bottom bearing cut. Add extra length when ordering rough lumber and verify that sufficient net depth remains in the notched stringer to satisfy structural requirements.
  • Minimum remaining stringer depth is not checked. After notching, structural codes require a minimum net stringer depth. Verify this with your actual lumber dimensions and applicable structural or code requirements — the calculator does not assess member capacity.
  • Validate all dimensions before cutting. This tool provides a planning estimate. Confirm layout physically with a framing square and direct measurement on the actual stringer stock before making any cuts.

References

1

International Residential Code (IRC) — Section R311.7 Stairways

Published by the International Code Council (ICC). Section R311.7 specifies minimum stairway width, maximum riser height (7¾ in), minimum tread depth (10 in), required landing dimensions, headroom clearance, and handrail requirements for one- and two-family dwellings. Local adoptions may amend these values. Adopted in most US jurisdictions; check your local amendment status with your building department.

2

Local Building Department — Adopted Code and Stair Amendments

Your local Authority Having Jurisdiction (AHJ) publishes the adopted code edition and any local amendments. Contact your building department or permit office before submitting stair plans. Permit requirements, inspection stages, and handrail specifications vary significantly by municipality.

3

OSHA 29 CFR 1910.25 — Fixed Industrial Stairs

Applies to fixed stairs in general industry workplaces. Specifies angle of inclination between 30° and 50°, minimum tread depth (9.5 in), maximum riser height (9.5 in), and handrail requirements. Relevant for commercial construction, manufacturing, and warehouse stair installations. Not applicable to residential one- and two-family dwellings.

4

Carpentry and Stringer Layout — Trade and Educational References

Standard carpentry trade references and professional construction education programs document the framing square method, stair gauge use, tread-riser proportioning principles, and stringer net-depth requirements. These sources describe the field layout conventions the calculator formulas are based on. Titles such as Carpentry by Leonard Koel (American Technical Publishers) and stair framing modules from NCCER curricula cover these topics in detail.