what is the formula for calculating density?

mass = volume x density, therefore,

density = mass/volume