Mass flow meter
The mass flow meter does not measure the volume per unit time (e.g., cubic meters per second) passing through the device; it measures the mass per unit time (e.g., kilograms per second) flowing through the device. Volumetric flow rate is the mass flow rate divided by the fluid density. If the density is constant, then the relationship is simple. If the fluid has varying density, then the relationship is not simple. The density of the fluid may change with temperature, pressure, or composition, for example. The fluid may also be a combination of phases such as a fluid with entrained bubbles.
Actual density can be determined due to dependency of sound velocity on the controlled liquid concentration.
API gravity
With the formula presented in the previous section, the API gravity can be readily calculated. When converting oil density to specific gravity using the above definition, it is important to use the correct density of water, according to the standard conditions used when the measurement was made. The official density of water at 60 °F according to the 2008 edition of ASTM D1250 is 999.016 kg/m. The 1980 value is 999.012 kg/m. In some cases the standard conditions may be 15 °C (59 °F) and not 60 °F (15.56 °C), in which case a different value for the water density would be appropriate ("see" standard conditions for temperature and pressure).