Staircase Calculator

Calculate stair risers, treads, total run, stair angle, and stringer length from total rise, desired riser height, tread depth, or available run.

Calculator is for informational purposes only. Terms and Conditions

\[ N_r=\operatorname{round}\left(\frac{H}{R_d}\right),\quad R=\frac{H}{N_r},\quad L=\sqrt{H^2+\left(N_tT\right)^2} \]
1

Choose what to solve for

Pick the stair layout method. The required input fields update automatically.

Use standard layout for most stairs, available run when space is limited, or fixed risers when the riser count is already known.
Switching presets converts entered length values so the physical dimensions are preserved.
Enter total rise, preferred riser height, and tread depth. The calculator will estimate the stair layout.
2

Enter the known values

Measure total rise from the finished lower floor to the finished upper floor or deck surface.

Vertical height from finished lower walking surface to finished upper walking surface.
The target riser height used to estimate the number of risers. A common residential target is about 7 to 7.5 inches.
Horizontal depth of each step tread, measured from nosing to nosing or riser face to riser face depending on layout convention.
Maximum horizontal space available for the stair flight, excluding any separate landing unless you intentionally include it.
risers
Use this mode when you already know how many vertical rises the stair will have.
Advanced Options
Most straight stairs use the upper floor or deck surface as the final tread.
width
clear
pcs qty
% waste
3

Visual Check

Clean side-profile diagram showing rise, run, stair angle, tread layout, and stringer line.

Staircase calculator side profile diagram A stair side-profile diagram that updates with the calculated rise, run, angle, and stringer length. Labels are separated from the stair geometry to prevent overlapping text.
4

Solution

Live result, quick checks, warnings, and full solution steps.

Recommended Stair Layout
Real-time result updates as you type.

Quick checks

  • Check
Show solution steps See the stair equations, substitutions, assumptions, and layout checks
  1. Enter values to see the full stair calculation steps and checks.
5

Source, Standards, and Assumptions

Calculation basis, constants, assumptions, and limitations.

Stair geometry method

Source/standard information updates after a valid stair calculation.

  • Assumptions will appear after a valid calculation.
On this page

Calculator Guide

How to Use the Staircase Calculator

The Staircase Calculator above helps you calculate the number of risers, number of treads, actual riser height, total run, stair angle, and stringer length from the measurements you already know. Start with total rise, choose the solve mode that matches your project, then use the results below to check whether the stair layout is practical before building.

For most straight stairs, the key idea is simple: divide the total rise into equal risers, calculate how many horizontal treads are needed, then use the total rise and total run to estimate the stair stringer length and angle.

Best for Deck stairs, interior stairs, layout checks, and stair geometry learning
Main result Risers, treads, total run, stair angle, and stringer length
Most important input Total rise between finished walking surfaces

Quick Answer

To calculate stairs, measure the total rise, divide by a target riser height, round to a whole number of risers, then divide the total rise by that whole number to get the actual riser height. For a typical straight stair where the upper floor acts as the last step, the number of treads is usually one fewer than the number of risers.

When not to rely on a simplified result

Use this calculator for planning and checking stair geometry, not as a final code approval. Stairs can be subject to local building code, landings, handrails, guards, nosing, headroom, stringer attachment, deck requirements, and inspection rules. Always verify the final layout with the code adopted in your location and qualified review when required.

Inputs and Outputs Used by the Staircase Calculator

The calculator uses stair geometry inputs such as total rise, target riser height, tread depth, available run, and riser count. The outputs show the stair layout in terms users actually need for planning: risers, treads, run, angle, and stringer length.

Common staircase calculator inputs and outputs
TypeValueWhat It MeansCommon Unit
InputTotal riseVertical height from the finished lower floor or landing to the finished upper floor, deck surface, or landing.in, ft, mm, cm, m
InputPreferred riser heightThe target step height used to estimate a practical whole number of risers.in or mm
InputTread depthThe horizontal depth of each walking surface. This calculator treats tread depth as the repeated horizontal run for each tread.in or mm
InputAvailable total runThe maximum horizontal space available for the stair flight when solving for tread depth.in, ft, mm, cm, m
OutputRisers and treadsThe vertical step count and horizontal walking-surface count for the stair flight.count
OutputTotal run, angle, and stringer lengthThe horizontal footprint, stair steepness, and diagonal stringer length estimated from the stair geometry.length and degrees

A common source of confusion is that risers and treads are not always the same count. In many straight stair layouts, the upper floor or deck surface acts as the final tread, so \(N_t=N_r-1\).

Staircase Calculation Formula

The main staircase formula divides total rise into a whole number of risers, then calculates the actual riser height, tread count, total run, stringer length, and stair angle. These formulas are based on a simple right-triangle relationship between vertical rise and horizontal run.

