Module 1: Light: the messenger · Lesson 1.4 · about 20 min
The Doppler shift: measuring speed with light
Light from something moving away is stretched to longer, redder wavelengths; from something approaching it is squeezed bluer. The shift of a spectral line gives the speed along our line of sight.
Module 1 · about 20 minutes · read first: 1.3 Spectral lines: fingerprints of atoms · maths: ratios. You’ll be able to explain the Doppler effect for light, turn a line shift into a speed, and say what redshift means.
1. Why this matters
The Doppler shift is the speedometer of astronomy. It finds planets around other stars by their star’s tiny wobble (Lesson 5.3), weighs binary stars (Lesson 3.4), maps how galaxies spin (in the cosmology course) and revealed that the universe is expanding (in the cosmology course). All from measuring where spectral lines sit.
2. Stretched and squeezed waves
You hear the Doppler effect when an ambulance passes: the siren’s pitch is high as it comes towards you and drops as it moves away. The waves pile up in front of a moving source and spread out behind it. Light does the same. A source moving away has its waves stretched to longer wavelengths (redshift); one coming closer has them squeezed shorter (blueshift).
Since we know exactly where hydrogen’s or sodium’s lines sit in a lab (Lesson 1.3), we can measure how far they have moved in a star’s light.
Things to notice:
- Every line shifts by the same fraction of its wavelength, so longer-wavelength lines move further in nanometres.
- Even 100 km/s moves H-alpha by only about 0.2 nm. Stars need good spectrographs.
Watch a star moving away send out wave crests:
Maths and principle
For speeds much less than light ():
Positive means moving away.
Redshift is defined as , so when is small.
For fast sources there is an exact (relativistic) formula, . For distant galaxies, is mostly caused by the stretching of space itself (in the cosmology course), not motion through space.
Try it: a star moving away at 30 km/s: nm for H-alpha.
3. What it means physically
Each crest of the wave leaves the star a little further away than the one before, if the star is receding, so the crests arrive spread out. The light doesn’t lose its colour on the way; it was stretched at the moment it was sent. The method only feels motion along the line between us and the star. A star moving straight across the sky shows no shift at all (apart from a tiny relativistic effect).
- λ₀
- Rest wavelength: where the line sits in a laboratory.
- Δλ = λ − λ₀
- The shift: positive is redshift (moving away), negative is blueshift (approaching).
- v = c Δλ / λ₀
- Line-of-sight speed, valid when v is much less than c.
- Physical meaning
- It is the same effect that drops the pitch of an ambulance siren as it passes you. Only the part of the motion along our line of sight counts: a star moving sideways shows no shift at all.
“A redshifted star looks red.” Usually the shift is tiny (a fraction of a nanometre) and the colour does not change at all to the eye. We only see it by measuring sharp spectral lines very precisely.
4. Worked example
The sodium D line, rest wavelength 589.0 nm, is measured at 588.8 nm in a star. How fast, and which way?
Negative: the star is approaching at about 100 km/s.
5. Practice
More practice (answers below):
- H-beta (486.1 nm) is seen at 486.4 nm. Find .
- Earth orbits the Sun at 30 km/s. How big a shift does this cause in H-alpha from a star in the direction Earth is moving?
- A galaxy has . Roughly how fast is it receding?
Answers
- km/s, moving away.
- nm (a blueshift, since we move towards the star). Astronomers correct for Earth’s motion.
- km/s.
- Moving away stretches light (redshift); approaching squeezes it (blueshift).
- v = c Δλ / λ₀ for speeds much less than light.
- Only the motion along the line of sight shows up.
- Doppler shifts reveal binary stars, exoplanets and the rotation of galaxies.
Try it with real numbers: measure velocities from line positions with the redshift calculator, and fit a star’s wobble with the radial velocity.
New words: Doppler effect, redshift, blueshift, radial velocity, line of sight.
Check yourself
Sources
- Speed of light, exact by definition of the metre: BIPM, The International System of Units (SI brochure), 9th edition, 2019, bipm.org
- Doppler shift of light and radial velocities: NASA Imagine the Universe, imagine.gsfc.nasa.gov
Your ticks stay in this browser. Save them as a file on the course home.
Updated 2026-11-22. Numbers in the examples are made up to show the idea unless a source is given. Simulations run in your browser on made-up data; nothing you type is sent anywhere. Astronomy only: nothing here is astrology.