Gravity, as we know, is proportional to the mass of an object. The above graph shows the amount of space affected by the major bodies (planets and moons) in the solar system. The gravity well is a measure of how far you would have to go to be able to escape the gravity of a planet.