$${M = \frac{4}{3} \pi r^3 \langle \rho \rangle .}$$