Calculation of Mass and Density