Light from a Galaxy: Reading Distance in Its Spectrum
See how a galaxy’s spectral lines reveal redshift, and why turning that measurement into distance calls for a cosmological model.

A faint galaxy sits near the edge of a telescope image, barely more than a smudge. On a nearby monitor, its light is spread into a narrow band crossed by dark lines. Those lines can identify the atoms involved and show that the light’s wavelengths have shifted on their journey to Earth—but the shift is not, by itself, a distance reading.
Imagine a hypothetical observing project focused on a galaxy with a clear spectrum. The researcher first identifies several spectral lines, then compares their observed wavelengths with laboratory reference values. If the lines shift together, the pattern gives a redshift. To turn that result into a distance estimate, the researcher must also state which cosmological model and distance convention are being used.
Reading spectral lines
A spectrograph spreads a galaxy’s light into its component wavelengths. The result is a spectrum, usually recorded electronically. Some wavelengths appear as bright features; others show up as dark absorption lines. Atoms and ions interact with light at characteristic wavelengths, so a recognisable group of lines can help identify which features appear in a distant galaxy’s spectrum.
The order of the work matters. A single dark line can be ambiguous, particularly in a faint or noisy spectrum. Astronomers compare several features with laboratory reference data and check whether the lines form a consistent pattern. Only after identifying the features can they sensibly ask how their observed positions differ from the reference positions.
Finding the redshift
When a recognised spectral feature appears at a longer wavelength than its reference, it is shifted towards the red end of the spectrum. Astronomers call this redshift, including when the light is outside the range human eyes can see. If the feature appears at a shorter wavelength, it is blueshifted.
Redshift is commonly represented by z and defined as the change in wavelength divided by the reference wavelength. That compact expression describes a measured shift; it does not, on its own, tell you the galaxy’s distance or a single, simple speed.
Say the hypothetical researcher identifies three lines in the galaxy’s spectrum. Each is at a longer wavelength than its matching laboratory line, and all three imply the same redshift. That agreement supports the identification: the result is less likely to rest on one misread feature. The next question is what caused the shift, not yet how far away the galaxy is.
Motion and expansion
For nearby galaxies, motion relative to our surroundings can contribute substantially to the observed wavelength shift. This is the familiar Doppler idea: motion along the line of sight changes the wavelengths received. A galaxy’s local gravitational environment can affect its motion, so its redshift need not reflect cosmic expansion alone.
For very distant galaxies, cosmological redshift is the central interpretation. While the light travels, the universe expands and stretches its wavelength. In that setting, redshift is not simply a report of the galaxy moving through space at a speed that can be read directly from the spectrum. It records how expansion affected the light between emission and observation.
So a redshift measurement is best kept distinct from both a speed claim and a distance estimate. For a nearby galaxy, astronomers may account carefully for local motion. For a distant one, they interpret the redshift through a model of cosmic expansion.
From redshift to distance
Here is the hypothetical project worked through with deliberately invented values, not measurements of a real galaxy. Suppose the researcher’s three identified lines agree on a redshift of z = 0.10. That value is the spectral result. It describes how the observed wavelengths compare with their reference wavelengths; it does not mean the galaxy is a particular number of kilometres away or receding at a simple speed of ten per cent of light speed.
The researcher next chooses a cosmological model, which describes the universe’s expansion and contents. Using that model, the redshift can be translated into a distance according to a specified convention. If the project reports a distance based on the galaxy’s current position in the expanding universe, it should say so. A distance describing the light’s travel history would answer a different question, and a distance associated with the galaxy’s location when the light was emitted would differ again.
Those are not competing answers to one unambiguous question. They are different ways of defining distance in an expanding universe. For the invented project, the honest report is: “The spectrum gives z = 0.10; under the stated cosmological model, this corresponds to a distance in the stated convention.” Without the model and convention, a reader cannot tell exactly what the quoted distance means.
Checking the evidence
Before accepting a redshift, the researcher checks the spectrum’s calibration, the quality of the signal and the identification of the lines. Instrumental effects, background light and noise can shift or obscure a feature. Light from Earth’s atmosphere or an unrelated source in the same field may also complicate the record.
- Check whether the instrument’s wavelength calibration is sound; if reference features are misplaced, then recalibrate before interpreting the galaxy’s lines, otherwise proceed to assess the signal.
- Check whether several identified lines imply the same redshift; if they agree, then retain the shared value as supported by the pattern, otherwise mark the identification as uncertain and seek clearer data.
- Check whether a candidate line could belong to Earth’s atmosphere; if it could, then account for or exclude that contribution, otherwise compare it with the galaxy’s other features.
- Check whether background light or another source could explain a feature; if so, then separate that contribution before assigning the line to the galaxy, otherwise continue with the spectral match.
- Check whether the spectrum is too noisy to distinguish a line from a fluctuation; if it is, then treat the redshift as uncertain and seek better data or another distance method, otherwise record the line identification with the appropriate caution.
- Check whether the reported distance names its cosmological model and distance convention; if either is missing, then describe the distance inference as incomplete, otherwise state the redshift and model-based distance together.
In the invented project, suppose the first inspection finds one plausible line, but the other two do not agree and the calibration is uncertain. The researcher does not report a secure redshift or distance. After calibration, imagine that all three features align as a consistent pattern. The researcher can then report a better-supported redshift, while still making clear that the distance depends on the chosen model and convention. That decision follows from the evidence without pretending the spectrum says more than it does.
Limits of the spectrum
A spectrum can reveal the displacement of recognised features, but it does not by itself give a galaxy’s exact shape, complete three-dimensional motion or full history. Other observations and models are needed to infer properties such as composition, temperature and physical processes.
Nor does a spectrum show the galaxy as it is now. The light we receive left it in the past, and its journey took time. A distance estimate should therefore be read as a defined description within a cosmological framework, not as a label that removes the history of the light.
When you read a galaxy’s redshift, keep three things together: the observed spectral pattern, the interpretation of its shift, and the model and convention behind any distance estimate. That small distinction makes a catalogue entry or telescope image easier to understand—and helps you see exactly where the measurement ends and the cosmological inference begins.