Pressure is directly proportional to depth of a liquid as when there is more depth then it exerts more pressure and when there is less depth there is less pressure.
Pressure is also directly proportional to density as more the density there more pressure and less the density less the pressure.