To calculate the mass, multiply the density of the substance by the volume of the object. ... 2Substitute known values into the formula and do the calculation.