Hydrostatic pressure varies with depth and the density of the liquid. In this visual and using a somewhat strange receptacle, you can verify this equation