The unchanging relation between the mass of an object, its volume and density of the material, is given by m=dv.
The unchanging relation between the weight of an object, its volume and density of the material it is made of is given by
If the weight of an object is w, its volume is v and if it is made of a material of density d, then their relation can be written as