The pressure inside a liquid depends on the depth and the liquid's density.
The pressure of liquids depends primarily on the depth of the liquid, its density, and the acceleration due to gravity. The formula P = ρ g h expresses this relationship mathematically. Thus, as depth increases, pressure increases due to the weight of the liquid above regardless of the container's shape.
;