For a static fluid, pressure variation is defined by the equation:
\[\frac{dp}{dy} = -Y,\]
where:
$p$ represents pressure,
$y$ denotes the vertical direction,
$Y$ is the specific weight of the fluid ($= \rho g$),
The negative sign indicates that pressure decreases with upward movement.

