To calculate the density of an object you must know two pieces of information. one thing you need to know is the volume of the object. what else do you need to know?
The formula for density is d = M/V , where d is density, V is volume. The letter M given in this formula is the mass.