Calculateus

Roof Pitch Calculator

Convert between roof pitch notation (X:12), degrees, and percentage slope.

Result

Pitch Notation
6:12
Angle
26.6°
Percent Slope
50%
Slope Ratio
0.5

About the Roof Pitch Calculator

Roof pitch shows up in three different notations depending on who you're talking to: framers use X:12 rise-over-run, some codes and calculations use degrees, and other spec sheets use percent slope. This calculator takes a single rise measurement and converts it into all three formats at once, along with the underlying slope ratio.

How It Works

You enter the rise, meaning how many inches the roof climbs for every 12 inches of horizontal run. From that single number, the calculator derives the pitch notation, the angle in degrees using the arctangent function, the percent slope, and the raw slope ratio (rise divided by 12) as a decimal.

angle (degrees) = arctan(rise / 12) x (180 / pi); percent slope = (rise / 12) x 100; slope ratio = rise / 12

Formula & Methodology

The X:12 convention describes a right triangle where the horizontal leg is fixed at 12 inches and the vertical leg is your rise value. The slope ratio, rise divided by 12, is the tangent of the roof's angle, so taking the arctangent of that ratio and converting from radians to degrees gives the angle. Percent slope is that same ratio simply expressed as a percentage rather than a ratio or an angle, so a 6:12 pitch, a 26.6 degree angle, and a 50% slope all describe the identical roof surface.

Examples

6:12 moderate pitch

With the default rise of 6, the calculator returns a 6.0:12 notation, an angle of about 26.6 degrees, a 50% slope, and a slope ratio of 0.500, a pitch common on many traditional gable roofs.

9:12 steep pitch

Entering a rise of 9 produces a 9.0:12 notation, an angle of roughly 36.9 degrees, a 75% slope, and a slope ratio of 0.750, representative of steeper roof styles favored in snow-load regions.

Advantages

  • Converts between the three pitch formats builders, architects, and manufacturers each tend to prefer, from one input.
  • Removes the need to manually work through an arctangent calculation when translating a framing square measurement to degrees.
  • Provides the raw slope ratio decimal, useful for plugging directly into other roofing formulas like rafter length.

Common Mistakes

  • Confusing percent slope with degrees, since a 100% slope is a 45 degree angle, not a near-vertical wall as the word "percent" might suggest.
  • Reading a roof's rise off an already-sloped surface instead of measuring it against a true 12 inch horizontal run, which skews the pitch reading.
  • Treating pitch notation as interchangeable across different run bases without checking whether a spec sheet is actually using the standard 12 inch convention.

Edge Cases to Watch For

  • The rise field has no built-in floor, so a rise of 0 correctly returns a flat 0 degree, 0% slope roof.
  • Because arctangent is asymptotic, extremely high rise values approach but never reach a full 90 degree vertical wall.
  • The calculator assumes standard 12 inch run notation; some regions and older documents occasionally reference pitch against a different run base, which this tool does not detect or convert for.

Common Use Cases

  • Framers translating a measured on-site pitch into the degree figure needed for a specific cut angle or tool setting.
  • Homeowners checking whether their roof's pitch meets a manufacturer's minimum slope requirement, often listed in percent or degrees.
  • Designers converting between notations when comparing roofing product specs that reference different pitch formats.
Written & fact-checked by the Calculateus TeamLast updated August 5, 2026How we verify our formulas

Frequently asked questions

Why do roofers use X:12 notation instead of degrees?

The X:12 convention (rise per 12 inches of horizontal run) traces back to standard framing square layout, where the 12-inch mark makes it easy to mark and cut consistent angles directly with a carpenter's square on the job site - it remains the standard trade notation in the US even though angle in degrees is mathematically equivalent and sometimes more intuitive.

Conclusion

Roof pitch is one measurement described three different ways depending on the trade or document you're reading. This calculator keeps those three descriptions consistent so you can move between a framing square reading, an angle, and a percent slope without doing the trigonometry by hand, which is especially useful when a rafter, truss, or roofing product spec references a format different from the one you started with.