A manometer allows you to determine the pressure of a gas sample by using the atmospheric pressure and difference in the height of mercury.
Concept #1: Manometer
In an open end U-tube manometer there are two forces acting on the mercury: the outside atmospheric pressure and the pressure of the gas inside the manometer.
Example #1: Manometer