How to Calculate Roof Pitch
Measure the vertical rise over a known horizontal run. Divide rise by run to get the slope ratio. To express the same roof as X/12, multiply that ratio by 12.
X = (rise รท run) ร 12
Example: a 6 in rise over a 12 in run gives 6/12. A 150 mm rise over a 300 mm run gives the same pitch because the ratio is identical.
Roof Angle Calculator: pitch to degrees
The roof angle is measured from horizontal. For an X/12 roof pitch, divide X by 12 and apply the inverse tangent.
angle = atan(X รท 12)
A 6/12 pitch is approximately 26.57ยฐ. The calculator uses the trigonometric conversion directly rather than a hardcoded lookup.
Convert degrees to roof pitch
If you know the roof angle, take the tangent of the angle to obtain rise/run, then multiply by 12.
X/12 pitch: X = tan(angle) ร 12
This is useful when an angle is measured from a drawing, inclinometer or digital level.
Roof Slope and Roof Gradient Calculator
Roof slope percentage expresses vertical change as a percentage of horizontal run. A 50% slope means the roof rises 0.5 unit for every 1 unit of horizontal run.
slope % = (rise รท run) ร 100
Pitch, angle, gradient and percentage slope describe the same geometry in different formats.
How to measure rise and run
- Measure run horizontally, not along the roof surface.
- Measure rise vertically over that same run.
- Use matching units; inches, feet, millimeters or meters all work when both measurements use the same unit.
- For field measurements, a 12-inch or 300-mm horizontal run is convenient, but any consistent run can be used.
Common roof pitches
The table above lists 1/12 through 12/12 and calculates the corresponding angle and percentage slope. Lower pitches are flatter; 12/12 corresponds to a 45ยฐ roof because rise equals run.
Pitch alone does not determine structural adequacy, roofing compatibility or drainage requirements; those depend on the roof system and applicable requirements.
Roof pitch calculator FAQ
What is the difference between roof pitch and roof angle?
Pitch is commonly written as rise per 12 units of run, such as 6/12. Roof angle expresses the same slope in degrees from horizontal.
How do I convert roof slope percentage to pitch?
Divide the percentage by 100 to get rise/run, then multiply by 12. For example, 50% becomes 0.5 ร 12 = 6, or 6/12.
How do I convert degrees to slope percentage?
Take the tangent of the angle and multiply by 100. For example, tan(26.565ยฐ) ร 100 is approximately 50%.
Can I use metric measurements?
Yes. Rise/run is a ratio, so any matching units work. A rise of 150 mm over a run of 300 mm is the same 6/12 pitch as 6 inches over 12 inches.
Does roof pitch tell me rafter length?
Not by itself. Rafter length also requires a horizontal run. Use the Roof Rafter Calculator when you need rafter length, overhang, birdsmouth and layout geometry.