When half the span gives the wrong pitch
A gable with a 24 ft span, a 6 ft rise and a ridge 8 ft from the left eave has runs of 8 ft and 16 ft. Its pitches are 9:12 and 4.5:12. Halving the span would give 6:12 on both sides, which describes a different roof.
For each plane, divide rise by horizontal run. Multiply by 12 for pitch per foot, by 100 for percent grade, or take the arctangent for the angle. The slope length is the direct distance between the measured endpoints. Rafter cuts, bearings and overhangs require their own dimensions.
Timber Build’s guide to roof pitch