Risers, Treads, and Run

\[ N_r \approx \operatorname{round}\left(\frac{H}{R_d}\right), \qquad R=\frac{H}{N_r}, \qquad N_t=N_r-1, \qquad G=N_tT \]

The calculator starts near \(H/R_d\), then may select a nearby whole-number riser count that produces a more practical actual riser height. If the upper floor does not act as the final tread, use \(N_t=N_r\) instead.

Stringer Length and Stair Angle

\[ L=\sqrt{H^2+G^2}, \qquad \theta=\tan^{-1}\left(\frac{H}{G}\right) \]

The stringer length is the diagonal hypotenuse created by total rise \(H\) and total run \(G\). The stair angle \(\theta\) describes the steepness of the stair flight.

What the Stair Variables Mean

Each stair variable describes one part of the stair geometry. Defining these terms correctly is important because a small mistake in total rise, tread count, or unit selection can change the entire stair layout.

\(H\): Total Rise

The vertical height from one finished walking surface to the next. This is usually the most important measurement because it controls the required number of risers.

\(R_d\): Desired Riser

The target riser height you would like to use. The calculator uses this as a starting point, then adjusts to a whole number of risers.

\(N_r\): Number of Risers

The number of vertical step heights in the stair flight. This must be a whole number.

\(R\): Actual Riser Height

The final equal riser height after total rise is divided by the selected whole number of risers.

\(T\): Tread Depth

The horizontal depth of each step. A deeper tread generally makes the stair less steep but increases total run.

\(G\), \(L\), and \(\theta\)

\(G\) is total run, \(L\) is stringer length, and \(\theta\) is stair angle measured above the horizontal run.

How to Use the Calculator

Use the Staircase Calculator by choosing the solve mode that matches the value you need. Standard layout mode is best when you know the total rise and desired tread depth; fit-run mode is best when the available floor space controls the design.

1

Measure total rise

Measure vertically from the finished lower walking surface to the finished upper walking surface. For interior stairs, this usually means finished floor to finished floor. For deck stairs, measure from the top of the finished decking to the finished landing, concrete pad, pavers, or final grade.

2

Account for finished materials

If flooring, tile, decking, pavers, landing concrete, or a finish surface will be added later, include those finished thicknesses before calculating the final riser height. Measuring to unfinished framing or dirt grade can make the bottom or top riser wrong.

3

Choose a solve mode

Use standard layout to calculate a recommended stair flight, fit-run mode if horizontal space is limited, or fixed-risers mode if the number of risers is already known.

4

Enter tread depth or available run

Enter the tread depth when you are planning a normal stair. Enter available total run when the stair must fit within a fixed horizontal footprint.

5

Review the checks

Check the actual riser height, tread count, total run, stringer length, stair angle, and any warning messages before using the result for layout.

How to Interpret Staircase Calculator Results

A good stair result should have a practical riser height, adequate tread depth, reasonable stair angle, and enough total run to fit the space. A layout can be mathematically correct but still too steep, too shallow, too long, or unsuitable for the actual building condition.

What to do with the result

Use the riser count and tread count for layout planning, the total run for space planning, and the stringer length for estimating diagonal framing length.

What changes the result most?

Total rise controls riser count. Tread depth controls total run. Together, total rise and total run control stringer length and stair angle.

Sanity check

If a stair has very tall risers, very shallow treads, an angle above typical comfort ranges, or a total run that does not fit the space, revise the layout.

Fast reasonableness check

For many residential-style stairs, users often look for risers near 7 to 7.5 inches, treads around 10 inches or more, and a stair angle roughly in the 30° to 37° range. These are planning checks only, not universal code limits.

Input Checklist Before You Trust the Answer

Most wrong stair calculations come from measuring the wrong rise, mixing units, or forgetting that the upper floor often counts as the final tread. Check these items before using the result.

Measure finished-to-finished

Use finished walking surfaces, not unfinished framing, unless you manually account for flooring, decking, tile, landing material, or grade changes.

Confirm tread convention

Know whether your layout uses the upper floor as the final tread. This usually changes tread count by one.

Check units

Do not enter feet into an inches field or millimeters into a centimeters field. A unit error can make the stair layout completely unusable.

Verify available run

Before cutting stringers, confirm the calculated total run fits the actual room, deck, landing, door swing, and clear walking path.

Review deck landing elevation

For deck stairs, measure to the finished landing surface. If a concrete pad or paver landing will be added, the final landing elevation may change the bottom riser.

Check uniformity

All risers in one flight should be consistent. Uneven step heights are one of the easiest ways to create a trip hazard.

Worked Example: Stair Rise, Run, and Stringer Length

