As far as I know the density is a property of material independent of quantity or shape. Liquids tend to be less dense than solids of the same material. But water is an exception to this rule. The density of solid water, or ice, is less than the density of liquid water.