Density depends on the amount of the substance you have, as the mass will increase, but also what the volume is because if you have a high mass object with an extremely high volume, it won't be very dense. But if you have a high mass object with a low volume, it will be very dense.