Roof Pitch CalculatorFree Online Tool
Roofing Guides5 min read

How Do I Calculate Roof Pitch? 4 Methods Explained

By Roof Pitch Calculator Team

If you've ever stared up at a roof and wondered how steep it actually is — or needed that number for a contractor, a permit, or a materials quote — you're in the right place. Calculating roof pitch isn't complicated once you understand what you're measuring. This guide walks through four practical methods, from pencil-and-paper math to a quick online calculator.

What Is Roof Pitch, and Why Does It Matter?

Roof pitch is the ratio of how much a roof rises vertically for every 12 inches it runs horizontally. A roof that rises 6 inches for every 12 inches of horizontal distance has a 6:12 pitch.

Knowing your pitch matters for several real-world reasons:

  • Material selection — most asphalt shingles require at least a 4:12 pitch; low-slope materials (TPO, modified bitumen) are needed below that
  • Permit applications — building departments often ask for pitch on permit drawings
  • Insurance claims — steeper roofs can affect replacement cost calculations
  • Contractor communication — giving a roofer the correct pitch avoids measurement errors and wrong material orders

Method 1: Rise and Run Formula

This is the foundational math method. It works whether you're on the roof or doing desktop planning.

The formula: Pitch = (Rise ÷ Run) × 12

Rise is the vertical distance from the top of the wall plate to the peak of the roof. Run is the horizontal distance from the outer wall to the center of the roof (half the total span).

Step-by-Step Example

  1. Measure the run — say the building is 20 feet wide, so the run is 10 feet (120 inches).
  2. Measure the rise — the roof peaks 5 feet (60 inches) above the wall plate.
  3. Plug into the formula: Pitch = (60 ÷ 120) × 12 = 6:12

The result tells you: for every 12 inches of horizontal travel, this roof rises 6 inches.

Working in Inches vs. Feet

You can use either unit, as long as you're consistent. Rise and run both in inches, or both in feet — the ratio stays the same because the 12 is a scaling factor, not a unit conversion.


Method 2: Using a Level and Tape Measure

This is the go-to physical measurement method. You don't need to climb to the peak — you can do it from the attic or right on the roof surface.

Tools Needed

  • A standard 2-foot carpenter's level (or a torpedo level)
  • A tape measure

Steps

  1. Hold the level horizontally against the roof surface, with one end touching the roof.
  2. Mark a point exactly 12 inches along the level from where it touches the roof.
  3. At that 12-inch mark, measure straight down to the roof surface.
  4. That vertical measurement, in inches, is your pitch number.

For example: if the gap from the bottom of the level to the roof surface at the 12-inch mark is 5 inches, your pitch is 5:12.

This method works best when done from inside the attic on the underside of the rafters — you get a clean, flat surface to work with and you're not dealing with shingles.


Method 3: Smartphone App

Modern smartphones have the sensors to measure roof angle directly. The iOS Measure app includes a built-in level function. Android users can find free clinometer apps (search "clinometer" or "bubble level") in the Play Store.

How to Use It

  1. Open the level/clinometer function in the app.
  2. Place your phone flat against the roof surface (or against a straight board laid on the roof).
  3. Read the angle in degrees displayed on screen.
  4. Convert the angle to pitch using this formula:

Pitch = tan(angle°) × 12

Quick Conversion Example

Your phone reads 26.6 degrees.

Pitch = tan(26.6°) × 12 = 0.501 × 12 ≈ 6:12

Most scientific calculators and phone calculators have a tan function. This method is accurate to within a fraction of a pitch unit when your phone is lying flat and the surface is consistent.


Method 4: Use an Online Calculator

If you already know the rise and run (or the angle), the fastest approach is to plug the numbers into a free roof pitch calculator. You get instant results including:

  • Pitch expressed as X:12
  • Exact angle in degrees
  • Slope as a percentage
  • Rafter length for a given span

No formula memorization, no unit conversions — just enter what you know and read the output. This is particularly useful when you're comparing several design options and need to see how changing the rise affects rafter length.


What If I Only Have the Angle in Degrees?

Sometimes a drawing or spec sheet gives you a roof angle in degrees instead of a pitch ratio. Convert it with:

Pitch = tan(degrees × π ÷ 180) × 12

Or more practically, just use the tan key on a calculator:

  • tan(18.4°) × 12 = 4:12
  • tan(26.6°) × 12 = 6:12
  • tan(33.7°) × 12 = 8:12
  • tan(45°) × 12 = 12:12

Pitch-to-Angle Quick Reference

Use this table to sanity-check your measurement:

| Pitch | Angle (degrees) | Description | |-------|-----------------|-------------| | 4:12 | 18.4° | Low-slope residential | | 6:12 | 26.6° | Common residential | | 8:12 | 33.7° | Moderately steep | | 12:12 | 45° | Steep / cottage style |

If your calculated pitch or angle falls outside these rough benchmarks for a typical house, double-check your measurements before ordering materials.


Common Mistakes to Avoid

Measuring from the wrong point. Rise must be measured from the top of the wall plate (the framing), not from the finished ceiling or the floor. Adding ceiling thickness to your rise will give you an inflated pitch number.

Confusing full span with half-span. The "run" in the pitch formula is always half the total building width (from one outer wall to the ridge). If a house is 24 feet wide, the run is 12 feet. Using 24 feet doubles your run and cuts your calculated pitch in half.

Measuring on the shingles instead of the framing. Shingles add a small but real thickness, and on older roofs they may be uneven. For the most accurate result, measure on the rafter itself or use the inside-attic method described above.


Key Takeaways

  • Roof pitch = (rise ÷ run) × 12 — learn this one formula and every other method flows from it.
  • The level-and-tape method is the most reliable for on-site measurement without special tools.
  • Smartphone clinometers work well in a pinch; just remember to convert degrees to pitch using tan(angle°) × 12.
  • An online roof pitch calculator handles the math instantly and adds rafter length as a bonus output.
  • Watch out for the two classic mistakes: using full span instead of half-span, and measuring from the wrong reference point.

Once you have the pitch number, you're equipped to choose the right roofing material, fill out a permit application accurately, and talk to contractors in the same language they use every day.

Related Articles