n = NAρ/A where: n = number of atoms NA = Avogadro's number ρ = density (kg / m3) A = atomic mass (kg / mole)