Language
English English Vietnamese (Tiếng Việt) Vietnamese (Tiếng Việt) Chinese (简体中文) Chinese (简体中文) Portuguese (Brazil) (Português do Brasil) Portuguese (Brazil) (Português do Brasil) Spanish (Español) Spanish (Español) Indonesian (Bahasa Indonesia) Indonesian (Bahasa Indonesia)
Staircase Calculator

Staircase Calculator

Calculate optimal stair dimensions including riser height, tread depth, angle, stringer length, and check building code compliance instantly.

What is a Staircase Calculator?

A Staircase Calculator is an essential tool for builders, architects, and DIY enthusiasts who need to design stairs that are safe, comfortable, and compliant with building codes. It computes the optimal dimensions for each component of a staircase based on the available space and desired configuration.

Core Function: The calculator takes your total rise (vertical distance between floors) and determines the ideal riser height, tread depth, stair angle, and stringer length while evaluating the comfort rule (2R + T) — the industry standard formula for ensuring stairs feel natural to walk on.

Comprehensive Design Analysis

Beyond basic dimensions, the calculator provides a complete staircase design solution:

Code Compliance

Real-time validation against standard building code requirements

Headroom Verification

Clearance calculations to ensure safe overhead space

Material Estimation

Surface area calculations for treads and risers

Stringer Details

Precise notch measurements including plumb cut, level cut, and minimum board width

Visual Diagram

Interactive SVG visualization with all key measurements

Flexible Units

Seamless switching between metric and imperial systems

How to Use the Calculator

1

Choose Calculation Mode

Select "By Total Rise" if you only know the vertical height, or "By Rise + Run" if you know both the vertical and horizontal distances.

2

Select Unit System

Click mm for metric or in for imperial. Existing values convert automatically when you switch.

3

Enter Total Rise

Input the floor-to-floor height — the vertical distance the staircase must cover.

4

Set Rise Method

Choose "Fixed Riser Height" and enter your preferred riser height, or choose "Fixed Number of Steps" and enter the desired step count.

5

Enter Tread Depth

In "By Total Rise" mode, enter the depth of each tread. In "By Rise + Run" mode, the tread depth is calculated automatically from the total run.

6

Add Optional Parameters

Enter Nosing (tread overhang) and Stair Width for more detailed results including material estimation.

7

Check Headroom

Expand the Headroom Check section and enter Floor Opening length and Floor Thickness to verify clearance.

Understanding Your Results

Results Grid

Displays number of risers, treads, actual riser height, tread depth, stair angle, stringer length, total run, and comfort rule value with a color-coded badge.

Compliance Checks

Each parameter is compared against building code standards with pass (green) or warning (yellow) indicators.

Material Estimation

Shows tread surface area, riser surface area, and total area in m² or ft² (requires stair width input).

Stringer Notch Detail

Provides plumb cut, level cut, notch depth, and minimum stringer board width needed for structural integrity.

Visual Diagram

An SVG side-view drawing of your staircase with dimension lines for all key measurements.

Key Features

Two Calculation Modes

By Total Rise

Vertical-First Design

  • Know floor-to-floor height
  • Specify tread depth manually
  • Calculator determines total run
  • Best for fixed vertical space
By Rise + Run

Full-Space Design

  • Know both vertical and horizontal distances
  • Tread depth calculated automatically
  • Optimizes for available space
  • Best for constrained floor plans

Flexible Rise Method

Choose the approach that best fits your design constraints:

Fixed Riser Height

Enter your preferred riser height and the calculator determines the number of steps. The riser height is adjusted so that all steps are exactly equal.

Fixed Number of Steps

Enter how many steps you want and the riser height is calculated automatically. Ensures uniform step height throughout the staircase.

Metric and Imperial Units

Seamless Unit Conversion: Switch between millimeters (mm) and inches (in) with a single click. All input values convert automatically when you switch units, and all results display in the selected unit system.

