Earth’s Hill sphere

Out to 1.5 million km, Earth’s pull outweighs the Sun’s. Whatever orbits Earth for long, the Moon included, stays inside.

At two points on its edge, L1 toward the Sun and L2 away from it, the pulls balance, and a spacecraft can circle them on little fuel: SOHO watches the Sun from L1, and the James Webb telescope works at L2, where the Sun, Earth and Moon all stay on one side of its sunshield. Orbits stay stable only about halfway out; the Moon, a quarter of the way, is well inside.

What you’re seeing: The edge is computed from the pulls of Earth and the Sun, not seen: nothing marks it in space. It is drawn as a thin glowing sheet, not a ball but a lobe pinched to a point at L1 and L2.