Sensor Scaling

Consider a fuel level sensor that changes its resistance in the range from 30 ohms to 330 ohms

At a reference voltage of 5 volts, the ADC values ​​in RealDash
will be in the region of 250 - 785
These numbers cannot be mathematically reduced to the value of 0 liters - 50 liters.
I would like to be able to set the range of input values, and the range of output values ​​for sensors …

Scale values, so to speak