Building Code Compliance

The compliance panel checks each dimension against standard building codes in real time:

Parameter Standard Requirement Status Indicator
Riser Height 100–196 mm (4"–7.75") Pass/Warning
Tread Depth Minimum 254 mm (10") Pass/Warning
Nosing 19–32 mm (0.75"–1.25") Pass/Warning
Stair Angle 30°–37° Pass/Warning
Comfort Rule 600–650 mm (24"–25.5") Pass/Warning
Stair Width Minimum 914 mm (36") Pass/Warning
Headroom Minimum 2,032 mm (6'8") Pass/Warning

Comfort Rule (2R + T)

The comfort formula 2R + T (twice the riser height plus tread depth) is the most widely used measure for stair comfort. This centuries-old architectural principle is referenced in most building codes worldwide.

Optimal 600–650 mm
Acceptable 550–700 mm
Poor Outside range

Headroom Clearance Check

Enter the floor opening length and floor thickness in the expandable advanced section to calculate the available headroom. The calculator verifies it meets the standard minimum of 2,032 mm (6 feet 8 inches).

Safety Note: Insufficient headroom is a common building code violation and safety hazard. Always verify headroom clearance before finalizing your staircase design.

Material Surface Area Estimation

When you enter the stair width, the calculator computes the total surface area for treads and risers separately, plus the combined total. Areas are shown in m² (metric) or ft² (imperial), helping you estimate material quantities for finishing.

  • Tread surface area calculation
  • Riser surface area calculation
  • Combined total area
  • Automatic unit conversion (m² or ft²)
  • Helps estimate material costs

Stringer Notch Detail

Get precise measurements for cutting stringer boards — the diagonal structural supports that hold your stairs:

Plumb Cut

Vertical cut dimension (equals riser height)

Level Cut

Horizontal cut dimension (equals tread depth)

Notch Depth

How deep the triangular cutout goes into the board

Minimum Board Width

Notch depth plus 89 mm (3.5") of remaining wood for structural integrity

Interactive SVG Diagram

A scaled side-view diagram shows your staircase design with dimension lines for total rise, total run, individual riser height, tread depth, nosing overhang, stringer length, and angle. The diagram automatically scales to fit and limits display to 20 steps for clarity.

Visual Learning: The interactive diagram helps you understand how all measurements relate to each other and provides a clear visualization of your final staircase design.

Frequently Asked Questions

What is the ideal riser height for stairs?

Most building codes specify a riser height between 100 mm and 196 mm (approximately 4" to 7.75"). A height around 175–180 mm (7") is generally considered the most comfortable for residential stairs.

This range balances comfort, safety, and accessibility. Shorter risers are easier to climb but require more steps and horizontal space. Taller risers are more compact but can be tiring and unsafe, especially for children and elderly users.

What is the comfort rule (2R + T)?

The comfort rule calculates 2 times the riser height plus the tread depth. A result between 600 and 650 mm (approximately 24" to 25.5") indicates stairs that feel natural and comfortable to walk on.

This formula has been used by architects for centuries and is referenced in most building codes worldwide. It's based on the average human stride length and biomechanics of stair climbing.

— International Building Code Standards

The formula works because it approximates the natural walking pace: each step forward (tread) plus the vertical lift (two risers) should equal a comfortable stride.

What is the minimum tread depth?

Standard building codes require a minimum tread depth of 254 mm (10"). This ensures enough space for a person's foot on each step.

Measurement Note: The tread depth is measured from the front edge (nosing) to the riser behind it, not including any overhang. If your stairs have nosing, the effective walking surface is slightly larger than the tread depth.

Deeper treads (280–305 mm or 11"–12") are often more comfortable and safer, especially for people with larger feet or mobility challenges.

What is nosing and why does it matter?

Nosing is the part of the tread that overhangs the riser below. It increases the effective walking surface without adding to the total run of the staircase.

Building codes typically require nosing between 19 mm and 32 mm (0.75" to 1.25"). Benefits of proper nosing include:

  • Increases usable foot space on each step
  • Reduces the risk of tripping
  • Provides visual definition between steps
  • Allows for more compact staircase design

Nosing is optional in this calculator — if left empty, calculations proceed without it.

How is headroom calculated?

Headroom is the vertical clearance between the stair surface and the floor structure above. It depends on the total rise, total run, floor opening length, and floor thickness.

Building codes require a minimum headroom of 2,032 mm (6 feet 8 inches). This ensures people of average height can walk up and down the stairs without ducking or hitting their heads.

Common Issue: Insufficient headroom often occurs when converting attics or adding stairs in tight spaces. Always verify headroom clearance early in the design process to avoid costly modifications later.

Use the Headroom Check section in the calculator to verify this critical safety requirement.

What is a stringer and what is notch depth?

A stringer is the diagonal structural board that supports the steps. Notches (triangular cutouts) are cut into the stringer for the risers and treads to sit on.

The notch depth tells you how deep these cuts go into the board. This is critical for structural integrity:

  • The remaining wood after the notch must be at least 89 mm (3.5") for adequate structural support
  • This determines the minimum board width you need to purchase
  • Deeper notches require wider boards to maintain strength
  • Most residential stairs use 2×12 (38×286 mm) or 2×14 (38×337 mm) boards for stringers
Safety Warning: Never cut notches deeper than recommended. Insufficient remaining wood can cause structural failure and collapse. Always follow the minimum board width calculated by the tool.

What does the stair angle tell me?

The stair angle is the incline measured from horizontal. Comfortable residential stairs typically have an angle between 30° and 37°.

Angle Range Characteristics Best Use
20°–30° Very shallow, easy to climb Ramps, outdoor stairs
30°–37° Comfortable, standard residential Main stairs, daily use
37°–45° Steeper, requires more effort Secondary stairs, space-constrained
45°+ Very steep, difficult to use Ladders, attic access only

Steeper angles make stairs harder to climb and less safe, while shallower angles require more horizontal space but are easier and safer to use.

Is my data stored or shared?

No. All calculations happen entirely in your browser. Your measurements and results are never sent to any server or stored anywhere.

Privacy Guarantee: This calculator operates 100% client-side using JavaScript. No data leaves your device, ensuring complete privacy and security for your project information.
mm
Floor to floor height
mm
Horizontal distance
mm
steps
mm
mm
Tread overhang (optional)
mm
mm
Horizontal length of stairwell opening
mm
Thickness of floor above
Number of Risers --
Number of Treads --
Riser Height --
Tread Depth --
Stair Angle --
Stringer Length --
Total Run --
Comfort (2R + T) --
Material Estimation
Stringer Notch Detail
Staircase Diagram
Building Code Standards
Parameter Requirement
Riser Height 100 – 196 mm (4" – 7.75")
Tread Depth ≥ 254 mm (10")
Nosing 19 – 32 mm (0.75" – 1.25")
Stair Angle 30° – 37°
Comfort (2R + T) 600 – 650 mm (24" – 25.5")
Stair Width ≥ 914 mm (36")
Headroom ≥ 2,032 mm (6' 8")
Enter Total Rise (floor-to-floor height) and Riser Height or Number of Steps to get started
Switch to By Rise + Run mode when you know both the vertical and horizontal distances
Use the unit toggle to switch between mm and inches — values convert automatically
Expand Headroom Check to verify clearance meets the 2,032 mm (6'8") minimum
Enter Stair Width to see material surface area estimation for treads and risers
Check the compliance panel to see which parameters meet building code standards
The Comfort Rule badge shows Optimal (600–650 mm), Acceptable, or Poor rating
All calculations are done locally in your browser
Want to learn more? Read documentation →
1/9
Can't find it? Build your own tool with AI
Start typing to search...
Searching...
No results found
Try searching with different keywords