If a given layer is in hydrostatic equilibrium, the lithostatic pressure at a depth z is given by
It is common for parts of stratigraphic layers to be isolated, or sealed, such that they are no longer in hydrostatic equilibrium. In such cases, the layer, or part of layer, is said to be in a condition of overpressure (if local pressure is greater than hydrostatic) or underpressure (if local pressure is less than hydrostatic).
See also: sedimentary rock