How to divide fractions
Dividing by a fraction asks how many of that fraction fit, which is the same as multiplying by its reciprocal.
A worked example
Calculate 3/4 ÷ 1/8. Keep the first fraction, change the division to multiplication, and flip the second fraction: (3/4) ÷ (1/8) = (3/4) × (8/1). Multiply the numerators and the denominators: 24/4 = 6. So six eighths fit into three quarters.
The mistake people actually make
Flip only the fraction you're dividing by, the second one. Flipping the first gives the reciprocal of the right answer.