How do You Measure the Mass of a Liquid?

Usually to find the mass of a liquid you would find out the mass of the cylinder it is in by itself and then take the mass of the cylinder with the liquid in it. Now subtract the total mass minus the mass of the cylinder by itself and you will have the mass of the liquid.