If I understand correctly, you're wanting to interopolate between two values? It sounds like you're describing "linear interpolation".
newValue = valueA + (valueB - valueA) * t
Where 't' ranges from 0 to 1.
So if your lowest value is 40 and the max value is 100 then at 50% (0.5) you'll get 70.