Stair Calculator
Calculate stair risers, treads, actual riser height, total run, stair angle, stringer length, and optional stair surface area.
Results
This calculator provides a planning estimate only. Stair rules vary by local building code, stair type, use, nosing, landing design, handrail requirements, headroom, and maximum riser/minimum tread limits. Always verify the final layout with local code or a qualified professional before construction.
Stair Calculator
The Stair Calculator turns a floor-to-floor measurement and chosen step dimensions into a straight-stair layout estimate. It reports riser and tread counts, actual riser height, total run, stringer length, stair angle, and additional measurements such as a comfort-check value and area when applicable.
Use the results to plan and compare layouts, not as construction approval. Finished flooring, tread details, headroom, landings, structural support, and local building requirements all affect the finished stair. Confirm those details before cutting or building.
Table of Contents
What the calculator measures
The calculator estimates the side-view geometry of a straight flight. Enter the total rise, target riser height, and tread depth or run. Stair width is optional. Measurement selectors for inches, feet, centimeters, and meters are visible on the page; the examples here use inches.
After a successful calculation, results include the number of risers and treads, actual riser height, total run, stringer length, stair angle, tread depth used, and a comfort-check value labeled 2R + T. Area results are also shown when width is provided. These are layout measurements, not structural sizing or a determination that the stair meets local code.
The inputs are connected. Changing the target riser height can change the riser count, which changes the actual height of each riser. The tread count and tread depth then affect total run, angle, and diagonal length. Review the results together rather than treating one number as the whole design.
Measure the finished floor-to-floor rise
Total rise is the vertical distance from the finished lower walking surface to the finished upper walking surface. Measure vertically, not along the slope of the stair. Every riser height depends on dividing this full rise evenly.
If finishes are not installed yet, account for their expected thickness at both levels. Flooring, underlayment, landing finishes, and tread build-up can change the elevations people actually step between. A layout based only on rough framing can leave the first or last finished riser a different height from the others.
Use the actual finished rise whenever possible. If finished elevations are still uncertain, treat the calculation as provisional and update it when you have reliable measurements. Do not absorb a measurement difference into just the top or bottom step; the aim is a consistent set of risers.
How to use the Stair Calculator
Enter the total rise, then choose a target riser height and tread depth that suit the project and can be checked against the requirements that apply where you are building. Add stair width if you want the calculator to report area values. Select the appropriate units for each measurement, then calculate.
Start by reading the number of risers and actual riser height. Next, check the tread count and total run against the space available. Review the angle and stringer length as additional geometry estimates. In testing, when the rise was left blank or entered as nonnumeric text, the page displayed “Enter the total rise.”
Use this review sequence before relying on a result: confirm the rise is measured between finished walking surfaces; check that the riser count and actual riser height suit the project and applicable requirements; compare the total run with available floor space and the stair opening; check the full stair section for headroom and top and bottom clearances; and confirm framing, connections, landings, rails, and finished tread details separately before construction.
A Reset button is present, but its behavior was not tested. Alternate unit selections were visible but not tested either, so take care to confirm units and converted values if you use them.
Understand the formulas and results
A common starting point for choosing a riser count is to divide total rise by the target riser height and round up to a whole number. The actual riser height is then the full rise divided by that final count. This gives a repeated calculated height instead of leaving a remainder for one unusually tall or short step.
For a typical straight flight that finishes at an upper floor or landing, the tread count is often one fewer than the riser count because the upper floor serves as the walking surface after the final rise. This is a common layout relationship, not a universal rule for every stair configuration.
The simplified geometry relationships are: Actual riser height = total rise ÷ number of risers. Typical straight-flight tread count = number of risers − 1. Total run = number of treads × tread depth. Stringer diagonal estimate = square root of (total rise squared + total run squared). Stair angle estimate = arctan(total rise ÷ total run).
The stringer result is the straight diagonal between the lower and upper endpoints in this simplified geometry. It is not automatically the length of stock to buy or a cut-ready stringer specification. End cuts, bearing, connection details, overhangs, and structural requirements need separate consideration.
Worked example: 105 inches of rise
In a tested calculation, the total rise was 105 inches. The displayed target riser height and tread depth were left at their defaults of 7.5 inches and 10 inches, and stair width was left blank. The calculator returned 14 risers, 13 treads, an actual riser height of 7.5 inches, a total run of 10.833 feet, a stringer length of 13.926 feet, and a stair angle of 38.93 degrees. The area fields displayed dashes because no width was entered.
The arithmetic explains this layout: 105 ÷ 7.5 = 14 risers. With one fewer tread in this typical straight-flight arrangement, that gives 13 treads. Then 13 × 10 inches = 130 inches of run, or about 10.833 feet. The diagonal based on 105 inches of rise and 130 inches of run is about 167.1 inches, or about 13.926 feet.
This example shows how the outputs relate; it does not establish that the layout is suitable for a particular building. The riser and tread dimensions, available space, headroom, and applicable requirements still need to be evaluated for the actual project.
| Measurement | Result |
|---|---|
| Total rise | 105 in |
| Risers | 14 |
| Actual riser height | 7.5 in |
| Treads | 13 |
| Tread depth | 10 in |
| Total run | 10.833 ft |
| Stringer length | 13.926 ft |
| Stair angle | 38.93° |
Riser and tread counts are related, but not identical
A riser is the vertical change between adjacent walking surfaces. A tread is the horizontal surface underfoot. In a common straight flight ending at an upper floor, the floor itself is the surface reached after the last rise, so there is often one fewer constructed tread than risers.
For example, 14 risers commonly correspond to 13 treads in that arrangement. A landing between flights, freestanding steps, winders, or different framing details can change how the stair is laid out. For a stair with multiple flights, consider each flight and landing as part of the complete design rather than treating the whole route as one triangle.
Keep the distinction in mind when checking available space. In the simplified calculation, total run is based on the number of treads and the tread depth used; it is not the vertical rise or the diagonal stringer length.
Check the width and area results
Stair width is optional because the basic rise-and-run geometry can be calculated without it. Adding a width allows the tool to display stair footprint area and tread surface area. These figures can help with rough space or surface planning, but they do not describe every finish, trim, landing, or framing requirement.
In a tested example with a 120-inch rise, the width was set to 36 inches while target riser height and tread depth remained at 7.5 and 10 inches. The calculator displayed 16 risers, 15 treads, a 12.5-foot total run, and 37.5 square feet for both stair footprint area and tread surface area. With those inputs, the run and tread surfaces produce matching area totals. Do not assume the two area labels will always mean the same thing for other layouts or details.
When width was left blank in testing, the calculator displayed dashes for the area fields. Use consistent units for width and verify the resulting area before relying on it for material estimates.
Treat the angle, comfort check, and stringer length as planning clues
The angle summarizes the relationship between total rise and total run. A steeper angle generally means a more compact layout, while a gentler angle requires more horizontal space. The value can help compare layouts, but it cannot tell you by itself whether a stair is comfortable or acceptable for its intended use.
The calculator also displays a comfort-check field labeled 2R + T. Treat it as an additional comparison value, not a pass/fail result or a substitute for checking applicable requirements. Comfort depends on the completed stair and its use, and dimensional rules vary by location and project type.
Likewise, stringer length is a geometric diagonal estimate. The actual stringer needs appropriate material, cuts, support, and connections. The calculator does not size structural members or verify stringer capacity. Use project plans, applicable prescriptive guidance, or qualified professional advice for those decisions.
Check the whole stair before construction
A correct rise-and-run calculation is only one part of a stair design. Headroom depends on the stair’s position relative to the floor opening, beams, ceilings, and other overhead construction. Measure or draw a side section showing the full stair and the structure above it.
Top and bottom conditions matter too. Tread thickness and finished flooring can affect the height of the first and last risers. Stringers may bear on framing, attach to a header, or use another connection detail; the diagonal estimate does not specify how those connections should be built. Landings, doors, handrails, guards, and clear walking paths need separate checks.
A straight-flight calculator is not a complete layout method for winders, spiral stairs, or a stair that turns at a landing. Those configurations have additional geometry. Outdoor stairs may also need project-specific planning for drainage, weather exposure, footings, and durability.
If the calculated run does not fit the available space, do not automatically compensate by making treads shallower or risers taller. Reconsider the overall layout, such as the opening, stair direction, or use of a landing, and check the revised design against the requirements that apply. Confirm local building rules and field measurements before construction.
Common layout mistakes to avoid
Using rough floor elevations without accounting for finishes can make the completed first or last riser differ from the rest. Measure finished surfaces or include the planned build-up before using the result.
Rounding too early can disguise an uneven layout. Choose a whole-number riser count, then divide the full rise by that count and use the resulting actual height consistently. Do not leave a small remainder for one step.
Assuming the diagonal is the board length can lead to a material or cutting mistake. The result does not include allowances for end cuts, bearing, defects, trimming, or connections.
Focusing only on whether the run fits can also cause problems. Check headroom, stair openings, landings, doors, and the structure supporting the stair before committing material. Geometry is a starting point; the finished stair must work in its real surroundings.
Frequently asked questions
How do I calculate the number of risers?
A common starting method is to divide the total rise by a target maximum riser height and round up to a whole number. Then divide the full rise by that riser count to get the actual repeated riser height. Check the result against requirements that apply to your project.
Why is the tread count often one less than the riser count?
In a typical straight flight ending at an upper floor or landing, that upper surface acts as the walking surface after the final rise. As a result, 14 risers often go with 13 constructed treads. Other stair configurations may differ.
How is total stair run calculated?
For the simplified straight-flight layout, multiply the number of treads by the tread depth used. For example, 13 treads at 10 inches each give 130 inches of run. Confirm that the tread-depth definition matches your stair detail.
Does the stringer length tell me what lumber to buy?
No. It is a diagonal geometry estimate, not a cut-ready stock length or structural specification. End cuts, bearing, support, connections, and material condition require separate planning.
Does the calculator check headroom or code compliance?
No. The calculation does not establish headroom, structural adequacy, or compliance with local rules. Check the full stair section, landings, rails, guards, and other applicable requirements separately.
Should I use rough-floor or finished-floor height?
Use the vertical distance between the finished lower and upper walking surfaces whenever possible. If finishes are not installed, include their expected thickness so the completed risers can remain consistent.
Can I use this calculation for a landing, winder, or spiral stair?
The calculator estimates a straight flight. A landing splits a stair into separate flights, while winders and spiral stairs have geometry that a simple straight-flight calculation does not represent. Plan those configurations with a method suited to their layout.
What should I do if the calculated run does not fit?
Reconsider the layout rather than changing dimensions blindly. The opening, stair direction, or use of a landing may need to change. Recheck the revised design for space, comfort, headroom, structure, and local requirements before construction.
