Enter Stair Dimensions

Fill in the rise, run, and stair type. Results update live as you type.

Stair calculator diagram showing rise, run, tread, riser, and stringer dimensions
degrees
LIVE CALCULATION

Results

Number of Steps
15
risers
Interior · 108 in rise · 7.5 in riser

Project Summary

Total Rise108 in
Total Run140 in
Number of Steps15 risers
Riser Height7.2 in
Tread Depth10 in
Stair Angle37°
Stringer Length176.6 in
Stair Width36 in
IRC Code Check—

Materials Estimate

Stringers (2×12)2
Treads (2×10)14
Risers (1×8)15
Total Lumber—

Calculation Assumptions

Stair TypeInterior
Total Rise108 in
Riser Height7.5 in
Tread Depth10 in
Nosing1 in
Number of Risers15
Number of Treads14
Stringer Length176.6 in

What You Get

ON THIS PAGE:

Written & Reviewed by Editorial Team.

MyBuilderBase is an independent construction calculator and information project. Content is researched and prepared with the assistance of AI tools, followed by editorial review for clarity, consistency, calculation logic, and usability.

Editorial review is not professional engineering, architectural, or building-code approval.

Editorial Policy ›
Last updated: September 12, 2026

What Is a Stair Calculator

A stair calculator is a tool that determines the dimensions of a staircase based on the total height it needs to span. It calculates the number of steps, individual riser height, total horizontal run, and the length of the diagonal stringer that supports the structure.

Whether you are building interior stairs, exterior deck stairs, or a garage step, the calculator ensures your design meets building codes and provides comfortable, safe proportions for everyday use.

How to Calculate Stairs

Follow these steps to calculate your staircase dimensions:

Stair Formulas

Key formulas used in stair calculations:

Number of Risers

Risers = ceil(Total Rise / Riser Height)

Always round up to ensure each riser is within code limits.

Actual Riser Height

Actual Riser = Total Rise / Risers

Recalculate after rounding to get the true riser height.

Number of Treads

Treads = Risers − 1

The top tread is the upper floor, so one fewer tread than risers.

Total Run

Total Run = Treads × Tread Depth

Horizontal distance from the face of the first riser to the face of the last riser.

Stringer Length

Stringer = √(Rise² + Run²)

Diagonal length of the supporting stringer using the Pythagorean theorem.

Stair Angle

Angle = arctan(Rise / Run)

The slope angle of the staircase in degrees.

Building Codes & Standards

The International Residential Code (IRC) sets minimum standards for stair construction:

Riser Height

4″ – 7.75″

Maximum variation between tallest and shortest riser: ⅜ inch

Tread Depth

≥ 10″

Minimum tread depth measured at mid-tread

Stair Width

≥ 36″

Minimum width for residential stairs

Nosing

¾″ – 1¼″

Tread must extend ¾ to 1¼ inches beyond the riser below

Headroom

≥ 6′-8″

Minimum vertical clearance from tread nosing to ceiling

Handrails

34″ – 38″

Height measured from tread nosing, required on both sides for 4+ risers

Types of Stairs

Different staircase applications have unique construction requirements, building codes, and material considerations:

Interior staircase with oak treads, white risers, and black railings

Interior Stairs

Standard indoor staircases connecting floors in homes. Typically built with 7.5-inch risers and 10-inch treads at a 37-degree angle using 2×12 stringers and finished oak or pine treads.

Exterior entry stairs with stone and cedar steps at a home entrance

Exterior Stairs

Outdoor stairs for porches, patios, and entryways. Require weather-resistant pressure-treated lumber, stone, or composite materials with a slight forward slope for water runoff.

Wooden deck stairs connecting an elevated deck to a backyard lawn

Deck Stairs

Staircases connecting an elevated deck to the yard or patio. Usually require solid concrete footings at the base, post anchors, and secure ledger board framing attachments.

Wooden garage entry stairs with side handrails

Garage Stairs

Short utility stairs leading from a garage slab up to the interior house door. Built to withstand temperature changes, heavy foot traffic, and often requiring fire-rated door transitions.

Tips for Building Stairs

Follow these best practices when building your staircase:

Materials & Costs

Common lumber dimensions and estimated costs for stair construction:

Stringers (2×12)

Typically $8-$15 per 12-foot board. Use one stringer per 16-18 inches of stair width.

