Home Calculators Roof Pitch Calculator
Roofing Measurement Tool

Roof Pitch Calculator

Calculate roof pitch from rise and run and instantly convert it to an X:12 pitch, roof angle in degrees, slope percentage, pitch ratio, and rafter length. Use inches, feet, centimeters, meters, or any consistent measurement unit.

Pitch X:12 Roof Angle Slope Percentage Rafter Length

Enter Roof Measurements

Enter rise and horizontal run using the same unit.

Rise Run Rafter
Vertical height gained by the roof.
Horizontal distance covered by the roof.
Rise and run must use the same unit.
Traditional roof pitch is expressed per 12 units of run.
A 6:12 roof pitch means the roof rises 6 units vertically for every 12 units of horizontal run. Rise and run can use any unit as long as both measurements use the same unit.
Roofing Guide

What Is Roof Pitch?

Roof pitch describes how steep a roof is. In many construction systems, pitch is expressed as the number of vertical units of rise for every 12 horizontal units of run.

For example, a 6:12 roof pitch means the roof rises 6 inches, centimeters, or other equal units for every 12 units of horizontal distance.

What Is Rise?

Rise is the vertical height gained by the roof over a specified horizontal distance. It is the vertical side of the right triangle formed by the roof slope.

What Is Run?

Run is the horizontal distance from the starting point of the roof slope to the point directly below its upper end. For a simple symmetrical gable roof, the run is commonly half the building span.

How It Works

How to Use the Roof Pitch Calculator

01

Measure the Rise

Measure the vertical increase from the lower roof point to the upper point.

02

Measure the Run

Measure the horizontal distance covered over the same section of roof.

03

Calculate Pitch

The calculator converts rise and run into X:12 pitch, degrees, percentage slope, and rafter length.

Example: If the roof rises 6 inches over a horizontal run of 12 inches, the roof pitch is 6:12, the slope is 50%, and the angle is approximately 26.57°.
Roof Pitch Formulas

How Is Roof Pitch Calculated?

Pitch in X:12 Format

To convert any rise and run measurement into standard roof pitch, divide the rise by the run and multiply by 12: Pitch = (Rise ÷ Run) × 12 .

Roof Angle in Degrees

The roof angle can be calculated using the inverse tangent of the slope: Angle = arctan(Rise ÷ Run) . The result is converted from radians to degrees.

Roof Slope Percentage

Roof slope percentage is calculated as: Slope % = (Rise ÷ Run) × 100 . A 6:12 pitch therefore has a slope of 50%.

Rafter Length

Rise and run form the two shorter sides of a right triangle, so the sloped rafter length is calculated with the Pythagorean theorem: Rafter Length = √(Rise² + Run²) .

Reference Table

Common Roof Pitch Angles

Roof Pitch Slope % Approx. Angle
1:12 8.33% 4.76°
2:12 16.67% 9.46°
3:12 25% 14.04°
4:12 33.33% 18.43°
5:12 41.67% 22.62°
6:12 50% 26.57°
8:12 66.67% 33.69°
10:12 83.33% 39.81°
12:12 100% 45°
Roof Classification

Low, Conventional and Steep Roof Pitch

Roof slopes are often described using broad categories. Very low slopes are closer to flat, while larger X:12 values indicate steeper roofs.

Pitch Range General Description
Below 2:12 Very low slope
2:12 to below 4:12 Low slope
4:12 to 9:12 Conventional / moderate slope
Above 9:12 Steep slope
Roofing-material requirements and minimum permitted slopes can vary by product, manufacturer, local building code, and climate. Use the calculated pitch as a measurement tool and confirm construction requirements separately.
Rafter Measurement

How to Calculate Rafter Length from Roof Pitch

The calculator finds the straight-line distance between the two ends of the measured roof slope. This is the hypotenuse of the right triangle formed by rise and run.

For example, with a rise of 6 units and a run of 12 units, the basic rafter length is approximately 13.42 units.

This geometric measurement does not automatically include overhangs, ridge adjustments, birdsmouth cuts, structural details, or other construction allowances.

Common Questions

Roof Pitch Calculator FAQs

A 6:12 pitch means the roof rises 6 vertical units for every 12 horizontal units of run. This equals a 50% slope and an angle of approximately 26.57 degrees.
Divide the rise by the run and multiply the result by 12. For example, a rise of 8 over a run of 16 gives 8 ÷ 16 × 12 = 6, producing a 6:12 pitch.
Calculate the inverse tangent of rise divided by run, then convert the resulting angle from radians to degrees.
A 4:12 roof pitch has an angle of approximately 18.43 degrees and a slope of about 33.33%.
A 12:12 roof rises at the same rate as its horizontal run, so its angle is 45 degrees and its percentage slope is 100%.
Yes. Roof pitch is based on the ratio between rise and run, so you can use inches, feet, centimeters, meters, or another unit as long as both measurements use the same unit.
No. The basic result is the straight-line hypotenuse calculated from the entered rise and run. Additional overhang and framing allowances must be added separately when needed.
The calculations run directly in your browser using JavaScript, so the entered measurements do not need to be sent to a calculation server.