About the Stair Calculator
Stairs feel comfortable and safe when every step has the same height and depth, within the limits set by building codes. This stair calculator starts from the total rise between floors and your maximum riser height and works out the number of risers, exact riser height, treads, total run, stringer length and angle: a 9 ft rise with risers of at most 7¾ inches needs 14 risers of about 7.71 inches. It flags dimensions outside common code limits. Local building regulations differ, so check them before cutting stringers.
The number of risers is the total rise divided by the maximum riser height, rounded up; the actual riser height is the total rise divided by that number. A straight stair has one tread fewer than risers, because the top step is the upper floor. The total run is the treads × the tread depth, the stringer length is √(rise² + run²), and the angle is arctan(riser ÷ tread). The International Residential Code allows risers up to 7¾ inches and needs treads of at least 10 inches; comfortable stairs keep twice the riser plus the tread between about 600 and 650 mm (23.6 to 25.6 inches).
Example: a total rise of 108 inches (9 ft) with a 7¾ inch maximum needs 14 risers of 7.71 inches each and 13 treads. With 10 inch treads the run is 130 inches (10 ft 10 in), the stringer is 169 inches (14 ft 1 in) long and the stair climbs at 37.7 degrees. Deeper 11 inch treads would make it gentler but 13 inches longer.
Codes also set headroom, handrail and landing rules, and they differ between countries, so check your local code before building. To convert units use feet to inches, and for angles and slopes the slope calculator and Pythagorean theorem calculator.
How to use the Stair Calculator
- Measure the total riseFloor to floor, between finished surfaces, in inches, feet, cm or mm.
- Set the limitsEnter the maximum riser height and the tread depth you want.
- Read the layoutSee risers, riser height, treads, total run, stringer and angle.
- Check the verdictThe calculator flags code and comfort problems.
Stair Calculator features
- Number of risers and treads
- Exact riser height in inches and cm
- Total run and stringer length
- Stair angle in degrees
- US residential code checks
- 2R + T comfort rule
- Any length unit
Common uses
- Deck and porch steps
- Basement and loft stairs
- Cutting stair stringers
- Checking an existing staircase
- Planning space for a new stair
Stairs in practice: Pakistani floor heights, narrow plots, comfortable steps, landings, railings and safety
Stairs take up valuable space in a house, especially on narrow 5- and 10-marla plots, so they are often squeezed in, steep and uncomfortable. A little calculation shows how to balance space with comfort and safety. This guide works through a staircase for a typical floor height, explains comfortable riser and tread dimensions, compares straight and dog-leg stairs and covers railings, headroom and lighting.
A worked example: an 11-foot floor height
Houses in Pakistan often have ceilings around 10 to 11 feet high, so the floor-to-floor height, including the slab, may be about 11 feet, or 132 inches. With a maximum riser of 7 inches, the stair needs 132 ÷ 7, rounded up, which is 19 risers of about 6.95 inches each, and 18 treads. With 10-inch treads, the horizontal run is 180 inches, 15 feet.
That run is too long to fit in a straight line on many narrow plots, which is why most houses use a dog-leg stair that turns back on itself at a landing.
Comfortable dimensions
A common rule for comfortable stairs is that twice the riser height plus the tread depth should be about 24 to 25 inches. A 7-inch riser with a 10- or 11-inch tread fits this well. Very high risers and shallow treads, sometimes built to save space, make stairs tiring and dangerous, especially for children and older people.
Straight, dog-leg and spiral stairs
- Straight stairs: simple to build but need a long space.
- Dog-leg stairs: two flights with a half landing, fitting into a compact rectangle, very common in local houses.
- L-shaped stairs: turn through a right angle at a landing, useful in corners.
- Spiral stairs: save floor space but are steep and awkward for carrying furniture.
Landings also give a place to rest, which older family members appreciate.
Consistent steps
Every riser and tread in a flight should be the same size, because people quickly adjust to a rhythm and stumble when one step differs. The first and last steps are the most commonly built wrong, especially when floor finishes, such as marble, are added later. Allowing for the thickness of floor finishes at the design stage keeps all risers equal.
Headroom
There must be enough clear height above every step so people do not hit their heads, commonly at least about 6 feet 8 inches, measured vertically from the line of the step nosings. Beams and the underside of upper flights often reduce headroom, so it should be checked on drawings before construction.
Railings and children
Handrails on at least one side, and preferably both, help everyone, especially older people. Balustrades should be high enough and have gaps small enough that young children cannot slip through or climb them. Open risers and wide gaps are attractive but risky in homes with small children.
Lighting and finishes
Good lighting at the top and bottom of stairs, with switches at both ends, prevents falls at night. Polished marble stairs look elegant but can be slippery, especially when wet, so anti-slip strips or textured nosings are worth adding.
Common mistakes
- Making risers too high to save space.
- Ignoring floor finishes, which change the first and last steps.
- Leaving too little headroom under beams.
- Building balustrades children can climb or slip through.
Related tools
For concrete stairs, use Concrete Calculator. To measure floor areas, try Square Footage Calculator, and for timber stairs, Board Foot Calculator.
Planning stairs on paper
Stairs are best planned on paper before construction, because changing them later is costly. Marking the stair's footprint, landings and headroom on the floor plans, and checking how furniture will be carried up, avoids surprises. An architect can fit comfortable stairs into surprisingly small spaces.
Outdoor stairs
Outdoor steps, such as those leading to roofs or gardens, face rain and sun, so they need slip-resistant finishes and good drainage. Slightly lower risers and deeper treads suit outdoor stairs, where people may be carrying things or walking in the dark. Railings are just as important outside as inside.
Stairs for older people
For older family members, stairs can become a barrier. Two handrails, good lighting, contrasting edges on steps and a chair on the landing all help. In new houses, leaving space for a future stair lift, or placing a bedroom on the ground floor, makes the home easier to live in later.
Wooden and steel stairs
Wooden and steel stairs are common in shops, offices and lofts. They are lighter and quicker to install than concrete but need care with fixings and finishes. Steel stairs should have non-slip treads, and wooden stairs need treatment against termites and moisture.
Stair width
Stairs in homes should be wide enough for two people to pass and for furniture to be carried, commonly at least about 3 feet. Narrower stairs save space but make moving beds, sofas and appliances difficult, and they can be dangerous in an emergency. Checking stair width against the largest items you expect to move is wise.
Limits
The calculator gives geometric dimensions. Building regulations and structural design should be checked with an architect or engineer.
Frequently asked questions
How do I calculate the number of stairs?
Divide the total rise by your maximum riser height and round up. For a 108 inch rise and a 7¾ inch maximum, 108 ÷ 7.75 = 13.9, so you need 14 risers. The number of treads is one less: 13.
What is the standard riser height?
Most homes use 7 to 7¾ inches (178 to 197 mm). The US International Residential Code sets a maximum of 7¾ inches; commercial stairs are usually limited to 7 inches. All risers in a flight should match within ⅜ inch.
What is the standard tread depth?
At least 10 inches (254 mm) under the US residential code, measured from nosing to nosing, and 11 inches for commercial stairs. Deeper treads are easier to walk but make the stair longer.
How long should a stair stringer be?
Use the Pythagorean theorem: √(total rise² + total run²). For a 108 inch rise and 130 inch run, the stringer is about 169 inches. Buy a board a little longer to allow for the cuts at each end.
What is a comfortable stair angle?
Between about 30 and 37 degrees. Steeper than about 42 degrees feels like a ladder, and some codes cap it there. Below about 25 degrees a stair starts to feel like a ramp with steps.
What is the 2R + T rule?
A comfort rule: twice the riser plus the tread should be about 600 to 650 mm (24 to 25½ inches), matching a normal walking stride. A 7 inch riser with an 11 inch tread gives 25 inches.
Why is there one less tread than riser?
The top riser leads onto the upper floor or landing, which acts as the last tread. A stair with 14 risers therefore has 13 treads, and its run is 13 tread depths long.
How much headroom does a stair need?
The US residential code requires at least 6 ft 8 in (2,032 mm) of headroom, measured vertically from the sloped line of the tread nosings. Other countries set similar minimums around 2 m.