Skip to content
Tutorials Center
My learning

Topics

Lesson 7 of 37 ยท The Night Sky

The Moon: Phases and Eclipses

Learn why the Moon has phases, why we always see the same face, how solar and lunar eclipses work, and compute illumination and angular sizes in Python.

The Moon is our nearest neighbor in space and the brightest thing in the night sky. It changes shape from a thin crescent to a full disk and back about once a month. Now and then it even vanishes into Earth's shadow or blocks the Sun entirely.

This lesson explains the pattern behind phases and eclipses. You will see why they happen, why eclipses are rarer than phases, and how to calculate how much of the Moon is lit.

The Moon shines by reflected light

The Moon makes no light of its own. It reflects sunlight. At any moment, half of the Moon (the half facing the Sun) is lit, just as half of Earth always has daytime. What changes during the month is how much of the lit half we can see from Earth.

Why phases happen

The Moon orbits Earth once in about 27.3 days (the sidereal month, measured against the stars). But Earth moves around the Sun in the meantime, so the Moon needs about 29.53 days to return to the same position relative to the Sun and Earth. This cycle is the synodic month, and it is the cycle of phases.

The main phases, in order:

Phase Moon's position What you see
New Moon Between Earth and Sun Lit side faces away; Moon invisible
Waxing crescent Moving away from the Sun Thin crescent, growing
First quarter 90ยฐ from the Sun Right half lit (in the Northern Hemisphere)
Waxing gibbous Past first quarter More than half lit, growing
Full Moon Opposite the Sun Whole disk lit
Waning gibbous Past full More than half lit, shrinking
Last (third) quarter 90ยฐ on the other side Left half lit (north)
Waning crescent Approaching the Sun again Thin crescent, shrinking

"Waxing" means growing and "waning" means shrinking. A gibbous Moon is more than half lit, and a crescent is less than half lit. In the Southern Hemisphere the lit part appears on the opposite side.

A month of phases

New Day 0
First quarter About day 7
Full About day 15
Last quarter About day 22
1 / 2

Phases are not caused by Earth's shadow. Earth's shadow only falls on the Moon during a lunar eclipse. Phases come from our changing viewing angle of the Moon's lit half.

Computing the lit fraction

If the Moon's age is the number of days since the last new Moon, the fraction of the visible disk that is lit is approximately

illumination = (1 โˆ’ cos(2ฯ€ ร— age / 29.53)) / 2

It is 0 at new Moon, 0.5 at the quarters, and 1 at full Moon.

Python How much of the Moon is lit?

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The same face always

We always see the same side of the Moon. This is not because it does not rotate. It rotates exactly once per orbit, so its spin and orbit take the same time. This is called tidal locking. Over a very long time, Earth's gravity slowed the Moon's rotation until it matched. The "far side" is not dark; it gets sunlight just like the near side, we simply never see it from Earth.

Eclipses

An eclipse needs three bodies to line up.

  • Solar eclipse: the Moon passes between the Sun and Earth, and the Moon's shadow falls on Earth. It can only happen at new Moon.
  • Lunar eclipse: Earth passes between the Sun and Moon, and the Moon enters Earth's shadow. It can only happen at full Moon.

If those were the only conditions, we would see eclipses every month. We do not, because the Moon's orbit is tilted by about 5.1ยฐ relative to Earth's orbit around the Sun. Most months the Moon passes above or below the line, so its shadow misses. Eclipses happen only when a new or full Moon occurs near the two points where the orbits cross (the nodes).

flowchart LR
    A["Sun"] --> B["Moon at new Moon"]
    B --> C["Earth"]
    A2["Sun"] --> B2["Earth"]
    B2 --> C2["Moon at full Moon"]

Top: a solar eclipse needs the Moon in the middle. Bottom: a lunar eclipse needs Earth in the middle.

Why total solar eclipses are possible

By coincidence, the Sun and Moon look almost the same size in our sky. The Sun is about 400 times wider than the Moon, but also about 400 times farther away. Their angular sizes are close to half a degree, so the Moon can just cover the Sun's bright disk.

Python Angular size of the Sun and Moon

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The Moon's orbit is slightly elliptical, so its angular size varies. When it is farther than average, it appears slightly smaller than the Sun and cannot cover it completely. The result is a ring of sunlight called an annular eclipse. When the Moon covers only part of the Sun, you see a partial eclipse.

Never look at the Sun directly, even during a partial eclipse, without proper certified eclipse glasses. Ordinary sunglasses are not safe and can cause permanent eye damage.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. What causes the phases of the Moon?

    Half of the Moon is always lit. As it orbits, we see different amounts of that lit half.
  2. 2. During which phase can a solar eclipse occur?

    A solar eclipse needs the Moon between Earth and the Sun, which is the new Moon position.
  3. 3. Why do we not have an eclipse every month?

    Most months the Moon passes above or below the Sun-Earth line, so no shadow lines up.
  4. 4. Why do we always see the same face of the Moon?

    Its rotation period matches its orbital period, so the same side always faces Earth.

Summary

  • The Moon reflects sunlight; half of it is always lit.
  • Phases come from the changing viewing angle and repeat every 29.53 days (the synodic month).
  • The Moon is tidally locked, so we see only one face.
  • Solar eclipses happen at new Moon, lunar eclipses at full Moon, but the 5.1ยฐ orbit tilt makes them rare.
  • Total solar eclipses are possible because the Sun and Moon look nearly the same size.

Next: Constellations and Star Names