Density of magmas at depth