Stair Calculator
Design a straight flight to code-friendly proportions: the riser and going it actually works out at, the total run, the stringer length and pitch angle, and a headroom check against the stairwell opening.
Rise, going and headroom
Going is measured nosing to nosing, which is what the 2R + G comfort rule uses. The tread board you cut is that figure plus the nosing.
Risers
40
39 treads (one fewer than risers)
Riser height
500.0 mm
target 180 mm
Going
250 mm
tread board 270 mm
Total run
9.75 m
39 × 250 mm
Stringer
22.25 m
hypotenuse, before plumb cuts
Pitch
64.0°
2R + G = 1250 mm
Headroom
-20.30 m
at the opening edge, 20.00 m up the run
Opening length
0.00 m
edge must be ≤ 8.75 m for 2032 mm clear
Code check
- Riser height 500 mm is outside the usual 100–196 mm range.
- Going (tread depth) 250 mm is outside the usual 254–330 mm range.
- 2R + G = 1250 mm is outside the comfortable 550–700 mm band.
- Pitch of 64.0° is steeper than the 42° limit.
- Headroom at the opening edge is -20300 mm, below the 2032 mm you asked for. Move the opening edge back to 8750 mm from the bottom riser or less.
The ranges used here (riser 100–196 mm, going 254–330 mm, 2R + G 550–700 mm, 6 ft 8 in headroom, pitch under 42°) match the IRC/IBC and most European codes, but every jurisdiction words it differently and some add a maximum of 18 risers between landings. Check your local code before you cut timber.
Scaled cross-section
The flight, the floor above, the stairwell opening edge and the headroom that results — all drawn to the same scale.
About this tool
It divides the floor-to-floor rise into equal risers, keeps treads one fewer than risers as a straight flight requires, and reports the real riser and going — then checks them, the 2R + G comfort rule, the pitch and the headroom against common building-code limits. Headroom is measured from the nosing to the underside of the floor above, taking the floor thickness into account, and the tool tells you how far up the run the stairwell opening may start. Everything runs in your browser; nothing is uploaded.
- 100% free — no account needed
- Runs in your browser
- Nothing is uploaded
Frequently asked questions
Is Stair Calculator really free?
Yes. Stair Calculator is completely free on PureBrowser — every feature, with no account, no trial, and no credit card.
Does Stair Calculator upload my data?
No. Stair Calculator runs entirely inside your browser, so anything you type, paste, or open stays on your own device.
Do I need to sign up or install anything?
Neither. There is no account and nothing to download — open the page and Stair Calculator is ready to use on desktop or mobile.
Does Stair Calculator work offline?
Once the page has loaded, yes. All of the processing happens locally in your browser, so it keeps working without a connection.
More utility tools
Password Strength Checker
Score your password strength and generate stronger ones.
Password Generator
Generate strong random passwords with configurable length and character sets.
Decision Maker
Let the tool randomly pick from your list of options.
Yes or No Wheel
Spin a wheel for a random yes or no answer.
Discord Timestamp Generator
Pick a date and time to generate Discord timestamp tags with live preview and one-click copy.
Discord Embed Builder
Design Discord embeds with live preview — copy JSON for bots, webhooks, and Discord.js.