In 3 dimensions, the volume inside a sphere (that is, the volume of a ball) is derived to be
where is the radius of the sphere and is the constant pi. But in your case it is even easier, because it is possible to find volume from mass and density:
Density is of a material is its mass per unit volume. The symbol most often used for density is (the lower case Greek letter rho). Mathematically, density is defined as mass divided by volume:
From this equation