This also works the other way round: when a fuel truck is weighed on a weighbridge before and after it was filled with fuel. The difference between the weights can then be used to calculate the filled volume thanks to the known apparent density measured on a sample by a digital density meter.