What roof pitch means
Pitch is inches of rise per 12 inches of run. A 6:12 roof climbs 6″ for every foot it runs horizontally, which is 26.57°.
Rafter length from the multiplier
multiplier = √(pitch² + 144) / 12 rafter = run × multiplier
For a 6:12 roof the multiplier is 1.118. With a 12′ run (a 24′ wide building), the common rafter is 12 × 1.118 = 13′ 5″ to the ridge center line — before deducting half the ridge board and adding overhang.