Roof Pitch Calculator

Calculate roof pitch, rafter angle, rise, run, and common rafter length for framing, shingling, and construction projects. Convert between X:12 pitch ratio and degrees in seconds.

Please enter valid positive numbers for all fields.

Results

Pitch
—:12
Angle
—°
Slope
—%
Rafter Length
—in

How it works

Roof pitch describes the slope of a roof as the vertical rise over the horizontal run, commonly written as X:12 (for example, 6:12 means 6 units up for every 12 units across). The calculator uses basic trigonometry: the angle in degrees is atan(rise ÷ run) × 180/π, the slope percentage is (rise ÷ run) × 100, and the common rafter length is the hypotenuse √(rise² + run²). Enter any two values—rise and run, or pitch and run—and the calculator instantly finds the rest.

Frequently asked questions

What is roof pitch and how is it measured?
Roof pitch is the steepness or slope of a roof, expressed as a ratio of vertical rise to horizontal run. In the United States it is almost always written as X:12, meaning the roof rises X units for every 12 units of horizontal run. You measure it by placing a 12-inch level against the roof, then measuring the vertical distance from the 12-inch mark up to the roof surface.
How do I convert roof pitch to degrees?
Divide the pitch ratio by 12 to get the tangent of the angle, then take the inverse tangent (arctan). For example, a 6:12 pitch equals arctan(6/12) ≈ 26.57°. A 4:12 pitch is about 18.43°, an 8:12 pitch is about 33.69°, and a 12:12 pitch is exactly 45°. This calculator does the conversion for you instantly.
What is the minimum roof pitch for asphalt shingles?
Most asphalt shingle manufacturers require a minimum pitch of 2:12 (about 9.5°) for standard installation. Below 2:12, water drains too slowly and can seep under the shingles, so a low-slope roofing system (such as rolled roofing or a single-ply membrane) is recommended instead. Always follow the specific manufacturer's instructions for your shingle product.

Related tools