# Fluid pressure when it is not vertically placed

The pressure of a point in a fluid is the sum of the external pressure and $pgh$. However, when the fluid is not placed perpendicular to the ground, then what is $h$ here? For example, a cup of water can be tilt an angle from the vertical axis.

In particular, can you explain clearly about this: a tube containing mercury and air. When the tube tilts at an angle 30○ from the vertical, then the length of the column of air will change too. But in order to calculate the change in its length, we have to know the pressure exerted by the mercury. But each point of the mercury in contact with air will exert a different amount of pressure so how can we do it?

The variable $h$ in this equation always refers to a vertical distance from the point where you want to know the pressure up to the fluid surface in contact with the air. In the tilted cup you would still measure straight up to the fluid surface. The bit of tea in the middle of the cup doesn't "know" anything about the walls of the cup. Their orientation has no effect on the pressure inside the fluid.
• $h$ is measured straight up. "Up" means opposite to the direction gravity points, which has nothing to do with the orientation of the cup. So this always makes $h$ the vertical distance to the surface. It is actually a little more subtle than the "mass of the column of water above it". Note that pressure at any point acts inward in all directions. This tells you that there is more going on than the column of water above the point "resting" on the point of interest. – gleedadswell Aug 14 '15 at 5:01