Stair Calculatorv1.0.0
Determine riser count, riser height, tread depth, total run, stringer length, and stair angle for one or more flights given a floor-to-floor rise. Each flight supports independent dimensions with building-code validation against the IRC 2021 riser and tread limits.
This tool sends nothing over the network. Everything you enter is processed on your device and never reaches our servers.
Documentation
A stair calculator takes the total vertical rise between two floors and breaks it into code-compliant risers and treads. It outputs the number of risers, the exact riser height, total horizontal run, stringer length, and the resulting stair angle. Multiple flights can be added to plan multi-story or split-landing staircases in a single session.
- Select Imperial or Metric units at the top. Imperial measurements are in inches; metric measurements are in millimeters. Switching units converts all existing values automatically.
- Enter the Total Rise for each flight. This is the vertical distance from the finished floor of one level to the finished floor of the next level. Measure carefully, as even small errors compound across many risers.
- Enter the Desired Riser Height. The calculator divides the total rise by this value, rounds to the nearest whole number of risers, and then recalculates the actual riser height to distribute the rise evenly. A typical comfortable riser height is 7 to 7.5 inches (178 to 190 mm).
- Enter the Tread Depth. This is the horizontal distance from the front edge (nose) of one tread to the front edge of the next, not including the nosing overhang. The IRC 2021 requires a minimum tread depth of 10 inches (254 mm).
- Enter the Stair Width. While width does not affect the rise-and-run geometry, it is used to estimate the total stair footprint area.
- Click Add Flight to plan additional stair flights. Each flight is calculated independently with its own total rise, riser height, and tread depth. Remove any flight by clicking its Remove button.
- Open Settings to adjust the Nosing overhang, Minimum Headroom requirement, Max Riser Height, and Min Tread Depth code limits. The calculator flags any flight that exceeds these limits.
- Enable Show step-by-step formulas in Settings to display the underlying math. Risers = round(Total Rise / Desired Riser Height). Actual Riser Height = Total Rise / Risers. Total Run = (Risers - 1) x Tread Depth. Stringer Length = sqrt(Total Rise squared + Total Run squared). Stair Angle = arctan(Total Rise / Total Run) in degrees.
- All numeric fields accept decimals (7.5), fractions (3/4), and mixed numbers (5 1/16 or 1-3/8). The calculator parses these formats automatically.
- Results update automatically after a brief pause, or press Calculate to trigger manually. Press Reset to clear all flights and restore default values.
Stair geometry affects safety, comfort, and code compliance in every building project that connects two levels. The following scenarios illustrate where precise riser and tread calculations prevent costly rework.
- Residential New Construction: A builder framing a two-story home measures 108 inches of total rise from the first-floor slab to the second-floor subfloor. Entering 108 inches with a desired riser height of 7.5 inches yields 14 risers at 7.714 inches each, with a total run of 136.5 inches and a 38.4-degree angle, all within IRC limits.
- Deck and Porch Stairs: An exterior deck sits 42 inches above grade. Entering 42 inches with a 7-inch desired riser yields 6 risers at 7 inches each and a total run of 52.5 inches, helping the builder determine how far the staircase extends into the yard.
- Basement Renovation: Older basements often have non-standard floor-to-floor heights. Entering the measured rise and adjusting the desired riser height until the actual riser stays below the 7.75-inch code maximum avoids failed inspections.
- Split-Landing Staircases: A staircase with an intermediate landing requires two separate flights. Adding two flights with independent rise values (for example, 54 inches lower and 54 inches upper) lets the builder verify that both flights share consistent riser heights for a uniform feel.
- Stringer Cutting: Carpenters cutting stair stringers from dimensional lumber need the exact riser height and tread depth to mark the sawtooth pattern. The stringer length output confirms whether a standard 12-foot or 14-foot board provides enough material.
- Metric Projects: Switching to metric mode converts all values to millimeters, supporting projects in regions that use the metric system.
Inputs, outputs, and what the Stair Calculator computes
The form above accepts the following inputs and produces the outputs listed below. This summary is rendered in the page so the parameters are visible to crawlers, assistive tech, and indexing agents that don't fetch the embedded tool frame.
Inputs
- Imperial (inches) · default: imperial
- Metric (mm) · default: metric
- Show step-by-step formulas · default: 1
- Nosing (text input) · default: 1.25
- Minimum Headroom (text input) · default: 80
- Max Riser Height (code limit) (text input) · default: 7.75
- Min Tread Depth (code limit) (text input) · default: 10
Controls
Calculate · Reset
Worked example
A stair calculator takes the total vertical rise between two floors and breaks it into code-compliant risers and treads.