P=hρg P = h ρ g , where P is the pressure, h is the height of the liquid, ρ is the density of the liquid, and g is the acceleration due to gravity.