Skip to content
Calc.

Roof Pitch Calculator

Convert between rise-over-run pitch (X-in-12), degrees, and slope percentage. Includes rafter-length multiplier for figuring out material lengths.

Last updated: September 2026

Roof angle

26.57 °

Formula below · 2 sources (codes.iccsafe.org, openstax.org) · Updated Sep 2026

Compare with similar

About this calculator

Roof pitch is written three ways. In the US it is usually rise per 12 inches of run (6/12, "six in twelve"); elsewhere it is often an angle in degrees; engineers also use percent slope (rise ÷ run × 100). They convert through the tangent:

angle = arctan(rise ÷ 12) = arctan(percent ÷ 100), and rise per 12 = 12 × tan(angle).

Pick the form you have, enter it, and the calculator returns the angle, with tiles for the rise per 12, the percent slope and the pitch factor (1 ÷ cos angle), which multiplies a footprint area to give the sloped roof area.

To measure an existing roof, hold a level horizontally against the rafter or roof surface, mark 12 inches along it, and measure straight down to the roof: that distance is the rise per 12. The minimum slope for asphalt shingles under the International Residential Code is 2/12, with double underlayment required from 2/12 up to 4/12; other roof coverings have their own minimums in IRC Chapter 9.

How to use

Choose what you know (rise per 12, an angle, or percent slope) and enter it. Example (the default): a 6/12 roof is arctan(6 ÷ 12) = 26.57°, a 50% slope, with a pitch factor of 1.118, so the roof surface is 11.8% larger than the footprint. A 30° roof is about 6.93/12.

Frequently asked questions

What is a 4/12 roof pitch in degrees?

arctan(4 ÷ 12) = 18.43°. Common values: 3/12 = 14.04°, 6/12 = 26.57°, 8/12 = 33.69°, 12/12 = 45°.

What is the minimum pitch for asphalt shingles?

The International Residential Code allows asphalt shingles on slopes of 2/12 or more, with two layers of underlayment required between 2/12 and 4/12 (R905.2.2). Below 2/12 a low-slope roof covering is needed.

How do I measure the pitch of my roof?

Place a level horizontally on the roof or a rafter, measure 12 inches along the level, and measure vertically from that point down to the roof. The vertical distance in inches is the rise per 12.

Related calculators

Sources & references

How we check our calculators

Think a result is wrong? Report a problem with this calculator.