G.H+Po, from the method P would be the force on the liquid surface of your sensor, ρ would be the density of your liquid to become calculated, g will be the area acceleration of gravity, Po is definitely the atmospheric force to the liquid area, and H is the depth https://controltechme.com/ultrasonic-level-sensor/