Eclipse simulator: solar and lunar eclipses
A free eclipse simulator for solar and lunar eclipses. Choose the type, then set the Moon’s distance and how far it is above or below the line from the Sun to Earth, and see whether the eclipse is total, annular, partial or does not happen at all. The model works out the angular sizes of the Sun and Moon and the size of each shadow from their real sizes and distances. It explains how eclipses work; it does not predict the dates of real ones.
Your experiment
How it works
A solar eclipse happens at new Moon, when the Moon’s shadow falls on Earth. A lunar eclipse happens at full Moon, when the Moon passes through Earth’s shadow. There is not an eclipse every month because the Moon’s orbit is tilted 5.1° to Earth’s orbit: at most new and full Moons the Moon passes above or below the line from the Sun to Earth. Eclipses happen only when a new or full Moon falls near a node, one of the two points where the Moon’s orbit crosses the plane of Earth’s orbit. By coincidence the Moon and the Sun look almost the same size from Earth, so a small change in the Moon’s distance decides whether a solar eclipse is total or annular.
Solar and Lunar Eclipses: Why Not Every Month? ↗About this model
The Sun, Earth and Moon are spheres with sharp-edged shadows found by similar triangles. Earth’s atmosphere, which enlarges Earth’s shadow by about 2% and reddens the eclipsed Moon, is not modeled. For a solar eclipse the sizes and magnitude are those seen from the best-placed spot on Earth: where the axis of the Moon’s shadow meets the ground, or the nearest point to it. “Covered now” is the share of the Sun’s disc hidden by the Moon, or of the Moon’s disc inside Earth’s umbra, and the magnitude of a penumbral eclipse is measured in the penumbra. Each drawing is to scale, except that the gold ring marking the umbra or antumbra on Earth is enlarged to stay visible; a negative latitude puts the Moon south of the Sun’s path. The Moon’s path is drawn as a straight line and Earth’s rotation is ignored, so the model gives no timings, and it does not predict when or where real eclipses happen. Never look at the Sun, eclipsed or not, without certified eclipse glasses or a solar filter; only the brief total phase is safe to view directly.
Key formulas
| Quantity | Formula | Note or example |
|---|---|---|
| Angular size | θ = 2 × arctan(diameter ÷ (2 × distance)) | Moon at 384,400 km: 0.518°; Sun at 1 AU: 0.533° |
| Total or annular? | Total if the Moon looks at least as wide as the Sun | With the Sun at 1 AU the Moon must be within about 380,000 km |
| Length of the Moon’s umbra | L = (Sun–Moon distance) × R_Moon ÷ (R_Sun − R_Moon) | About 373,600 km: a little less than the Moon’s mean distance |
| Earth’s umbra at the Moon | radius = R_Earth − d × (R_Sun − R_Earth) ÷ (Sun distance) | About 4,600 km at 384,400 km: 2.65 times the Moon’s radius |
| Offset from the Sun–Earth line | offset = d × sin(latitude) | 1° at 384,400 km ≈ 6,700 km: just over one Earth radius |
| Latitude from the node | sin(latitude) = sin(5.145°) × sin(angle from node) | 90° from a node the Moon is 5.1° from the Sun’s path |
Worked examples
Each row uses one of this lab’s presets and the same model as the interactive tool.
| Example | Eclipse type | Moon’s angular size | Sun’s angular size | Umbra width | Eclipse magnitude | Covered now |
|---|---|---|---|---|---|---|
| Total solar | Total solar eclipse | 0.558° | 0.533° | 155 km on Earth | 1.047 | 100% of the Sun |
| Annular solar | Annular solar eclipse | 0.499° | 0.533° | None · antumbra 238 km | 0.936 | 87.6% of the Sun |
| Partial solar | Partial solar eclipse | 0.518° | 0.533° | Misses Earth | 0.517 | 40.7% of the Sun |
| New Moon, no eclipse | No eclipse | 0.518° | 0.533° | Misses Earth | 0 | 0% of the Sun |
| Total lunar | Total lunar eclipse | 0.518° | 0.533° | 9,199 km (2.65 Moons) | 1.824 | 100% of the Moon |
| Partial lunar | Partial lunar eclipse | 0.518° | 0.533° | 9,200 km (2.65 Moons) | 0.472 | 42.5% of the Moon |
| Penumbral lunar | Penumbral lunar eclipse | 0.518° | 0.533° | 9,200 km (2.65 Moons) | 0.536 in penumbra | 0% of the Moon |
| Full Moon, no eclipse | No eclipse | 0.518° | 0.533° | 9,208 km (2.65 Moons) | 0 | 0% of the Moon |
Eclipse simulator: common questions
Why isn’t there an eclipse every month?
Because the Moon’s orbit is tilted about 5.1° to the plane of Earth’s orbit. At most new Moons the Moon’s shadow passes above or below Earth, and at most full Moons the Moon passes above or below Earth’s shadow. In this model a solar eclipse is seen somewhere on Earth only if the Moon is within about 1.5° of the Sun–Earth line, which means within about 17° of a node of its orbit: roughly one new Moon in five.
What is the difference between a total and an annular solar eclipse?
It depends on the Moon’s distance. Near perigee (about 363,300 km) the Moon looks about 4.7% wider than the Sun and covers it completely: a total eclipse. Near apogee (about 405,500 km) it looks about 6.4% narrower, so a ring of sunlight stays visible: an annular eclipse.
Why are annular eclipses slightly more common than total ones?
At its mean distance of 384,400 km the Moon looks slightly smaller than the Sun (0.527° against 0.533°), so its dark umbra ends just short of Earth’s surface. With the Sun at 1 AU, the Moon has to be closer than about 380,000 km for the umbra to reach the ground.
What is the difference between a solar and a lunar eclipse?
In a solar eclipse the Moon comes between the Sun and Earth, and its small shadow crosses part of Earth, so only people along a narrow track see totality. In a lunar eclipse Earth comes between the Sun and the Moon. Earth’s umbra is about 9,200 km wide at the Moon’s distance, about 2.65 times the Moon’s width, so it can cover the whole Moon, and everyone on the night side of Earth sees it.
Why does the Moon turn red during a total lunar eclipse?
Earth’s atmosphere bends a little sunlight into the shadow and scatters away most of the blue light, so the light that reaches the Moon is red, like every sunrise and sunset on Earth at once. This simulator colors the shaded part of the Moon red to show it; it does not calculate the color.
Can this simulator tell me when the next eclipse is?
No. It shows the geometry that makes an eclipse total, annular, partial or penumbral. Predicting dates and places needs the precise positions of the Sun and Moon, which this simple model does not include.
Is it safe to look at a solar eclipse?
Only with certified eclipse glasses or a solar filter, or by projecting the image. The partial and annular phases are as dangerous to look at as the ordinary Sun. Only the brief total phase, when the Sun’s bright disc is completely hidden, is safe to view directly.
Your next discovery
Moon phase explorer
Move through a lunar month and see how sunlight creates the Moon’s familiar phases.
Open experiment Solar systemSeasons simulator
Tilt Earth, pick a date and a latitude, and see how the noon Sun’s height and the length of the day change through the year.
Open experiment Solar systemOrbit simulator
Change the shape of an orbit and discover why planets move faster near their star.
Open experiment