Treads (2×10)

Typically $6-$12 per board. Cut to width with 1-inch nosing overhang on each side.

Risers (1×8)

Typically $3-$6 per board. Can be solid or riser-cap style for open risers.

Hardware & Fasteners

Construction adhesive, 3-inch screws, joist hangers, and post anchors. Budget $25-$50 total.

Worked Example: 9-Foot Ceiling Staircase

Step-by-step calculation walkthrough for building a standard residential staircase in a 9-foot ceiling room (108″ floor-to-floor rise):

1

Calculate Number of Risers

Divide the total rise (108″) by the standard 7.5″ riser target, then round up to the nearest whole integer:

108″ ÷ 7.5″ = 14.4 ➔ 15 Risers
2

Determine Exact Riser Height

Divide the total rise by 15 risers to determine equal, code-compliant riser heights:

108″ ÷ 15 = 7.20″ per Riser
3

Calculate Treads & Total Run

The top step connects to the upper floor, so tread count is 1 less than risers. With a standard 10″ tread depth:

Treads = 15 − 1 = 14 Treads
Total Run = 14 × 10″ = 140″ (11.67 ft)
4

Calculate Stringer Length & Incline Angle

Apply the Pythagorean theorem for the stringer length and arctangent for the slope angle:

Stringer = √(108² + 140²) = √31,264 ≈ 176.8″ (14.73 ft)
Angle = arctan(108 ÷ 140) ≈ 37.6°

Project Takeoff Summary

Calculated Dimensions

Total Rise:108 in (9 ft)
Total Run:140 in (11.67 ft)
Riser Specs:15 @ 7.20 in
Tread Specs:14 @ 10.00 in
Stringer Length:14.7 ft (176.8 in)
Incline Angle:37.6° (Standard)
Comfort Score (2R+T):24.4 in (Ideal)

Materials & Cut List

2×12 Stringers (36″ wide):2 pcs (16 ft ea)
2×10 Treads (36″ wide):14 boards
1×8 Risers (36″ wide):15 boards
Estimated Total Lumber:~159 Board Feet
100% IRC compliant (riser ≤ 7.75″, tread ≥ 10″).

Frequently Asked Questions

How do I calculate the number of steps for my staircase? ▼
Divide the total rise (floor-to-floor height) by the desired riser height. Standard riser height is 7 to 7.75 inches. For example, a 108-inch rise divided by 7.5 inches equals 14.4, which rounds up to 15 steps.
What is the standard stair angle? ▼
Standard stairs are built at a 37-degree angle with a 7.5-inch rise and 10-inch run. Steeper stairs (up to 42 degrees) are used in tight spaces, while shallower angles (30-35 degrees) are common for grand or decorative staircases.
How long should a stair stringer be? ▼
Use the Pythagorean theorem: stringer length = sqrt(total rise² + total run²). For a 108-inch rise with a 140-inch run, the stringer is approximately 176.82 inches (14.7 feet). Add 6-12 inches for trimming at top and bottom.
How many stringers do I need for a staircase? ▼
Use 2 stringers for stairs up to 36 inches wide, 3 stringers for 36-48 inches wide, and 4 stringers for widths over 48 inches. For heavy-duty applications or wide treads, add intermediate stringers every 16 inches on center.
What is the code for stair riser height? ▼
The International Residential Code (IRC) requires riser heights between 4 and 7.75 inches, with a maximum variation of 3/8 inch between the tallest and shortest riser in a flight. Tread depth must be at least 10 inches.
How much lumber do I need for stair stringers? ▼
Stringers are typically cut from 2x12 lumber. For a standard 36-inch wide staircase, you need two 2x12 stringers. Each stringer should be at least 12 inches wide at the narrowest point after notching. Calculate based on your total rise and run.

References

  1. International Code Council, "International Residential Code (IRC)," iccsafe.org
  2. U.S. Access Board, "ADA Accessibility Guidelines," access-board.gov

Disclaimer: The stair calculator results on this page are planning estimates only. Actual stringer layout and material use vary with framing method, tread overhang, and headroom constraints, and residential stairs must meet local code limits for riser height, tread depth, and guardrail requirements. Confirm dimensions and lumber pricing with your supplier, and verify the finished stair against your local building code before construction.

Need Stairs Built?

Get free estimates from licensed carpenters and stair builders in your area.

Get Free Estimates