Roof pitch calculator

Roof angle = arctangent of rise divided by run. Both measurements must use the same unit.

Inputs

Your result26.5650511771 °

Formula and calculation method

Take the arctangent of rise divided by run. Convert the angle from radians to degrees.

Worked example

InputExample 1Example 2
Rise (in)612
Run (in)1212
Result26.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.

Roofing calculatorDeck material calculatorStair riser height calculatorFence panels calculator