This example shows the same process the calculator uses for a common straight stair layout. The goal is to calculate risers, treads, total run, stringer length, and stair angle from total rise and tread depth.

Given values

Total rise
\(H=108\ \text{in}\)
Preferred riser height
\(R_d=7.25\ \text{in}\)
Tread depth
\(T=10.5\ \text{in}\)
Top floor final tread
Yes, so \(N_t=N_r-1\)

Find the number of risers

\[ N_r \approx \operatorname{round}\left(\frac{108}{7.25}\right) = \operatorname{round}(14.90)=15 \]

Calculate actual riser height and treads

\[ R=\frac{108}{15}=7.2\ \text{in} \qquad N_t=15-1=14 \]

Calculate total run, stringer length, and angle

\[ G=14(10.5)=147\ \text{in} \]
\[ L=\sqrt{108^2+147^2}=182.4\ \text{in} \qquad \theta=\tan^{-1}\left(\frac{108}{147}\right)=36.3^\circ \]

Final answer

The stair layout has 15 risers, 14 treads, a 7.2 in actual riser height, a 147 in total run, an estimated 182.4 in stringer length, and a 36.3° stair angle. This is a reasonable planning result if the run fits the available space and local stair requirements are satisfied.

How to Visualize the Stair Calculation

A stair layout is easiest to understand as a right triangle. The vertical leg is the total rise, the horizontal leg is the total run, and the diagonal is the stringer length. The small SVG below uses white label cards, dark text, and separated leader lines so the text stays readable and does not overlap the stair geometry.

Stair Reference Checks

Reference values help you judge whether a stair result looks practical. Exact requirements vary by jurisdiction, occupancy, stair type, and adopted code, so treat these as planning checks and verify the final design locally.

Common stair planning reference values
CheckCommon Residential ReferenceWhy It Matters
Maximum riser heightOften checked around 7 3/4 in for residential stairsTaller risers make stairs steeper and harder to climb.
Minimum tread depthOften checked around 10 in for residential stairsShallow treads reduce foot support and increase steepness.
HeadroomOften checked around 80 inLow headroom can make the stair unsafe or noncompliant.
Stair widthOften checked around 36 in for residential planningWidth affects usability, egress, handrails, and clearance.
UniformityRisers and treads should be consistent within the flightUneven steps are a common trip hazard.

Code note

Model codes such as the IRC and IBC include stair requirements, but the applicable edition and amendments depend on the project location and building type. Residential and commercial stairs can have different riser, tread, width, headroom, handrail, landing, and egress requirements.

Design Notes and Practical Stair Ranges

A practical stair layout balances comfort, available space, and code constraints. Increasing tread depth usually makes a stair more comfortable, but it also increases total run and may require more floor space or a landing adjustment.

Comfort range

Many comfortable residential-style stairs fall near a 30° to 37° angle, but space limits, building type, and local requirements can change what is acceptable.

2R + T rule

A common comfort check is \(2R+T\), where \(R\) is riser height and \(T\) is tread depth. Values near 24 to 25.5 inches often feel reasonable for many stair layouts.

Deck stair note

For deck stairs, also check landing condition, final grade, frost or settlement risk, stringer attachment, tread board layout, guards, and handrails.

Do not round each step independently

All risers in a flight should be uniform. Calculate the whole number of risers first, then divide total rise by that count to get one consistent actual riser height.

Units and Conversions for Stair Calculations

Stair calculations work in any length unit as long as all lengths are converted consistently. The most common hidden mistake is mixing feet and inches in the same formula without converting.

Feet to inches

Use \(1\ \text{ft}=12\ \text{in}\). A 9 ft total rise equals \(108\ \text{in}\).

Inches to feet

Divide inches by 12. A 147 in total run equals \(12.25\ \text{ft}\).

Millimeters to inches

Use \(1\ \text{in}=25.4\ \text{mm}\). Metric inputs should all use the same unit or be converted before hand calculation.

Angle units

Stair angle is usually reported in degrees. Trigonometric functions may use radians in some tools, so confirm the calculator or spreadsheet setting.

Common unit trap

If total rise is entered in feet but tread depth is entered in inches, the result can be off by a factor of 12. Convert all lengths to one unit system before doing manual checks.

Staircase Calculator vs. Stair Stringer Calculator

A staircase calculator focuses on the overall stair geometry, while a stair stringer calculator usually focuses more specifically on the diagonal member, cut layout, notch geometry, and material planning. The right tool depends on whether you are planning the stair flight or preparing to cut stringers.

Use this staircase calculator for

  • Finding risers and treads from total rise.
  • Checking total run and stair angle.
  • Estimating basic stringer length from rise and run.
  • Comparing layout options before detailed construction.

