You can input any of the two values to get the third one calculated.
Here as well, our calculator works both ways. After doing that, you will see the rafter length in the bottom-most field. If you decided to include roof pitch in your calculations, you will need to input the run and the pitch of the roof to get the rafter length.