On a clear day the Sun is about 400 times wider than the Moon. It is also, on average, about 390 times farther away. Those two numbers almost cancel, so from the ground the two discs look nearly the same size. That near-match is the whole reason a total solar eclipse can happen on Earth.

Try it: park the Moon in front of the Sun

Drag the Moon across the Sun, then change how far away it is. The picture is drawn to scale for the angle each disc covers in your sky.

drag the Moon
Sun spans
Moon spans
Sun still visible
Result

Sizes are angles in arcminutes (60 arcminutes = 1 degree). Real eclipses need the Moon to line up exactly; here you move it by hand.

The coincidence in numbers

The Sun is about 1.39 million km across and the Moon about 3,475 km. Divide one by the other and you get roughly 400. The Sun's average distance is about 149.6 million km, the Moon's about 384,400 km, and that ratio is roughly 390. Seen from Earth, the Sun spans about 32 arcminutes and the Moon about 31, close to half a degree each, about the width of your little fingernail at arm's length.

"Roughly" matters, because neither orbit is a circle. Earth's distance to the Sun swings between about 147.1 and 152.1 million km over the year, so the Sun's disc changes from about 31.4 to 32.5 arcminutes. The Moon swings much more, from about 356,500 km at its closest to about 406,700 km at its farthest, so its disc ranges from about 29.4 to 33.5 arcminutes.

Total, annular or partial

If the Moon is perfectly lined up and looks bigger than the Sun, it hides the whole disc and you get totality. Use the slider to set the Moon at its closest and centre it: the Sun vanishes and a pale glow appears around it, the corona. If the Moon is lined up but looks smaller, a thin bright ring of Sun is left around it. That is an annular eclipse, from the Latin for "ring". Set the Moon at its farthest to see one. If the Moon is only partly across the Sun, you see a partial eclipse, which is what most people on Earth see during any eclipse.

The match is tight enough that a total eclipse is brief. The Moon's shadow on the ground races along at over a thousand kilometres an hour, and even in the best case totality lasts about seven and a half minutes at any one place. Most last only a few minutes.

Why this is lucky, and temporary

Nothing in physics forces the Sun and Moon to look the same size. A Moon that always looked bigger would make every solar eclipse total; one that always looked smaller would make every one a ring. We happen to live at a time when the two are nearly equal.

It will not last. Tides raise bulges in Earth's oceans, and those bulges pull the Moon forward in its orbit, so the Moon drifts away from us by about 3.8 cm a year, roughly the rate your fingernails grow. Lasers bounced off mirrors left on the Moon by the Apollo astronauts measure this. As the Moon recedes its disc shrinks, and in several hundred million years it will be too small ever to cover the Sun completely. After that, every solar eclipse will be a ring.

What to take away