Roof Pitch Calculator
Convert rise and run into roof pitch as an angle, an x:12 ratio and a percent slope, with the slope factor for rafters.
How it's calculated
Angle = arctan(rise ÷ run), pitch = rise ÷ run × 12 and slope factor = √(rise² + run²) ÷ run. The run is the horizontal distance from wall to ridge.
Each measurement has its own unit menu, so you can enter whatever your plans use. Results are shown in several units at once.
Worked example
With rise 1.5 m, run 3 m, the calculator gives: roof angle 26.57 °; pitch (rise per 12 of run) 6.00 : 12; slope 50.0 %; slope factor 1.118; sloped length (rafter) 3.354 m.
Good to know
The slope factor tells you how much longer the sloping surface is than its horizontal footprint, so multiply a floor-plan area by it to get roof area.
Frequently asked
What is a 4:12 pitch?
The roof rises 4 units for every 12 units of horizontal run, about 18.4 degrees.
What pitch is a flat roof?
Roofs under about 2:12 are called low-slope and need materials rated for it.