
Type the floor height. The stair is done.
StairFun Studio
No stair maths: code-compliant stairs in two clicks, editable forever.
- 8 forms + ramp
- 44 live code rules
- 30 risers under 1 s
SketchUp 2021–2026v1.0.12
Free tools · Calculator
Type the floor-to-floor height and get a checked stair: risers, treads, total run, pitch and a scaled section.
Runs in your browser. Nothing you type is sent anywhere.
| Option | Risers | Riser height | Tread (going) | Total run | Pitch | Code check |
|---|---|---|---|---|---|---|
| One riser fewer | 15 | 7 3/16″ | 10 3/8″ | 145 5/8″ | 34.7° | ✓ Complies |
| Recommended | 16 | 6 3/4″ | 11 5/16″ | 169 9/16″ | 30.8° | ✓ Complies |
| One riser more | 17 | 6 3/8″ | 12 1/8″ | 193 9/16″ | 27.7° | ✓ Complies |
Source: International Residential Code 2021, R311.7 (checked 2026-10-01)
This free stair calculator works out a straight flight from one number, the floor-to-floor height. It picks the number of risers so that no riser goes over the limit of the code you choose, sets the tread with the 2R + G step rule, and checks the result against the US IRC and IBC, the UK Approved Document K or the Turkish Planned Areas Zoning Regulation. Enter an available length and it fits the treads into it, or tells you that they do not fit. The scaled section shows what you will build, and the link carries your numbers so you can send it to a client or a builder.
Türkiye
Planned Areas Zoning Regulation, Art. 31 · checked 2026-10-01
USA – homes (IRC)
International Residential Code 2021, R311.7 · checked 2026-10-01
USA – other buildings (IBC)
International Building Code 2021, 1011.5.2 · checked 2026-10-01
UK – England (Approved Document K)
Approved Document K, 2013 edition, Table 1.1 · checked 2026-10-01
It is the step rule that links the riser height (R) to the tread or going (G): twice the riser plus one going should be close to a normal walking step, about 630 mm. The UK Approved Document K asks for 550-700 mm, the Turkish regulation for 600-640 mm. The calculator aims at 630 mm and keeps the result inside the range of the code you choose.
The floor-to-floor height is divided into equal risers. The calculator uses the fewest risers that keep every riser at or below the code's maximum, and otherwise aims for a comfortable riser of about 175 mm (6 7/8 in). For 2800 mm that gives 16 risers of 175 mm and 15 treads, because the top step is the upper floor itself.
Homes in the US (IRC R311.7.5): riser at most 7 3/4 in, tread at least 10 in. Other US buildings (IBC 1011.5.2): riser 4-7 in, tread at least 11 in. UK private stairs (Approved Document K, Table 1.1): rise 150-220 mm, going 220-300 mm, pitch at most 42°. Türkiye (Planned Areas Zoning Regulation, Art. 31): riser at most 180 mm with a lift and 160 mm without, tread at least 270 mm. Every limit links to its source on this page.
Yes. Choose inches and type 110, 109.5, 109 1/2 or 109-1/2. Results are shown to the nearest 1/16 in. Metric users can type with a comma or a point, and switch between mm and cm at any time; the stair does not change, only the display.
Enter the available length. The calculator shortens the treads to fit it and marks the result in red if the treads drop below the code's minimum. Then compare the one-riser-fewer and one-riser-more rows, or plan an L- or U-shaped stair with a landing.
No. This is a design aid for the basic geometry of a straight flight. Approval comes from your local authority, which may apply local amendments and other rules - width, headroom, handrails, landings, fire escape. Always check the final design with them.
Yes. StairFun Studio builds straight, L, U, spiral and other stairs in SketchUp from two clicks and the floor height, with the Turkish code checks built in. Step-by-step manual methods are in our guide on making stairs in SketchUp.

Type the floor height. The stair is done.
No stair maths: code-compliant stairs in two clicks, editable forever.
SketchUp 2021–2026v1.0.12
A design aid, not an approval. Local amendments and other rules may apply; check the final design with your building authority.