Updated on April 23rd, 2026

Roof Pitch Calculator

Created By Jehan Wadia

Enter any two values below to calculate all remaining roof geometry. Mix and match units freely.
Fields will auto-calculate in real time. Computed fields show a Computed badge. Clear a field to re-enter it manually.
Roof Measurements
Vertical height from plate to ridge
Horizontal distance from wall to ridge (half span)
Sloped length from eave to ridge
Rise per 12 units of run (US standard)
Angle from horizontal (0°–90°)
Rise ÷ Run × 100
Results Summary
Rise
Run
Rafter Length
Pitch
Slope (degrees)
Slope (percent)
Low Slope — Easily walkable
Walkability Scale
Flat (0°) Easy Moderate Difficult Steep (90°)
Roof Cross-Section Diagram
Run: 12.00 ft Rise: 6.00 ft Rafter: 13.42 ft 26.57°
Common Roof Pitches — Visual Comparison
Roof Pitch Reference Table
Pitch (x:12) Degrees (°) Percent (%) Rise per Foot Rafter per Foot of Run Type
Formulas Used
Pythagorean Theorem:
Rafter = √(Rise² + Run²)
Slope (degrees):
θ = arctan(Rise / Run)
Slope (percent):
Slope% = (Rise / Run) × 100
Pitch (x:12):
x = (Rise / Run) × 12

Introduction

A roof pitch calculator helps you figure out the steepness of a roof. Roof pitch is the angle or slope of your roof, and it is usually shown as a ratio like 6/12. This means the roof rises 6 inches for every 12 inches it runs horizontally. Knowing your roof pitch is important for many reasons. It helps you pick the right roofing materials, estimate how many shingles you need, and plan for proper water drainage. Whether you are building a new roof or replacing an old one, getting the pitch right matters. Use this simple tool to calculate your roof pitch quickly by entering your rise and run measurements.

How to Use Our Roof Pitch Calculator

Enter your roof's rise and run measurements below. The calculator will give you the roof pitch as a ratio, angle in degrees, and slope percentage.

Rise: Type in how many inches your roof goes up vertically. This is the height from the top of the wall to the peak of the roof. You can measure this from inside your attic by holding a level flat and measuring straight up from it to the underside of the roof.

Run: Type in how many inches your roof covers horizontally. This is the flat distance from the outside edge of the wall to the point directly below the roof's peak. A standard run is usually measured over 12 inches, but you can enter any length you have.

Unit: Choose whether you are entering your measurements in inches, feet, or centimeters. Make sure both the rise and run use the same unit so the result is correct.

Understanding Roof Pitch

Roof pitch is the steepness or slope of a roof. It tells you how much a roof rises for every foot it runs horizontally. For example, a 6/12 pitch means the roof goes up 6 inches for every 12 inches it goes across. This measurement is important for anyone building, repairing, or replacing a roof.

Why Roof Pitch Matters

The pitch of your roof affects many things. A steeper roof sheds rain and snow more easily, which helps prevent leaks and water damage. A flatter roof is easier and safer to walk on but may hold water if not properly drained. The pitch also determines what roofing materials you can use. For instance, asphalt shingles typically need a minimum pitch of 4/12, while metal roofing can work on lower slopes.

How Roof Pitch Is Measured

Roof pitch is written as a ratio, like rise over run. The "rise" is how many inches the roof goes up vertically. The "run" is always measured over 12 inches of horizontal distance. So a "4/12 pitch" means the roof rises 4 inches for every 12 inches of horizontal run. You can also express pitch as a degree angle or as a percentage. If you need to calculate the mathematical slope separately, our slope calculator can help with that.

Common Roof Pitch Ranges

  • Low pitch (1/12 to 3/12): Nearly flat roofs, often found on commercial buildings or modern homes. These require special waterproof membranes.
  • Medium pitch (4/12 to 8/12): The most common range for residential homes. These work well with most roofing materials.
  • Steep pitch (9/12 and above): Found on older homes, A-frames, and certain architectural styles. These roofs shed water and snow very well but cost more to build and maintain.

How Roof Pitch Affects Cost

A steeper roof costs more to install because it requires more materials, extra safety equipment, and more labor time. Roofers often charge higher rates for steep-pitch work due to the added danger. Knowing your roof's pitch before getting quotes helps you budget accurately and compare bids from different contractors. Once you know your pitch, you can use our rafter calculator to determine rafter lengths and spacing, or our shingle calculator to estimate how many bundles of shingles your project requires. If your project involves building a new structure, you may also want to figure out your square footage, plan your framing, or calculate materials for decking and siding. For roofs with access ramps or walkways, our ramp slope calculator can help ensure safe, code-compliant slopes. Since roof geometry relies on the Pythagorean theorem, our right triangle calculator is another useful reference tool for verifying your measurements.


