The formula for calculating the pressure of a liquid is expressed as
Pressure = density of the liquid x acceleration due to gravity x height of the liquid
Therefore,
the liquid pressure is directly proportional to the depth of the liquid
Also,
the liquid pressure is directly proportional to the density of the liquid
As the depth and density of the liquid increases, the pressure also increases. As they decrease, the pressure would also decrease.