How to convert percentage into degrees and vice versa?
Maximum percentage is 100% and maximum degrees in a circle are 360s. Now to convert a percent (50%) into a degree we divide the percentage by 100 to get a decimal (0.50). Then we multiply this decimal to 360 to get the value in degrees (0.50*360 = 180)
Same operation are for converting degree into percentage.