No. You have defined the "density" of the substance, not its weight.
Added:
but strictly speaking 'mass' is rather an amount of matter,
and 'weight' is the measured gravitational force (heaviness, measured on a balance) of that mass.
(A mass of 1 kg will 'weight' also 1 kg on earth but does not 'weight' 1 kg on the moon, there it's about 150 g due to lower gravity!)
Density is defined as mass per unit volume, not mass per unit weight. It is a measure of how much mass is contained in a specific volume of a substance.
mass density or densityof a material is its mass per unit volume. Mathematically, density is defined as mass divided by volume.
(Mass) divided by (Volume) is defined as the density of the sample or object.
Density is defined as the mass of an object divided by its volume. It is a characteristic property of a substance and depends on its composition. Objects with greater density will sink in fluids with lower density and float in fluids with higher density.
A substance with high density will be heavy because density is a measure of the mass of the substance per unit volume. High density means there is a greater amount of mass packed into a defined volume, resulting in a heavier weight relative to its size.
weight is different in different gavities but mass is not, volume is not involved
weight is different in different gavities but mass is not, volume is not involved
2nd answer: In fact, weight = mass if the massive object is on Earth.
They are different in non-homogeneous mixtures. Here's an example. If you put a few drops of water in a balloon, the contents are 99.9% (or so) water by weight and 99.9% (or so) air by volume.
The density of any substance can be easily calculated knowing that it is defined as the ratio of the mass of a substance divided by the volume it occupies.
Weight divided by volume is density. Usually it is expressed as mass divided by volume. That is why a unit for density will be something like grams/liter, because mass is on the top and volume on the bottom.
Density is defined as mass per unit volume, not mass per unit weight. It is a measure of how much mass is contained in a specific volume of a substance.
mass density or densityof a material is its mass per unit volume. Mathematically, density is defined as mass divided by volume.
(Mass) divided by (Volume) is defined as the density of the sample or object.
The amount of substance per unit of volume is defined as concentration in terms of chemistry. The amount of substance refers to the quantity over the volume.
Density can be calculated from molecular weight using the formula density = (molecular weight) / (molar volume). Molar volume is the volume occupied by one mole of the substance and can be calculated using the ideal gas law or experimental data. Dividing the molecular weight by the molar volume gives the density of the substance.
A substance that has a defined volume but an undefined shape is a liquid. Liquids take the shape of their container but maintain a fixed volume.