Contents:
The roof pitch is the slope of the rafter. The pitch is commonly defined as the ratio of rise over run in the form of x/12.
The rise is the height of the roof, and the run is the horizontal span (as pictured above).
For example, if a roof has a pitch of 4/12, then for every 12 inches the building extends horizontally, it rises 4 inches.
It is a simple calculation using the formula:
$$Pitch = {Rise \over Run}$$
You’re probably wondering:
How can we compute the RAFTER LENGTH, GRADE, and ANGLE?
Once you know the rise and run, equations for a right triangle can be used to determine the rafter length, roof angle, and grade.
$$\text{Rafter length$^2$ = rise$^2$ + run$^2$}$$
This is the famous Pythagorean Theorem!
$$\text{tan (angle)} = {rise \over run}$$
and so
$$Angle = arctan{rise \over run}$$
The grade is the pitch expressed as a percentage:
$$Grade = \Bigr({rise \over run}\Bigr)100$$
And not only that:
The roof slope calculator also works if you only know the RISE and RAFTER (but not the RUN), or if you know the RUN and RAFTER (but not the RISE).
If you know the RISE and RAFTER, the Pythagorean Theorem can be rearranged to obtain the RUN:
$$Run^2=rafret^2-rise^2$$
Similarly, if you know the RUN and RAFTER, the RISE is given by
$$Rise^2=rafter^2-run^2$$
Once you have both the RISE and RUN, the same equations as above can be used to obtain the remaining quantities.
For this example, suppose you know the RISE and RAFTER lengths in inches.