First you must use a scale to measure the mass of an empty container. Then, pour the liquid into the container and measure again. Next, subtract the mass of the container from the mass of the liquid plus the container. The answer is the liquid's mass. If you know the density and volume of the liquid you can also divide the density by the volume to come up with the liquid's mass.