EARTH'S MASS, DENSITY, AND MOMENT OF INERTIA. To learn what the earth is made of, our first constraint is its density (mass / volume). We find its mass from the acceleration of gravity g. The universal law of gravity says that the force F betwen objects M and m.