Note:  the corresponding standard deviation in the density,
sd, is given by,
But where does this equation come from?
Standard Deviation in the Density
d = f (mass, volume)

As density is a function of both mass and volume, clearly the error in both mass and volume contribute to the error in the density.