G.H+Po, during the components P could be the force around the liquid surface in the sensor, ρ could be the density of the liquid to be calculated, g would be the community acceleration of gravity, Po is the atmospheric force on the liquid area, and H will be the depth https://controltechme.com/ultrasonic-level-sensor/