You could multiply by 5 because it’s 24/20 an 20 x 5 is 100. If you did it like that you have to multiply 24 x 5 too. The answer you get is 120/100 so 120%.
If you didn’t have a number that could by multiplied to make 100 you divided the numerator by the denominator then multiply by 100.