A 6/12 pitch means 6 inches of rise for 12 inches of run. That is a 26.6° angle and a pitch factor of 1.118. It is the most common residential roof pitch.
Use angle = arctan(rise/run). For 4/12: arctan(4/12)=18.4°. For 8/12: arctan(8/12)=33.7°. Our calculator does this instantly.