A device which measures the average density of the fluid mixture in a borehole by means of a vibrating cylinder. The holdups for the heavy and light phases can be determined from the measured average density, when the bottomhole densities are known for each phase and if a contrast exists.