If the sensor is showing $s$ cm then the proportion full is $$\frac{86-s}{86-5}=\frac{86-s}{81}$$
Multiply by $100$ to get a percentage
If the sensor is showing $s$ cm then the proportion full is $$\frac{86-s}{86-5}=\frac{86-s}{81}$$
Multiply by $100$ to get a percentage