The Density Calculator uses the formula p=m/V, or density (p) is equal to mass (m) divided by volume (V). The calculator can use any two of the values to calculate the third. Density is defined as mass per unit volume.