Cosmological Redshift Calculator
Compute cosmological redshift from spectral line shifts, or enter z to find scale factor, recession velocity, and CMB temperature at that cosmic epoch.
🌠 What is Cosmological Redshift?
Cosmological redshift is the systematic increase in the wavelength of light caused by the expansion of the universe. As a photon travels from a distant galaxy to Earth, the space it traverses expands, stretching the photon's wavelength in direct proportion to the growth of the scale factor. If the universe has expanded by a factor (1+z) since the photon was emitted, every wavelength in the galaxy's spectrum arrives (1+z) times longer than when it left. This redshift z is the most fundamental observable in observational cosmology and serves as a proxy for distance, lookback time, and the state of the universe at the time of emission.
Cosmological redshift is distinct from Doppler redshift, which is caused by an object's motion through space. In an expanding universe, galaxies are not moving through space like rockets; rather, space itself is stretching between them. For nearby galaxies (within the Local Group), peculiar velocities through space dominate and can even produce a blueshift, as seen in the Andromeda galaxy approaching at 110 km/s. For galaxies beyond about 10 Mpc, the cosmological recession dominates over typical peculiar velocities of a few hundred km/s.
The quantitative measure is the redshift parameter z = (lambda_obs - lambda_em) / lambda_em, where lambda_em is the wavelength emitted in the galaxy's rest frame (the laboratory wavelength of a known spectral line such as H-alpha at 656.28 nm) and lambda_obs is the wavelength measured on Earth. The scale factor a = 1/(1+z) gives the relative size of the universe at the time of emission compared to today. At z = 1 the universe was half its current size; at z = 3, one-quarter; at the epoch of CMB emission (z approximately 1089), about 0.092 percent of today's size.
The CMB temperature at any redshift scales as T = T_0 x (1+z), where T_0 = 2.725 K today. At the surface of last scattering (z approximately 1089), T was about 2970 K, consistent with hydrogen recombination at approximately 3000 K. The most distant galaxy spectroscopically confirmed by JWST (JADES-GS-z14-0) lies at z = 14.32, when the universe was only 290 million years old. This calculator handles both directions: converting a spectral line shift to z and all derived cosmological quantities, or deriving scale factor and physical properties from a known z.
📐 Formula
📖 How to Use This Calculator
Steps
💡 Example Calculations
Example 1 — H-alpha at z = 0.5 (Nearby Galaxy Cluster)
A galaxy's H-alpha line (rest 656.28 nm) is observed at 984.42 nm. What is its redshift?
Example 2 — Lyman-alpha at z = 1.0 (Deep Survey Galaxy)
Lyman-alpha (121.567 nm) is observed at 243.134 nm. What is the redshift and recession velocity?
Example 3 — From Redshift z = 2.0 (Epoch of Peak Quasar Activity)
A quasar has spectroscopic redshift z = 2.0. Find the scale factor, velocity, and CMB temperature at that epoch.
Example 4 — CMB Epoch z = 1089 (Surface of Last Scattering)
The CMB was emitted at z approximately 1089. What were the conditions of the universe at that time?
❓ Frequently Asked Questions
🔗 Related Calculators
What is cosmological redshift?
Cosmological redshift is the stretching of light wavelengths caused by the expansion of the universe. As a photon travels through expanding space, the space it occupies stretches, increasing the photon's wavelength proportionally. For a galaxy at redshift z, every wavelength has been stretched by a factor of (1+z) relative to its emitted value. This is distinct from Doppler redshift, which is caused by an object's velocity through space.
What is the scale factor a and how does it relate to redshift?
The scale factor a describes the relative size of the universe at a given cosmic time compared to today. Today a = 1 by definition. At redshift z, the scale factor was a = 1/(1+z). At z = 1, the universe was half its current size (a = 0.5). At z = 3, it was one-quarter the current size (a = 0.25). The CMB was emitted at z approximately 1089, when a was about 0.00092.
How is the recession velocity calculated from redshift?
For cosmological redshift, the concept of recession velocity is frame-dependent, but a useful definition uses the relativistic Doppler formula: v = c[(1+z)^2 - 1] / [(1+z)^2 + 1]. This gives the velocity an object would need in special relativity to produce the same redshift. For small z (z less than 0.1), the linear approximation v = cz is accurate to a few percent. Note that recession velocities can exceed c for z greater than about 1.5.
Why does the CMB temperature change with redshift?
The CMB temperature scales as T = T0 x (1+z), where T0 = 2.725 K is today's CMB temperature. This is because the CMB photons are stretched by the same factor (1+z) as all wavelengths in an expanding universe. At z = 1089 (recombination), T was approximately 2.725 x 1090 = 2970 K, consistent with the hydrogen recombination temperature of about 3000 K.
What is the difference between cosmological and Doppler redshift?
Doppler redshift arises from an object moving through space (special relativity). Cosmological redshift arises from space itself expanding between emitter and observer. In the real universe both effects can be present: peculiar velocities (motion through space) add a Doppler component on top of the cosmological redshift from expansion. For distant galaxies, the cosmological component dominates; for nearby galaxies in clusters, peculiar velocities can dominate.
What are the redshifts of famous astronomical objects?
The Virgo Cluster: z approximately 0.004 (1200 km/s). The Coma Cluster: z approximately 0.023. The most distant quasar J1030+0524: z = 6.30. The most distant galaxy JADES-GS-z14-0: z = 14.32. The CMB: z approximately 1089. At z = 1089 the universe was 380,000 years old; at z = 14.32 it was only about 290 million years old.
What preset spectral lines does this calculator use?
The calculator includes: H-alpha (Balmer series, 656.28 nm, rest), H-beta (486.13 nm), Lyman-alpha (121.567 nm, UV, used for high-z quasars), Ca K (393.366 nm, used for galaxy surveys), O III (500.684 nm, emission line), and Mg II (279.8 nm, UV doublet). Any custom wavelength can also be entered in the rest wavelength field.
What is the Lyman break and how does it relate to redshift?
Lyman-alpha (121.567 nm) is the shortest-wavelength photon that neutral hydrogen can emit. At shorter wavelengths (Lyman limit at 91.2 nm), hydrogen becomes opaque. When a galaxy is at redshift z, its Lyman break shifts to 91.2 x (1+z) nm and Lyman-alpha shifts to 121.567 x (1+z) nm. At z = 3, the Lyman break falls at 364.8 nm (visible), making the galaxy disappear in blue filters. This Lyman break technique identifies high-z galaxies photometrically.
Can recession velocity exceed the speed of light?
Yes. Galaxies with redshift z greater than about 1.5 have recession velocities exceeding c in the sense of Hubble's law v = H0 x d. This is not a violation of special relativity because the recession is due to space expansion, not motion through space. Light from these galaxies can still reach us because the expansion was slower in the past. The observable universe extends to z approximately 1089 (the CMB), well into the superluminal regime.
What is the relationship between redshift and lookback time?
The lookback time (how long ago the light was emitted) depends on the cosmological model. In the standard flat LCDM model (H0 = 67.4, Omega_m = 0.315, Omega_Lambda = 0.685), z = 1 corresponds to about 7.9 Gyr lookback time (universe was 5.9 Gyr old), z = 3 to about 11.5 Gyr, and z = 10 to about 13.3 Gyr. Precise lookback times require numerical integration of the Friedmann equation.
What is the wavelength stretch factor (1+z)?
Every photon emitted at redshift z arrives with its wavelength multiplied by (1+z). If a galaxy emits H-alpha at 656.28 nm and is at z = 0.5, we observe it at 656.28 x 1.5 = 984.42 nm (near-infrared). Photon energy is proportional to 1/wavelength, so photons arrive with 1/(1+z) of their emitted energy. At z = 1, each photon carries half its original energy. The CMB photons were emitted as near-infrared at recombination and are now microwaves: stretched by factor 1090.
What is cosmological blueshift and does it exist?
Cosmological blueshift would require space to be contracting rather than expanding. In the current accelerating universe, cosmological blueshift does not occur for distant galaxies. However, galaxies in the Local Group (Andromeda, Triangulum) show blueshift due to their peculiar velocities toward the Milky Way being larger than the small cosmological recession at their distance. Andromeda shows a blueshift of about 110 km/s and will merge with the Milky Way in roughly 4.5 Gyr.
What is the highest redshift ever observed?
As of 2024, the highest-confirmed galaxy redshift is JADES-GS-z14-0 at z = 14.32, observed by the James Webb Space Telescope. This galaxy existed when the universe was only about 290 million years old. Some candidate galaxies at z greater than 16 have been reported but need spectroscopic confirmation. The absolute record is the CMB at z approximately 1089, the surface of last scattering.