Use a detailed layout review for

  • Final stringer cut templates.
  • Nosing, overhang, saw kerfs, and tread board detailing.
  • Bearing notches, hanger details, and stringer attachment.
  • Connection design and structural capacity checks.
  • Permit drawings or code compliance documentation.

Common Stair Calculation Mistakes

Stair errors are often caused by one incorrect assumption. Before building, review the most common mistakes that make a staircase calculation look right on paper but wrong in the field.

Do

  • Measure total rise from finished surface to finished surface.
  • Use one actual riser height for the whole flight.
  • Check whether the top floor acts as the final tread.
  • Confirm the total run physically fits the space.
  • Check headroom, landings, handrails, and local code separately.

Don’t

  • Do not use rough framing height without accounting for finishes.
  • Do not assume risers and treads are always the same count.
  • Do not round each riser separately.
  • Do not ignore a stair angle that is unusually steep or shallow.
  • Do not treat a calculator warning-free result as final code approval.

Troubleshooting Unrealistic Stair Results

If the result looks wrong, check total rise, units, solve mode, tread count, and whether the upper floor is counted as the final tread. Most suspicious results come from a small input mismatch.

Riser height is too high

Add another riser, reduce total rise if the measurement is wrong, or review whether a landing or different stair configuration is needed.

Total run is too long

Reduce tread depth only if it remains practical and code-appropriate, or consider a landing, turn, switchback, or different stair location.

Angle is too steep

Increase total run, add a landing, or revise the layout. Very steep stairs may be hard to climb and may not satisfy code.

Stringer length looks impossible

Check whether total rise and total run are in the same unit. A feet-versus-inches mismatch is a common cause of unrealistic stringer length.

Suspicious result checklist

Recheck the inputs if the riser height is above common limits, the tread depth is very shallow, the total run does not fit the space, the angle is above about 42°, or the stringer length is dramatically different from the diagonal distance you expected.

Assumptions and Limitations

This calculator is a stair geometry tool. It estimates a straight stair layout from simplified rise and run relationships, but it does not replace construction detailing, code review, or structural design.

Straight stair geometry

The formulas assume a simple stair flight. Curved stairs, winders, spiral stairs, ships ladders, alternating tread devices, and specialty stairs require different checks.

Code varies by location

Residential, commercial, industrial, deck, and egress stairs can have different requirements. Always verify the adopted code and local amendments.

Stringer length is simplified

The estimated stringer length is a geometric diagonal. It does not include final cut layout, saw kerfs, overhang, bearing notches, hanger details, fasteners, or structural capacity checks.

Field conditions matter

Finished flooring, sloped grade, landing settlement, door clearances, headroom, and handrail placement can all affect whether a layout works in the field.

Related Calculators

Use related calculators when the stair layout connects to deck framing, slopes, concrete landings, or general construction planning.

Key Stair Terms

These terms connect the calculator inputs, formulas, and final stair layout.

Total Rise

The full vertical distance the stair must climb from one finished walking surface to another.

Riser

The vertical step height. The number of risers is the number of equal vertical divisions in the stair flight.

Tread

The horizontal walking surface of a step. In many stairs, the number of treads is one fewer than the number of risers.

Total Run

The horizontal distance the stair flight occupies from the first tread area to the top landing or floor projection.

Stringer

The diagonal support member that follows the stair slope and carries the treads and risers.

Stair Angle

The angle between the stair slope and the horizontal floor or landing line.

Staircase Calculator FAQ

How do I calculate how many stairs I need?

Divide total rise by your target riser height, then round to a whole number of risers. After that, divide total rise by the whole number of risers to get the actual riser height.

Why are there fewer treads than risers?

For many straight stairs, the upper floor or deck acts as the final walking surface. That means the stair may have \(N_t=N_r-1\), or one fewer tread than risers.

How do I calculate stair stringer length?

Use the Pythagorean theorem with total rise and total run: \(L=\sqrt{H^2+G^2}\). This gives the straight diagonal stringer length before accounting for detailed cuts, bearing, overhang, and construction layout.

What is a comfortable stair angle?

Many residential-style stair layouts fall near 30° to 37°. A steeper angle saves horizontal space but can be harder to climb, while a shallower angle usually needs more total run.

Can I use this calculator for deck stairs?

Yes, it can help plan deck stair geometry if you measure total rise from the finished deck surface to the finished landing or grade. Final deck stairs still require checks for landings, final grade, stringer attachment, guards, handrails, and local code.

Does this calculator guarantee code compliance?

No. The calculator provides a geometry estimate and practical checks. Final stair design must be verified against the applicable building code, local amendments, permit requirements, and site conditions.

Scroll to Top