The ratio of heads to total flips can be calculated by dividing the number of heads by the total number of flips. In this case, you flipped the coin 5 times and it landed on heads 2 times.
The ratio is:
\[ \text{Ratio of heads to total flips} = \frac{\text{Number of heads}}{\text{Total flips}} = \frac{2}{5} \]
Thus, the ratio of heads to total flips is \( 2:5 \).