Use this roof decking calculator to easily determine the slopes for hips and valleys on all common pitches. Enter the length of one side and then either select a roof pitch or select custom rake and enter a value of your own. The length of the other side is automatically returned.