The output worth of the sensor depends upon don't just the water level but will also the water's conductivity. The pure water is not really conductive. The water is made up of minerals and impurities is conductive. The article to become detected reflects the seem waves and the gap information https://controltechme.com/ultrasonic-level-sensor/