Frequently Asked Questions

What is roof pitch?

Roof pitch is how steep your roof is. It is shown as a ratio like 6:12, which means the roof rises 6 inches for every 12 inches of horizontal run. A higher first number means a steeper roof.

What two values do I need to enter in the calculator?

You need to enter any two of the six fields: rise, run, rafter length, pitch (x:12), slope in degrees, or slope as a percent. The calculator will figure out the rest for you automatically.

How do I measure the rise of my roof?

Go into your attic and hold a level horizontally. Measure straight up from the level to the underside of the roof deck. That vertical distance is your rise. You can also measure from the top of the exterior wall plate up to the ridge board.

How do I measure the run of my roof?

The run is the horizontal distance from the outside edge of the wall to the point directly below the ridge (peak) of the roof. It is half the total span of the building. You can measure this from inside the attic along your level.

What is the difference between roof pitch and roof slope?

They are closely related but expressed differently. Pitch is written as a ratio like 6:12. Slope can be shown in degrees (the angle from horizontal) or as a percentage (rise divided by run times 100). This calculator converts between all three formats.

Can I use different units for rise and run?

Yes. Each field has its own unit selector. You can enter rise in inches and run in feet, for example. The calculator converts everything internally so your results will be correct no matter what units you mix.

How is rafter length calculated?

Rafter length is calculated using the Pythagorean theorem: Rafter = √(Rise² + Run²). This gives you the sloped distance from the eave (bottom edge) to the ridge (peak) of the roof.

What does the walkability scale mean?

The walkability scale shows how safe it is to walk on a roof at that pitch. A low pitch near 0° is easy to walk on. As the pitch gets steeper, it becomes harder and more dangerous. Roofs above about 8:12 usually need safety harnesses and roof jacks.

What roof pitch is best for my area?

Areas with heavy snow or rain do better with steeper pitches (6:12 or higher) because water and snow slide off faster. Dry, warm climates can use lower pitches. Always check your local building codes for minimum pitch requirements.

What is the most common roof pitch for homes?

The most common residential roof pitch in the United States is between 4:12 and 6:12. A 4:12 pitch rises 4 inches for every 12 inches of run. This range works well with most roofing materials and provides good water drainage.

What is the minimum pitch for asphalt shingles?

Most asphalt shingle manufacturers require a minimum pitch of 2:12, and some require 4:12 for standard installation. Between 2:12 and 4:12, you usually need a special underlayment beneath the shingles. Always check the manufacturer's instructions.

What do the Computed and Input badges mean?

An Input badge means you typed that value yourself. A Computed badge means the calculator figured out that value based on your inputs. You can clear any computed field and type your own number to change which values are inputs.

How do I convert roof pitch to degrees?

Use the formula: degrees = arctan(pitch ÷ 12). For example, a 6:12 pitch equals arctan(6 ÷ 12) = 26.57°. You do not need to do this math yourself—just enter the pitch in this calculator and it shows the degrees automatically.

How do I convert roof pitch to a percentage?

Divide the rise by the run and multiply by 100. For a 6:12 pitch: (6 ÷ 12) × 100 = 50%. This calculator does the conversion for you when you enter any two values.

What does the reference table at the bottom show?

The reference table lists common roof pitches from 0.25:12 to 24:12. For each pitch, it shows the angle in degrees, slope percentage, rise per foot of run in inches, rafter length per foot of run, and the roof type category. The row closest to your calculated pitch is highlighted.

Can I use this calculator for a shed or single-slope roof?

Yes. A shed roof has one sloped surface. Measure the total rise from the low wall to the high wall, and the total run as the horizontal distance between those walls. Enter those two numbers and the calculator works the same way.

Does rafter length include the eave overhang?

No. The rafter length shown here is only the distance from the wall plate to the ridge. If your roof has an overhang (eave), you need to add that extra length separately. Measure the horizontal overhang and use the same pitch to calculate the additional rafter length.

What pitch is considered a flat roof?

A roof with a pitch of 2:12 or less is generally considered a flat or low-slope roof. These roofs need special waterproof membrane systems like built-up roofing, TPO, or EPDM because standard shingles cannot prevent leaks at such low angles.


Related Calculators

Rafter Calculator

Visit Rafter Calculator

Shingle Calculator

Visit Shingle Calculator