Redshift Calculator
Calculate cosmological redshift, recession velocity, comoving distance, lookback time, and more. Supports input from z-value, wavelengths, or velocity.
Redshift Calculator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser โ no data is sent to any server.
Formula: z = (lambda_obs - lambda_emit) / lambda_emit | v = c ร ((1+z)ยฒ - 1) / ((1+z)ยฒ + 1)
Worked example โ v = 239,834 km/s (80% c) | Distance: ~5.2 Gpc | Lookback: ~10.3 Gyr
Formula
z = (lambda_obs - lambda_emit) / lambda_emit | v = c ร ((1+z)ยฒ - 1) / ((1+z)ยฒ + 1)
Redshift z measures how much a wavelength has been stretched by cosmic expansion. The recession velocity uses the special relativistic Doppler formula. Distances are calculated by numerically integrating the Friedmann equation for a flat Lambda-CDM cosmology with H0 = 67.4 km/s/Mpc, Omega_M = 0.315, Omega_Lambda = 0.685.
Worked Examples
Example 1: Distant Galaxy Observation
Problem:A galaxy has a measured redshift of z = 2.0. Calculate its recession velocity, comoving distance, and lookback time.
Solution:z = 2.0 Relativistic velocity: v = c ร ((1+z)ยฒ - 1)/((1+z)ยฒ + 1) v = 299792 ร (9-1)/(9+1) = 299792 ร 0.8 = 239,834 km/s v/c = 80% Comoving distance โ 5,200 Mpc (numerical integration) Lookback time โ 10.3 Gyr (universe was 3.5 Gyr old)
Result:v = 239,834 km/s (80% c) | Distance: ~5.2 Gpc | Lookback: ~10.3 Gyr
Example 2: Hydrogen-Alpha Line Shift
Problem:The hydrogen-alpha emission line (656.3 nm) is observed at 722 nm from a galaxy. Calculate the redshift and distance.
Solution:z = (722 - 656.3) / 656.3 = 65.7 / 656.3 = 0.1001 Velocity = c ร ((1.1001)ยฒ - 1)/((1.1001)ยฒ + 1) โ 28,514 km/s Comoving distance โ 420 Mpc โ 1.37 billion light-years Lookback time โ 1.29 Gyr Scale factor at emission: a = 1/1.1 = 0.909
Result:z = 0.1001 | Distance: ~420 Mpc | Lookback: ~1.29 Gyr
Frequently Asked Questions
What is cosmological redshift?
Cosmological redshift is the stretching of light wavelengths caused by the expansion of the universe. As light travels from a distant galaxy toward us, the space through which it travels expands, stretching the wavelength of the light. This makes the light appear redder (shifted toward longer wavelengths) compared to when it was emitted. The redshift parameter z is defined as z = (lambda_observed - lambda_emitted) / lambda_emitted. A redshift of z = 1 means the wavelength has doubled during its journey, indicating the universe has expanded by a factor of 2 since that light was emitted. Cosmological redshift is distinct from Doppler redshift (caused by relative motion) and gravitational redshift (caused by strong gravitational fields), though all three produce similar observational effects.
What is the Hubble constant and why does it matter for redshift?
The Hubble constant (H0) describes the current rate of expansion of the universe, typically expressed in kilometers per second per megaparsec (km/s/Mpc). The current best estimate from the Planck satellite is approximately 67.4 km/s/Mpc, meaning a galaxy 1 Mpc (3.26 million light-years) away is receding from us at about 67.4 km/s. For nearby objects (z < 0.1), Hubble's Law provides a simple linear relationship: velocity = H0 ร distance. For higher redshifts, the relationship becomes non-linear and requires integrating over the expansion history of the universe. The precise value of H0 is actively debated in modern cosmology, with local measurements yielding about 73 km/s/Mpc, creating the so-called Hubble tension.
What is the difference between comoving distance and luminosity distance?
Comoving distance is the current proper distance to an object, accounting for the expansion of the universe that has occurred since the light was emitted. It represents where the object is now, not where it was when the light left. Luminosity distance is the distance inferred from an object's apparent brightness compared to its known intrinsic luminosity; it equals the comoving distance multiplied by (1+z) and is always larger than the comoving distance. Angular diameter distance describes how large an object appears on the sky, equal to the comoving distance divided by (1+z). For nearby objects all three distances converge, but at cosmological distances they diverge significantly. For example, at z = 1, the luminosity distance is four times the angular diameter distance.
What is the highest redshift ever observed?
The highest spectroscopically confirmed galaxy redshifts have been pushed beyond z = 13 by the James Webb Space Telescope (JWST), with JADES-GS-z14-0 confirmed at z = 14.32 in 2024, meaning its light was emitted when the universe was only about 290 million years old. The cosmic microwave background (CMB) has a redshift of z = 1089, representing the earliest observable light from when the universe became transparent about 380,000 years after the Big Bang. At z = 1089, the CMB photons have been stretched by a factor of 1,090, shifting from visible/infrared light at ~3,000 K to the microwave radiation at 2.725 K we observe today. Gravitational waves could potentially detect signals from even earlier epochs.
Can redshift exceed z = 1, and does that mean faster than light?
Yes, redshift values routinely exceed z = 1 for distant galaxies. Thousands of galaxies have been observed with z > 1, and the most distant known objects have z > 10. While z > 1 corresponds to recession velocities exceeding the speed of light when calculated using the relativistic Doppler formula naively, this does not violate special relativity. The recession is due to the expansion of space itself, not motion through space. General relativity allows space to expand at any rate; it is only local motion through space that cannot exceed c. The recession velocity at z = 1.5 is approximately 0.724c using the special relativistic formula, but the cosmological recession velocity (Hubble flow) actually exceeds c for objects beyond the Hubble sphere, approximately 4,400 Mpc from us.
What causes a blueshift, and which galaxies show one?
A blueshift means the observed wavelength is shorter than the emitted one, so z comes out negative and Redshift Calculator will not accept it. It happens when an object's peculiar velocity toward us outweighs any cosmological recession. Inside the Local Group gravity has long since overcome the Hubble flow, so Andromeda is approaching with a heliocentric radial velocity near -300 km/s and its spectral lines sit blueward of rest. A handful of Virgo cluster members are blueshifted for the same reason.
How does gravitational redshift differ from cosmological redshift?
Gravitational redshift comes from a photon climbing out of a potential well rather than from expanding space. In the weak-field limit the fractional shift is roughly GM divided by r times c squared, so it is tiny except near compact objects. The Pound-Rebka experiment detected a shift of about two and a half parts in a thousand million million, that is 2.5 x 10 to the minus 15, over the 22.5 metre tower at Harvard, and white dwarf spectra show shifts equivalent to tens of km/s. Neither depends on the source moving.
What is the difference between a spectroscopic redshift and a photometric redshift?
A spectroscopic redshift comes from dispersing the light and measuring the centroid of identified lines such as Lyman-alpha, H-alpha or the [O III] doublet, which pins z down to several decimal places. A photometric redshift fits broadband colours against galaxy templates, looking for features like the 4000 angstrom break sliding through the filters. It is far less precise, typically a few percent in 1 plus z, but it can be applied to millions of faint galaxies that would be impossible to observe spectroscopically.
Why do distant supernovae appear to evolve in slow motion?
Expansion stretches time intervals by exactly the same 1 plus z factor that stretches wavelengths, because successive wave crests and successive events are both carried by the expanding space between source and observer. A type Ia supernova at z = 0.5 therefore takes about 1.5 times longer to rise and fade than an identical event nearby. Observed light-curve widths do scale this way, which is one of the cleaner direct tests that the redshift really is cosmological rather than a Doppler effect.
Why must the most distant galaxies be observed in the infrared?
Everything shifts by the factor 1 plus z, so ultraviolet features emitted by young hot stars land in the near infrared by the time they reach us. Lyman-alpha at 121.6 nm becomes about 1.9 microns at z = 14.3, well past the reach of a visible-light detector. That is the design driver behind JWST, which observes from roughly 0.6 to 28 microns, and behind the dropout technique that identifies candidates by the filter in which they abruptly vanish.
References
Background & Theory
History
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer ยท Editorial policy
Related Calculators
๐งฎRedshift to Distance Calculator
Convert cosmological redshift to distance using Hubble law and standard cosmological parameters.
๐งฎSpace Mission Cost Calculator
Estimate space mission costs from payload mass, orbit, and launch vehicle selection.
๐งฎSpace Suit Air Supply Calculator
Calculate breathable air supply duration for EVA from tank pressure, volume, and consumption rate.
๐งฎBlackbody Peak Wavelength Calculator
Calculate blackbody peak wavelength with inputs, formulas, and instant results.
๐งฎParallax Distance Calculator
Calculate parallax distance with inputs, formulas, and instant results.
๐งฎField of View Calculator
Calculate field of view with inputs, formulas, and instant results.
๐งฎLimiting Magnitude Calculator
Calculate limiting magnitude with inputs, formulas, and instant results.
๐งฎTelescope Magnification by Eyepiece & Focal Length
Calculate telescope magnification with inputs, formulas, and instant results.