Roof Pitch Calculator
Calculate roof pitch, slope percent, roof angle, rafter length, and rafter length with optional overhang from rise and run.
Vertical roof rise in inches.
Horizontal roof run in inches.
Optional horizontal overhang in inches.
Status: initial
Results
Awaiting calculation
Introduction
The Roof Pitch Calculator converts rise and run into pitch, slope percent, angle, rafter length, and optional overhang-adjusted rafter length for early roofing and framing planning.
The calculator divides rise by run to find slope, multiplies that value by 12 to express pitch as x:12, converts the slope to an angle, and uses the Pythagorean theorem for rafter length.
Formula and method guide
Pitch x:12
Pitch = Rise / Run x 12
This gives the familiar roofing pitch format such as 4:12.
Slope percent
Slope Percent = Rise / Run x 100
A 4:12 roof is about 33.33% slope.
Roof angle
Angle = arctan(Rise / Run)
This converts roof pitch into degrees.
Rafter length
Rafter Length = sqrt(Rise^2 + Run^2)
This estimates the diagonal rafter line length before construction allowances.
Variables
The vertical height from the roof base line to the higher point.
The horizontal distance from the wall line to the ridge or high point.
The roof rise over a standard 12 inches of run.
The roof slope expressed in degrees.
The diagonal estimate from rise and run.