hydrometer

An instrument which, when floated in a liquid, gives a measurement of its relative density by the level on the stem to which it is submerged.