OK, I have found the answer for Frequency:

R = Range values

F = Frequency values

a = (Rmax - Rmin) / ( ln(Fmax) - ln(Fmin) )

b = Rmin - a * ln(Fmin)

R = a * ln(F) + b

But it doesn't work for Bandwidth. It works only when applied to max and min values. Any idea?