if you want to find out if 2 objects are made up of the same material which value should be compared mass, volume or both

you need to compare density, and density is mass/volume