G.H+Po, during the formulation P could be the pressure about the liquid area of your sensor, ρ would be the density with the liquid to get measured, g could be the community acceleration of gravity, Po is the atmospheric pressure within the liquid surface, and H may be the depth https://controltechme.com/ultrasonic-level-sensor/