Skip to content
Construction

Stair Calculator

Work out how many steps a stair needs, their height and depth, the length, angle and stringer, and whether it will be comfortable.

  • Free
  • No sign-up
  • Runs in your browser

Inputs

Unit system
Stair
cm

From finished floor to finished floor.

cm
If you have them
cm

In plan. Leave it empty to get the tread from the comfort rule.

cm

For the tread and riser surfaces.

Result

Risers

16risers

of 17.5 cm · 15 treads of 28 cm

Riser height
17.5 cm
Treads
15
Tread depth
28 cm
Total length in plan
420 cm
Stair angle
32°
Stringer length
504.8 cm
2 risers + tread
63 cm · Comfortable
Surface of treads
3.78 m²
Surface of risers
2.52 m²

Formula

2 × Riser + Tread ≈ 63 cm

Comfortable. 2 risers + tread = 63 cm. The usual target is about 63 cm.

The comfort bands and warnings are general guidance. Limits for riser, tread, width and headroom depend on each country's and city's building code: check them before you build.

Pro feature

Stair profile to scale

Stringer 504.8 cm17.5 cm28 cm280 cm420 cm

Results are estimates and should be verified for critical engineering or manufacturing applications.

How it works

Enter the height from finished floor to finished floor and the maximum riser you want. The calculator gives the number of steps, their exact sizes, the length in plan, the angle and the stringer, with a profile drawing to scale.

If you have an available length, the tread comes from it. Otherwise it comes from the comfort rule. The bands and warnings are general guidance: limits for riser, tread, width and headroom depend on each country's and city's building code, so check them before you build.

Formula

  • Risers = Height ÷ Maximum riser, rounded up
  • Riser = Height ÷ Risers
  • Treads = Risers − 1
  • Tread = 63 − 2 × Riser, or Available length ÷ Treads
  • Angle = arctan (Riser ÷ Tread)
  • Stringer = √(Height² + Length²)

Example

A straight stair of 280 cm with an 18 cm maximum riser

  1. 1Risers = 280 ÷ 18 = 15.56, so 16
  2. 2Riser = 280 ÷ 16 = 17.5 cm
  3. 3Treads = 16 − 1 = 15
  4. 4Tread = 63 − 2 × 17.5 = 28 cm
  5. 5Length = 15 × 28 = 420 cm, angle 32.0°, stringer 504.8 cm

16 risers of 17.5 cm and 15 treads of 28 cm. Two risers plus one tread make 63 cm.

Assumptions, sources and review

Assumptions and limitations

  • Straight stair. Risers = height ÷ maximum riser, rounded up, and treads = risers − 1 because the upper floor is the last step.
  • Without an available length, tread = 63 cm − 2 × riser. Published step lengths differ: 60-63 in Buenos Aires City, 63-64 in Uruguay's IT 19 for fire egress, and 63-65 in ArchDaily.
  • The comfortable (62-64 cm) and acceptable (60-66 cm) bands are Oxenly's reading convention around 63 cm. They are not published by a code.
  • The warnings (riser above 18 cm, tread below 25 cm, angle above 40°) are general guidance, not a legal limit. Some codes are stricter and others looser.
  • Limits for riser, tread, width and headroom depend on each country and city. Check them before you build.

The formula and the worked example on this page are checked by automated tests in Oxenly's code.

Last reviewed on November 22, 2026 by Diego Urtado.

Found an error? Report it

Frequently asked questions

Why is there one less tread than risers?

Because the upper floor is the last step. A stair with 16 risers has 15 built treads.

What is Blondel's rule?

It relates step height and depth to the length of a stride: two risers plus one tread should add up to about 63 cm. Sources and codes give slightly different ranges, so it is used here as a comfort guide.

What is the maximum allowed riser height?

It depends on the code and the use. For example, the Buenos Aires City building code allows up to 18 cm on main stairs, Spain's CTE 17.5 to 18.5 cm for general use, and the US IRC about 19.7 cm (7¾ in) in homes. Check your local code.

What is a good stair angle?

As a reference, 30° to 35° is usually comfortable and safe. Steeper stairs are used in tight or service spaces.

What if I don't have enough length?

If the tread comes out short, try a stair with a landing, an L or U shape, or review the height to climb. Making the tread too small makes the stair uncomfortable and unsafe.

Keep going