About the Stair Calculator
This Stair Calculator computes straight flight stair geometry in your browser. You enter units, the finished floor to finished floor rise, a maximum step rise and a tread depth. The tool instantly shows riser count, riser height, treads, total run, stringer length, stair angle and the comfort rule value 2 × rise + going. Nothing you type is uploaded to our servers; the calculator runs locally in the browser and updates as you type. You can copy results or share a link that reopens with your numbers. The method matches standard practice used by builders: round up riser count, then recalc riser height. The page warns you to check local building codes for headroom, handrails, nosings and landings before you cut stringers.
How to use it
- 1Choose units: Metric (mm) or US (inches).
- 2Enter total rise (finished floor to finished floor) and highest step rise allowed.
- 3Enter tread depth (going). Results update instantly as you type.
- 4Copy results or share the link to reopen with the same numbers.
Worked example
Input: Units = Metric; Total rise = 2700 mm; Highest step rise allowed = 180 mm; Tread depth = 250 mm. Results: Number of steps (risers) = 15; Height of each step = 180 mm; Number of treads = 14; Total run = 3500 mm; Stringer length = 4419 mm; Stair angle = 35.8 degrees; 2 × rise + going = 610 mm.
The formula
Risers = total rise / highest allowed rise, rounded upStep height = total rise / risersTreads = risers - 1 (the top floor is the last step)Total run = treads x tread depthStringer = square root of (rise^2 + run^2)Angle = arctan(step height / tread depth)2 x rise + going (comfort rule)Common code limitsCheckSource: International Residential Code (IRC), stair rules R311.7UK Approved Document K, Protection from falling, collision and impact. Last checked 13 November 2026.
What it is good for
- Instant results in your browser with no uploads.
- Shows risers, riser height, treads, run, stringer length and angle.
- Copy values or share a link that reopens with your numbers.
- No headroom, handrail, nosing or detailed code compliance checks are performed.
- Building codes differ by country and city; always check local code before cutting stringers.
Questions people ask
How do you decide the number of risers?
The tool divides the total finished rise by your highest allowed riser and rounds up. That gives the riser count you need for a uniform flight.
What if my riser height is not an allowed code value?
If the computed riser height exceeds local limits, reduce the allowed rise and recalc. Check your local code, for example IRC R311.7 in the United States.
How do you measure total rise correctly?
Measure finished floor to finished floor, including floor coverings and build up. Use the final finished heights you will walk on for accuracy.
Is the stringer length exact for cutting?
Stringer length is the diagonal from finished floor to finished floor over the horizontal run. Treat the result as a layout dimension and verify on site before cutting.
What does 2 × rise + going tell me?
This is the Blondel comfort rule. Typical comfortable values are about 550 to 700 mm in metric practice. It is a guide, not a code requirement in many jurisdictions.
Can I save or share my calculation?
Yes. You can copy the numeric results and you can create a link that reopens the calculator with your numbers. The calculator runs locally and does not upload your values.
Help keep every tool free
FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.