P
ProBuilderCalc

Staircase Calculator

Calculate rise, run, stringer length, and total steps.

Total Vertical Rise

Floor to floor height including finishes.

Enter your floor-to-floor height to generate a staircase layout.

The Master Guide to Staircase Geometry and Building Codes

Of all the tasks a framing carpenter undertakes, building a set of stairs is universally considered the most mathematically demanding and unforgiving. If you frame a wall half an inch out of plumb, drywall and trim can usually hide the mistake. If you miscalculate a stair stringer by a quarter of an inch, that error compounds with every step, creating a staircase that is not only visually uneven but physically dangerous.

The human brain is incredibly sensitive to the rhythm of stairs. If one step is just 3/8 of an inch taller than the rest, a person walking up those stairs in the dark will almost certainly trip. Because of this inherent danger, stair building is heavily regulated by strict international building codes. This guide explains the mathematics of stair layout, the code requirements, and how to use our staircase calculator to ensure a perfect build.

The Anatomy of a Staircase

Before you can calculate the dimensions, you must understand the terminology used by carpenters and code inspectors.

  • Unit Rise: The vertical height of a single individual step.
  • Unit Run (Tread Depth): The horizontal depth of a single step. This is the part you actually step on.
  • Total Rise: The absolute total vertical distance from the finished floor of the lower level to the finished floor of the upper level.
  • Total Run: The absolute total horizontal distance the entire staircase will take up on the floor plan.
  • Stringer: The wide, heavy structural boards (usually 2x12s) that run at an angle and support the treads and risers. The stringers are what you actually cut the "stair" shape into.
  • Headroom: The vertical distance from the edge of the stair tread straight up to the ceiling above.

The Golden Rule of Stair Design (The 7-11 Rule)

Over centuries of architectural trial and error, a standard "ideal proportion" for stairs has emerged, known in the trade as the 7-11 rule.

A perfectly comfortable, safe set of stairs has a Unit Rise of 7 inches and a Unit Run of 11 inches.

Stairs that deviate wildly from this ratio feel awkward. If the rise is very low (e.g., 4 inches) but the run is very long (e.g., 15 inches), you feel like you have to take stutter-steps. If the rise is very high (e.g., 9 inches) and the run is short (e.g., 8 inches), you feel like you are climbing a ladder.

A secondary rule of thumb used by architects to check the comfort of a stair design is: (Rise × 2) + Run = 24 to 25 inches.
Example of ideal stairs: (7 × 2) + 11 = 25. Perfect.

International Residential Code (IRC) Requirements

While 7-11 is the ideal target, building codes provide the absolute legal limits. In North America, the IRC dictates the following maximums and minimums (though local municipalities can and do establish stricter rules):

  • Maximum Rise: 7 ¾ inches (7.75"). No single step can be taller than this.
  • Minimum Run (Tread Depth): 10 inches (without a nosing) or 11 inches total. The tread must be deep enough to support the majority of an adult foot.
  • Variance Limit: 3/8 inch (0.375"). This is the critical safety rule. The height of the tallest step cannot be more than 3/8" taller than the shortest step in the entire flight. The depths cannot vary by more than 3/8" either. They must be uniform.
  • Minimum Headroom: 6 feet 8 inches (80 inches). If someone over 6 feet tall has to duck while walking down the stairs, the staircase fails code.

How to Calculate a Staircase (Step-by-Step)

Our calculator handles this complex math instantly, but here is the manual process professional carpenters use to layout stringers.

Step 1: Determine the Exact Total Rise

This is the most common point of failure. You must measure from the finished floor of the lower level to the finished floor of the upper level.

If you are framing a new house, the plywood subfloors are installed, but the final flooring isn't down yet. You must account for this. If the lower level is getting thick 3/4" hardwood, and the upper level is getting thin 1/4" luxury vinyl, your total rise is different than just measuring the plywood-to-plywood distance.

Example: You measure 105 inches from the basement concrete slab to the first-floor joists. However, the first floor will have 3/4" hardwood flooring. Your True Total Rise is 105.75 inches.

Step 2: Calculate the Number of Steps

Take your Total Rise and divide it by the ideal target Unit Rise (7 inches).

105.75 inches ÷ 7 = 15.10 steps.

You cannot have a fraction of a step. You must round this number to a whole integer. In this case, we round to exactly 15 steps.

Step 3: Calculate the Exact Unit Rise

Now, take your Total Rise and divide it by your total number of steps to find the exact, mathematically perfect height for every single step on the stringer.

105.75 inches ÷ 15 steps = 7.05 inches per step.

7.05 inches is very close to the ideal 7 inches and is well under the 7.75-inch code maximum. This staircase will be incredibly comfortable.

Step 4: Determine the Total Run

Now that you know you have 15 steps, you need to know how far out into the room the staircase will protrude. We will target the code-minimum/ideal tread run of 10 inches (to which a 1-inch wooden nosing will be added for an 11-inch total tread).

Wait—there is a trick here. A set of stairs always has one less "Run" (tread) than it does "Rise." The final "step" lands you on the upper-level floor, so you don't build a tread for it.

Number of Treads = 15 (steps) - 1 = 14 Treads.

Total Run = 14 Treads × 10 inches = 140 inches (11 feet, 8 inches).

If you do not have 11 feet and 8 inches of horizontal space in the room, you have a major design problem and will have to incorporate a landing and turn the stairs (e.g., an L-shape or U-shape staircase).

The Ultimate Professional Secret: "Dropping the Stringer"

Pro Tip: Dropping the Stringer

When you cut your stringer out of a 2x12, you must make a critical adjustment to the very first (bottom) step. When you attach the 1-inch thick wooden tread to the bottom step, that step suddenly becomes 1-inch taller than all the others (breaking the variance code). To fix this, you must cut exactly the thickness of your tread material off the very bottom of the entire stringer. This lowers the whole staircase by 1 inch. When the treads are added back on, every single step—including the first one—will measure perfectly identical.

Disclaimer: Stair stringers cut from 2x12 lumber are structurally weakened by the triangular cuts. They should generally not span more than 16 inches apart (requiring 3 or 4 stringers for a standard 36-inch wide staircase) unsupported. Always consult an engineer for custom or floating stair designs.