text: Hydrostatic equilibrium or hydrostatic balance occurs when compression due to gravity is balanced by a pressure gradient force in the opposite direction .
simplified: Hydrostatic equilibrium happens when the pull of gravity is balanced by a pressure gradient which creates a pressure gradient force in the other direction . The balance of these two forces is known as the hydrostatic balance .