period = time for one cycle
f = frequency in hertz (i.e. cycles per second)
period = 1/f

Assuming a 50% duty cycle, the time for a single pulse = 1/2 period

What you need to do is convert the pulse counts into times and then apply the above formula. The counts will vary with clock frequency and any prescaler used.