Formula and calculation method
Take the arctangent of rise divided by run. Convert the angle from radians to degrees.
Worked example
| Input | Example 1 | Example 2 |
|---|---|---|
| Rise (in) | 6 | 12 |
| Run (in) | 12 | 12 |
| Result | 26.5650511771 ° | 45 ° |
How to use the result
Use horizontal run, not the sloping rafter length. A rise of 6 inches over 12 inches is a 6:12 pitch, not a 6-degree angle. The result is an angle in degrees, not a structural assessment.
Should I enter the roof width or the run?
Use the horizontal distance associated with the rise you measured. On a symmetrical gable, the run from the eave to the ridge is half the horizontal span. Measure rise and run in the same unit, and keep fractional values until you have the angle.