Hit ratio is the fraction of hits to total attempts, $HR = \frac{\text{hits}}{\text{hits} + \text{misses}}$.