The ratio of the number of male students to the number of female students in a school is 3:8. How many students are there if there are 48 females?

48=6*8, so there are 6*3 = 18 males