This is if you keep dimensions identical; hence you’re looking at the density ratio of the two materials.