What is the formula for calculating density?