Construction & Home

Roof Pitch Calculator

This roof pitch calculator converts between rise-and-run, roof angle, and slope percentage, and estimates rafter length for a given horizontal run — all from either a pitch or an angle input. Whether you’re measuring roof pitch on an existing house, using it as a roofing pitch calculator to check a shingle spec, or you just need to figure out roof pitch before ordering trusses, this roof pitch estimator gets you there in one step.

Also known as: roof slope calculator, rafter length calculator, roof angle calculator, pitch to angle converter, roof pitch estimator, measuring roof pitch calculator.

Quick answer

Roof pitch is rise divided by a 12-inch run, written as rise/12. To figure out roof pitch from an angle: rise/12 = tan(angle) × 12. Enter either a rise-and-run pair or a measured angle below to get pitch, angle, slope percentage, and rafter length together.

UF
Built and reviewed by Umer Farooq, M.S. Programming & Technology
Updated September 11, 2026 Verify the formulas ↓
Enter Values
Roof pitch formula: Angle = atan(rise ÷ run)
in
in
ft
Common pitches
Pitch
0/12
rise per 12″ run
Angle
0.0°
from horizontal
Slope
0%
rise ÷ run
Rafter Factor
1.000
length per ft of run
Rafter Length
Enter a horizontal run above
run rise
A quick note on accuracy. Rafter length here is the theoretical straight-line length along the roof slope for the horizontal run entered — it doesn’t add overhang, ridge board thickness, or birdsmouth cuts. Always confirm final rafter cuts against local building code and manufacturer span tables. No data is transferred or stored; every calculation runs locally in your browser.
How to use it

How to Use This Roofing Pitch Calculator

Two ways in, four answers out — pick whichever measurement you already have.

1

Pick rise & run, or angle

If you’re measuring roof pitch directly off a roof surface, use rise & run. If you already measured the angle with a digital angle finder or protractor, switch to the angle mode instead.

2

Enter your numbers

For rise & run, most framers measure over a fixed 12-inch run — that’s what “6/12” means. Add a horizontal run to the ridge if you also want an estimated rafter length.

3

Read all four figures

Pitch notation, angle in degrees, slope percentage, and the rafter-length multiplier update together — along with a diagram showing the triangle they describe.

Why use this calculator

Why Use a Roof Pitch Calculator

Roof pitch, roof angle, and slope percentage all describe the same incline, but they use different units — and framers, roofers, and homeowners each tend to reach for a different one depending on the task at hand. A roof pitch calculator saves you from converting between them by hand: enter a rise-and-run pair or a raw angle, and it instantly shows the equivalent pitch notation, angle in degrees, slope percentage, and the rafter-length multiplier for that incline.

This kind of conversion comes up constantly on a job site. A framer working from a “6/12” spec needs the actual angle to set a saw. A roofer estimating material coverage needs the slope percentage, since some manufacturer span tables and drainage codes are written in that unit instead of the rise/12 convention. A homeowner comparing a contractor’s quote against a shingle manufacturer’s minimum-pitch requirement needs to figure out roof pitch from their roof’s measured rise and run and translate it into the notation everyone else is using.

Because rafter length depends on both the pitch and the horizontal distance being covered, this roof pitch estimator also multiplies your entered run by the rafter factor — the trigonometric relationship √(1 + (rise÷run)²) — so you get a straight-line estimate of the sloped rafter length in the same step, rather than working the Pythagorean theorem out separately.

How it works

How This Roof Pitch Calculator Works

Roof pitch describes how steep a roof is, and this calculator expresses it four interchangeable ways from a single rise-and-run or angle input.

Pitch notation

Written as rise/12 — a “6/12” roof rises 6 inches for every 12 inches of horizontal run, regardless of the roof’s actual size.

Angle

Angle = atan(rise ÷ run), converted to degrees — the actual angle the roof surface makes with a level plane.

Slope percentage

Slope % = (rise ÷ run) × 100 — used more in civil and drainage contexts than in residential framing.

Rafter factor

√(1 + (rise÷run)²) — multiply this by the horizontal run to get the actual sloped rafter length.

Reference

Common Roof Pitches at a Glance

PitchAngleSlope %Typical use
2/129.5°16.7%Low-slope, needs special roofing
4/1218.4°33.3%Common minimum for asphalt shingles
6/1226.6°50%Standard residential pitch
8/1233.7°66.7%Steep — strong drainage, more attic space
12/1245°100%Very steep, classic “A-frame” look
Worked examples

Roof Pitch Calculator: Worked Examples

Three common framing scenarios worked end-to-end using the same formulas as the calculator above.

Example 1

Finding rafter length for a known pitch and run

