Construction calculators

Roof Pitch Calculator

Updated Nov 17, 2026 By Infinity Calculator Formulas Sources
Rate
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 wall plate to ridge
Rise per 12 units of run (US standard)
Angle from horizontal (0° to 90°)
Rise ÷ Run × 100
Results Summary
Rise
—
Run
—
Rafter Length
—
Pitch
—
Slope (degrees)
—
Slope (percent)
—
Medium Pitch
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

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. Getting the pitch right matters when you build a new roof or replace an old one. 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 far your roof goes up vertically, in the unit chosen beside the box. This is the height from the top of the wall to the peak of the roof. If you measured the pitch with a level in your attic instead, enter it in the Pitch box together with the run.

Run: Type in how far your roof covers horizontally, in the unit chosen beside the box. This is the flat distance from the outside edge of the wall to the point directly below the roof's peak. Enter the full distance to get the right rafter length. If you only need the pitch, a rise and run measured over a shorter length, such as 12 inches, gives the same pitch.

Unit: Each length box has its own unit list: millimeters, centimeters, meters, inches, feet and yards. The boxes do not have to match, because each one is converted from its own unit.

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 may hold water if it is not properly drained. The pitch also determines what roofing materials you can use. For instance, asphalt shingles can be used only on slopes of 2/12 or steeper, with a double layer of underlayment from 2/12 up to 4/12.1 Standing-seam metal roofing can go much lower, down to 1/4 in 12.1

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. In a pitch, the "run" is always 12 inches of horizontal distance, not the roof's full run. 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.

Common Roof Pitch Ranges

  • Low pitch (4/12 or less): Flat or gently sloping roofs, often found on commercial buildings or modern homes. Asphalt shingles are not allowed below 2/12, so the flattest roofs use membranes or built-up roofing.1 From 2/12 up to 4/12, shingles need a double layer of underlayment.1
  • Medium pitch (over 4/12 up to 8/12): A common range for residential homes. These work well with most roofing materials.
  • Steep pitch (over 8/12): 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.


Formulas used

Rafter Length (Pythagorean Theorem) 3
\text{Rafter} = \sqrt{\text{Rise}^2 + \text{Run}^2}
Slope in Degrees
\theta = \arctan\!\left(\frac{\text{Rise}}{\text{Run}}\right)
Slope as Percentage
\text{Slope\%} = \frac{\text{Rise}}{\text{Run}} \times 100
Pitch (x:12)
x = \frac{\text{Rise}}{\text{Run}} \times 12
Run from Rafter and Pitch Ratio
\text{Run} = \frac{\text{Rafter}}{\sqrt{1 + \left(\frac{\text{Rise}}{\text{Run}}\right)^2}}

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.

How do I measure the rise of my roof?

The rise is the vertical distance from the top of the exterior wall plate up to the point where the rafters meet at the ridge.3 To find the pitch instead, go into your attic, hold one end of a level against the underside of a rafter and level it. Measure straight up from the level's 12 inch mark to the rafter. That distance in inches is the rise for every 12 inches of run, the first number in the pitch.

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. To find it, measure the building's width from the outer edge of one wall plate to the outer edge of the other and divide by two.3

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.

How is rafter length calculated?

Rafter length is calculated using the Pythagorean theorem: Rafter = √(Rise² + Run²).3 This gives you the sloped distance from the outer edge of the wall plate to the center of the ridge, without any eave overhang.3

What roof pitch is best for my area?

A steeper roof helps snow slide off, but roofs under 30 degrees in slope generally do not see significant sliding, and the slope needed to keep snow from building up depends on how wet the snow is and how slick the roof surface is.4 A slope of 30 degrees is about 7:12. 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?

Pitches between 4:12 and 6:12 are common on U.S. homes. 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?

The IRC allows asphalt shingles only on slopes of 2:12 or steeper.1 From 2:12 up to 4:12, it requires a double layer of underlayment beneath the shingles.1 Always check the manufacturer's instructions.

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.

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?

OSHA calls a roof with a slope of 4 in 12 or less a low-slope roof.2 Asphalt shingles are not allowed below 2 in 12, so flatter roofs use systems such as built-up roofing, which the IRC allows down to 1/4 in 12 (1/8 in 12 for coal-tar built-up roofs), or single-ply membranes like TPO and EPDM.1


Sources

  1. 2024 International Residential Code (IRC), Chapter 9: Roof Assemblies. International Code Council. § R905.2.2, § R905.9.1, § R905.10.2. Accessed September 26, 2026.
  2. 29 CFR 1926.500 - Scope, application, and definitions applicable to this subpart. Occupational Safety and Health Administration. § 1926.500(b). Accessed September 26, 2026.
  3. Countryman GL. Builder 3 & 2 (NAVEDTRA 10648-G), Chapter 10: Roof Framing. Naval Education and Training Program Development Center. 1981;Chapter 10, Roof Construction Terms and Common Rafter Layout (pp. 10-2 to 10-5). Accessed November 17, 2026.
  4. Managing Snow Loads on Roofs and Decks. U.S. Department of Energy, Building America Solution Center. Sliding Snow. Accessed November 17, 2026.