Pressure in a liquid or gas is equal in all directions, and there's an equation for the pressure difference in a liquid.