As KlausST said, the maximum number is the difference.
I don't know how your program is, but the timer size can change the working principle.
One way to measure frequency is counting pulses (with timers) and reseting the count every a determined time. If you know how many pulses has been in a time period you know the frequency, basic mathematics.
Depending of the counter reset frequency (depends of the measuring range you want) you can reach different maximum frequency measurement ranges.
If you reset the counter every 1s then the lower frequency you'll be able to measure is 1Hz and 255Hz if using 8bit timer and 65KHz if using the 16-bit one.
You can also increase the "timer size" by increasing a counter every overflow, but then you'll have to sum the whole number to calculate the frequency. It is possible.