The density of a body is the measure of mass concentration of a material. It is an intrinsic property which is constant. It is the ratio of mass and volume
m = Mass
v = Volume
Density
This means that density is inversely proportional to volume.
If mass remains the same while the volume increases, the density of the substance will decrease. If mass remains the same while the volume decreases, the density of the substance will increase.