A gable roof has a 6/12 pitch and a horizontal run of 15 feet from the wall plate to the ridge. How long should the common rafter be?

Given inputs

  • Rise: 6 in
  • Run: 12 in
  • Horizontal run: 15 ft

Computed outputs

  • Rafter factor: √(1 + (6/12)²) ≈ 1.118
  • Rafter length: 15 × 1.118 ≈ 16.77 ft
  • Result: plan for roughly a 16 ft 9 in rafter before overhang and cuts
Example 2

Converting a measured angle back to pitch notation

A homeowner measures their existing roof at 30° from horizontal using an angle finder. What’s the equivalent rise/12 pitch?

Given inputs

  • Angle: 30°

Computed outputs

  • Rise ÷ run: tan(30°) ≈ 0.577
  • Pitch: 0.577 × 12 ≈ 6.93/12, roughly a 7/12 pitch
  • Result: closer to a 7/12 than a 6/12 — worth rounding up when sourcing trusses
Example 3

Checking whether a low-slope roof meets a shingle minimum

A porch addition has a rise of 3 inches over a 12-inch run. Does that meet a typical asphalt shingle manufacturer’s 2/12 minimum?

Given inputs

  • Rise: 3 in
  • Run: 12 in

Computed outputs

  • Pitch: 3/12
  • Angle: ≈ 14°
  • Result: 3/12 clears a typical 2/12 shingle minimum, though it’s still worth checking the specific manufacturer’s spec sheet
Common mistakes & edge cases

Roof Pitch Calculator: Mistakes to Avoid

!

Confusing pitch with slope percentage

A “6/12” pitch and a “50% slope” describe the same incline, but mixing up the two units when reading a spec sheet or building code can lead to ordering the wrong trusses or misjudging a drainage requirement.

!

Forgetting the run isn’t always 12 inches

Standard pitch notation uses a 12-inch run as the reference, but if you’re measuring an actual section of roof, your run might be a different length — this calculator’s rise/run mode handles that automatically.

!

Treating rafter length as the finished cut length

The rafter factor gives the theoretical straight-line slope length for the horizontal run entered — it doesn’t include overhang past the wall, ridge board thickness, or the birdsmouth notch cut at the wall plate.

!

Measuring rise and run inconsistently

Rise and run both need to be measured in the same units over the same horizontal distance — mixing feet and inches, or measuring rise along the slope instead of vertically, throws off every downstream result.

!

Assuming every roof plane shares one pitch

Roofs with dormers, hips, or mixed rooflines often have more than one pitch. Calculate each distinct roof plane separately rather than applying one measurement to the whole structure.

FAQ

Roof Pitch Calculator: FAQ

What does “6/12 pitch” actually mean?+
It means the roof rises 6 inches vertically for every 12 inches of horizontal run. The “12” is a fixed reference, so pitch is a ratio — a 6/12 roof is exactly twice as steep as a 3/12 roof.
How do I go about measuring roof pitch on an existing house?+
Hold a level horizontally against the roof surface, measure 12 inches out along it, then measure the vertical distance straight down to the roof at that 12-inch mark. That vertical measurement is your rise, giving you the “rise/12” pitch directly — plug it straight into this roofing pitch calculator.
What’s the minimum pitch for asphalt shingles?+
Most shingle manufacturers require a minimum of 2/12, with 4/12 and steeper being standard practice; roofs below 2/12 typically require a different roofing system, like membrane or built-up roofing, designed for low-slope drainage.
Does a steeper pitch need longer rafters?+
Yes — for the same horizontal run, a steeper pitch has a longer sloped rafter length, since the rafter is the hypotenuse of the rise/run triangle. That’s what the rafter factor in this calculator is computing.
Is roof pitch the same as roof slope?+
They describe the same incline but in different units. Pitch is expressed as rise per 12 inches of run (like 6/12), while slope is usually a percentage or a decimal ratio of rise to run — both are derived from the same rise-over-run relationship.
Can I use this as a roof pitch estimator when I only have an angle?+
Yes — switch to “By Angle” mode, enter the angle in degrees, and the calculator converts it into the equivalent rise/12 pitch, slope percentage, and rafter factor in the same step, so you can figure out roof pitch without ever touching a tape measure.
About the author

Who Built This Roof Pitch Calculator

UF

Umer Farooq

M.S. Programming & Technology · Founder, calcsdone.com

Umer built and maintains the construction and home calculators on calcsdone.com, including this roof pitch calculator. Every formula on this page is checked against the framing and trigonometric references listed below before publication. Connect on LinkedIn or visit the About page for more.

Which calculator do you need?

More Framing Calculators Like This

Sources & methodology

Roof Pitch Calculator: Formula References

Scroll to Top