Roof Pitch Calculator
Enter a rise and run and get the pitch in x-in-12, the angle in degrees, the grade percent, the slope factor, and the rafter length — drawn to scale, in both unit systems.
angle = arctan(6 ÷ 12) = 26.6° · grade = 50%
slope = √(6² + 12²) ÷ 12 = 1.118 · rafter = 13.4 in
Roof pitch is just the steepness of the slope, written as rise over run. The run is fixed at `12` — think of it as `12` inches of horizontal travel — and the rise is how many inches the roof climbs over that run. A roof that goes up `6` inches for every `12` inches across is a `6/12` pitch. That single ratio is all you need; every other way of describing the slope comes straight out of it with basic trigonometry.
The angle in degrees is the arctangent of rise divided by run. The grade, the same percentage a road sign uses, is rise divided by run times `100`. The slope factor — the multiplier that turns flat footprint area into real roof area — is the length of the sloped face per unit of run, or the square root of rise squared plus run squared, divided by run. The rafter length is the hypotenuse of that same triangle: the straight-line distance from the top of the wall to the ridge over the run you entered.
To measure your own pitch, hold a level horizontally against the roof or a rafter, mark `12` inches along it, and measure straight down from that mark to the roof surface. That vertical drop in inches is your rise. Enter it with a run of `12` and the calculator does the rest. If you are working from a known half-span and total rise instead, enter those directly — the ratio comes out the same.
pitch = `6 ÷ 12 × 12` = `6/12`
angle = `arctan(6 ÷ 12)` = `26.6°`
grade = `6 ÷ 12 × 100` = `50%`
slope factor = `√(6² + 12²) ÷ 12` = `1.118`
rafter over this run = `√(6² + 12²)` = `13.4 in`