Image: Rafael Cerqueira / PexelsWhat is redshift and how astronomers read light from the Universe
When students ask what is redshift, the short answer is that it is a shift of light to longer wavelengths. Astronomers measure that shift in spectral lines, then use it to learn whether an object is moving, whether space itself is expanding, or whether light has climbed out of a strong gravitational field. The idea appears in many parts of astronomy, from nearby stars to distant galaxies and black holes.
Redshift belongs with the topics covered in Light, Radiation, and Spectra, and it connects directly with how we know what stars are made of, Hubble law calculation and the age of the universe, and the cosmic microwave background in plain words.
How astronomers measure redshift from spectral lines
A spectrum spreads light into its colours, or wavelengths. Atoms and ions absorb and emit light at very specific wavelengths, so they produce sharp spectral lines. For hydrogen, for example, the Balmer lines are fixed by atomic physics in the lab. If the same line appears at a longer wavelength in a galaxy spectrum, astronomers say the line is redshifted.
The basic definition is
\[z = \frac{\lambda_{\text{obs}} - \lambda_{\text{rest}}}{\lambda_{\text{rest}}}\]
where \(\lambda_{\text{rest}}\) is the wavelength measured in the laboratory and \(\lambda_{\text{obs}}\) is the wavelength seen by the telescope. If a line at 500.7 nm is observed at 501.7 nm, then \(z \approx 0.002\). That corresponds to a small shift, but in astronomy even tiny changes matter.
This is why spectra are so useful. A single image tells you what something looks like. A spectrum tells you what it is made of, how fast it is moving along our line of sight, and in some cases how strong gravity is near the source. For a worked introduction to the tools behind this, see how to read an astronomy paper as a beginner and the important equations page.
Doppler redshift from motion
Doppler redshift happens when a source moves away from the observer. Sound changes pitch when a siren passes by, and light changes wavelength for the same reason. If a galaxy is receding, its lines move towards the red end of the spectrum. If it is approaching, the lines move towards the blue end, and astronomers call that blueshift.
For speeds much smaller than the speed of light, the line-of-sight speed is approximately
\[v \approx cz\]
where \(c\) is the speed of light. This approximation is useful for nearby stars and galaxies. A redshift of 0.001 gives a speed of about 300 km/s. A redshift of 0.01 gives about 3000 km/s. At larger speeds, the simple formula is no longer accurate, and special relativity must be used.
Doppler redshift tells astronomers about orbital motion in stars, gas clouds in galaxies, and the motion of galaxies inside clusters. It also helps in exoplanet work, where tiny shifts in a star’s lines can reveal the pull of an orbiting planet. That idea links well with transit method exoplanets step by step, although the transit method itself measures dimming, rather than spectra.
Cosmological redshift from the expansion of space
Cosmological redshift is different. It is not mainly caused by an object moving through space. It happens because the Universe itself expands while the light is travelling. As space stretches, the wavelength stretches with it, so distant galaxies are seen with redshifted spectra.
For cosmological redshift, the relation between observed and emitted wavelength is
\[1 + z = \frac{a_0}{a_{\text{emit}}}\]
where \(a_0\) is the present scale factor and \(a_{\text{emit}}\) is the scale factor when the light was emitted. A galaxy with \(z = 1\) is seen when the Universe was half its current size. A source at \(z = 7\) is seen when the Universe was about one eighth of its present scale factor.
This kind of redshift is the key to modern cosmology. It lets astronomers map the large-scale structure of the Universe and estimate distances to faraway galaxies. It also underpins the link between redshift and the Hubble expansion described in Hubble law calculation and the age of the universe, as well as the material in The Expanding Universe and Relativistic Cosmology.
Gravitational redshift near massive objects
Gravitational redshift comes from general relativity. Light climbing out of a gravitational field loses energy, and its wavelength increases. The deeper the light starts in a gravitational well, the larger the shift. This effect is small for ordinary stars, but it becomes important near white dwarfs, neutron stars, and black holes.
For a non-rotating spherical mass, the redshift measured by a distant observer is
\[1 + z = \left(1 - \frac{2GM}{rc^2}\right)^{-1/2}\]
where \(G\) is the gravitational constant, \(M\) is the mass, and \(r\) is the radius at which the light is emitted. Near the surface of the Sun, the gravitational redshift is only about 2 parts in a million. On a white dwarf, it is much larger. Near a neutron star, it can be strong enough to shift spectral lines by a noticeable amount.
Gravitational redshift tells astronomers about compact objects, the structure of strong gravity, and tests of general relativity. It is one of the clues used when studying extreme systems, alongside timing and brightness changes. For more on those objects, see what a black hole is and what it is not and the Chandrasekhar limit explained.
How to tell the three kinds apart
In practice, astronomers separate the three kinds by context and by the shape of the data. A nearby star with a shifting line that changes as it orbits another star is showing Doppler motion. A distant galaxy with redshifted lines across the whole spectrum is usually showing cosmological redshift. A compact object with lines shifted by gravity, especially if the source is very dense, points to gravitational redshift.
| Type | Main cause | What it tells astronomers |
|---|---|---|
| Doppler redshift | Motion away from us | Speed along the line of sight |
| Cosmological redshift | Expansion of the Universe | Distance and cosmic lookback time |
| Gravitational redshift | Light escaping gravity | Strength of the gravitational field |
There can be overlap. A galaxy may have a cosmological redshift, and individual gas clouds inside it may add Doppler shifts on top of that. Astronomers handle this by comparing multiple lines, using the best laboratory wavelengths, and fitting the whole spectrum rather than trusting a single feature.
Good examples of the three kinds can be found in the literature and in official explanations from NASA, ESA, ESO, and the International Astronomical Union. A useful technical overview of cosmological redshift is in the Review of Cosmology and Fundamental Physics, and a clear treatment of spectral measurement appears in the literature from arXiv when you want a deeper derivation.
These ideas fit naturally into The Milky Way, Galaxies, and the Expanding Universe, where spectra, distances, and expansion are studied together.
Frequently asked questions
Is redshift always caused by distance?
No. Distance is linked to cosmological redshift for remote galaxies, but Doppler and gravitational redshift can happen nearby as well. The cause depends on the physical situation.
Can redshift be negative?
Yes. A negative redshift means blueshift, which happens when a source moves towards us, or when the geometry of the problem gives a smaller observed wavelength.
Why do astronomers prefer spectral lines instead of colours in pictures?
Pictures give broad colour information, but spectral lines give precise wavelengths. That precision lets astronomers calculate \(z\), speed, composition, and gravity much more reliably.


