Roof Pitch Calculator

Find a roof's pitch, angle and slope, plus the rafter length.

Last updated 2026-11-27 · How we calculate this

Enter the Roof Measurements

Calculation
Measurement system
How far the roof goes up over the run.
The level distance for that rise, usually 12 in. Rise and run can use different units.
°
The angle between the roof and level ground.
Level distance from the wall to the ridge, for the rafter length. Leave blank to skip.

Roof Pitch

Enter a rise and run to see the pitch.

Results assume a straight, flat roof plane. The rafter length is a theoretical line length, not a cut list: it does not include overhangs, birdsmouth cuts or ridge boards. Check structural sizes and roofing rules with your local code or a qualified professional.

Quick Answer

Roof pitch is the rise for every 12 of level run. Divide the rise by the run and multiply by 12: a roof that rises 6 in over 12 in is 6 ÷ 12 × 12 = 6/12, which is an angle of 26.57° and a 50% slope.

How to Use This Calculator

Measure how far the roof rises over a level distance, or enter the roof angle if you already know it. The calculator gives the pitch in the usual US form of rise over 12, the angle in degrees, the percent slope and the pitch multiplier. Add the rafter run, the level distance from the wall to the ridge, to get the rafter length along the slope. Rise and run can be in any units, even different ones.

  1. Choose "From rise and run" or "From an angle".
  2. Enter the rise and run, or the angle.
  3. Read the pitch, angle and slope.
  4. Add the rafter run if you want the rafter length.

The Formula

Pitch = rise ÷ run × 12 · Angle = tan⁻¹(rise ÷ run) · Multiplier = √(1 + (rise ÷ run)²)

The rise divided by the run gives the slope as a ratio. Multiplying by 12 turns it into inches of rise per foot of run, which is how US roofers state pitch. The angle comes from the inverse tangent of the ratio, and the percent slope is the ratio × 100. The pitch multiplier comes from the Pythagorean theorem: it is the length of the sloping side of a triangle whose level side is 1. Multiplying any level distance by it gives the matching length along the roof.

Worked Example

A rise of 6 in over a 12 in run is a 6/12 pitch: 26.57°, a 50% slope and a pitch multiplier of 1.118. A rafter run of 12 ft gives a rafter length of 12 × 1.118 = 13.42 ft.

From an angle: a 30° roof has a ratio of tan 30° = 0.5774, so its pitch is 6.93/12, its slope is 57.74% and its multiplier is 1.1547.

A low roof rising 4 in per 12 is 18.43° with a 33.33% slope, and a 12/12 roof is exactly 45°.

Metric: a roof that rises 1.5 m over a 3 m run has a ratio of 0.5, the same 6/12 pitch and 26.57° angle as the first example.

Frequently Asked Questions

What does a 6/12 roof pitch mean?

The roof rises 6 in for every 12 in it runs horizontally. The first number changes and the second is always 12, so a 4/12 roof is shallower and a 9/12 roof is steeper. In the UK and many other countries the same roof would normally be described by its angle, about 26.6°.

How do I measure my roof's pitch?

Hold a level horizontally against the roof surface or a rafter, mark 12 in along it, and measure straight down (or up) from that mark to the roof. That measurement is the rise per 12. From inside the attic you can also measure the total rise from the top plate to the ridge and the level run from the wall to the center, and enter those.

What is the difference between pitch, slope and angle?

They describe the same steepness in different ways. Pitch is rise per 12 of run, such as 6/12. Slope as a percent is rise ÷ run × 100, so 6/12 is 50%. The angle is measured in degrees from level, so 6/12 is about 26.57°. A 12/12 roof is 100% and 45°.

What is a pitch multiplier used for?

It converts a level measurement into the true length along the slope. Multiply a rafter run by it to get the rafter length, or multiply the footprint area of a simple roof by it to estimate the actual roof surface area for shingles or felt. Steeper roofs have bigger multipliers.

What is the minimum pitch for asphalt shingles?

Under the US International Residential Code, asphalt shingles may only be used on slopes of 2/12 or more, and roofs from 2/12 up to 4/12 need extra underlayment. Flatter roofs need a low-slope roofing system instead. Always check the shingle maker's instructions and your local code.

Does the rafter length include the overhang?

No. It is the length along the slope from the wall line to the ridge line, using the rafter run you enter. Add the overhang (the eave run × the same multiplier) and take off half the ridge board thickness when you cut real rafters.

Sources: International Code Council, 2021 International Residential Code, Section R905.2.2 (asphalt shingle slope); NIST Guide to SI, Appendix B (conversion factors)