When light from a distant galaxy reaches your telescope, its wavelength has stretched — shifted toward the red end of the spectrum by the expansion of space itself. Use this Redshift Interactive Calculator to calculate cosmological redshift, recessional velocity, proper distance, light travel time, and lookback time using observed and emitted wavelengths or recession velocity. These measurements matter across galaxy mapping, quasar analysis, and precision cosmology — anywhere you need to translate a spectral shift into a real distance or timeline. This page includes the core formulas, a worked multi-wavelength example, full cosmological theory, and an FAQ.
What is redshift?
Redshift is the stretching of light to longer (redder) wavelengths as it travels through an expanding universe. The more a galaxy's light is shifted, the farther away — and further back in time — you're looking.
Simple Explanation
Think of sound from a car driving away — the pitch drops as the car recedes. Light works the same way: as a distant galaxy moves away (or as space between you and it expands), the light waves get stretched out and shift toward red. The bigger the shift, the faster the galaxy is receding and the further back in cosmic history you're seeing.
📐 Browse all 1000+ Interactive Calculators
Table of Contents
How to Use This Calculator
- Select a calculation mode from the dropdown — choose from redshift, observed wavelength, velocity, proper distance, lookback time, or reverse redshift from velocity.
- Enter the required input values — observed wavelength, emitted wavelength, redshift (z), recession velocity, Hubble constant, matter density, or dark energy density depending on your selected mode.
- If using the distance or lookback modes, confirm the cosmological parameters (H₀, Ωm, ΩΛ) match your adopted cosmology — the defaults use concordance values.
- Click Calculate to see your result.
Visual Representation
Redshift Interactive Calculator
📹 Video Walkthrough — How to Use This Calculator
Redshift interactive visualizer
See how light wavelengths stretch as galaxies recede through expanding space. Watch the spectrum shift and calculate cosmological distances in real-time.
OBSERVED λ
1312 nm
VELOCITY
0.60c
DISTANCE
6.9 Gly
FIRGELLI Automations — Interactive Engineering Calculators
Redshift Equations
Observational Redshift Definition
Use the formula below to calculate observational redshift from wavelength measurements.
Where:
- z = redshift (dimensionless)
- λobs = observed wavelength (nm or any length unit)
- λemit = emitted (rest-frame) wavelength (same units as λobs)
Special Relativistic Doppler Shift
Use the formula below to calculate redshift from recession velocity using special relativity.
Where:
- β = v/c (velocity as fraction of light speed, dimensionless)
- v = recession velocity (km/s)
- c = speed of light = 299,792.458 km/s
Comoving Distance Integral (ΛCDM Cosmology)
Use the formula below to calculate comoving distance using the ΛCDM cosmological model.
E(z) = √(Ωm(1 + z)3 + ΩΛ)
Where:
- dC = comoving distance (Mpc)
- H0 = Hubble constant at present (km/s/Mpc)
- Ωm = matter density parameter (dimensionless)
- ΩΛ = dark energy density parameter (dimensionless)
Proper Distance and Lookback Time
Use the formula below to calculate proper distance and lookback time from comoving distance and redshift.
tlookback = ∫0z dz' / [(1 + z') H0 E(z')]
Where:
- dP = proper distance at present epoch (Mpc)
- tlookback = time since light was emitted (Gyr)
Simple Example
A spectroscope detects a hydrogen-alpha line at 820 nm. The known rest wavelength is 656 nm.
- z = (820 / 656) − 1 = 0.25
- Using the relativistic formula: β ≈ 0.2198, so recession velocity ≈ 65,900 km/s
- Result: the galaxy is receding at roughly 22% of the speed of light.
Theory & Practical Applications of Cosmological Redshift
Physical Origin of Redshift
Cosmological redshift arises from the expansion of spacetime itself rather than from motion through space. When a photon travels through an expanding universe, the metric expansion stretches its wavelength proportionally to the scale factor of the universe. This differs fundamentally from the classical Doppler effect, though at low redshifts (z < 0.1) the mathematical expressions converge. The redshift parameter z directly measures the fractional change in the universe's scale factor between emission and observation: 1 + z = a(tobs)/a(temit), where a(t) is the cosmic scale factor normalized to unity at present.
For nearby objects where peculiar velocities dominate (z < 0.01), the special relativistic Doppler formula provides accurate velocity estimates. However, at moderate to high redshifts, the interpretation becomes purely cosmological. An object at z = 1 is not "moving away at 0.6c" — rather, the universe has doubled in size since the light was emitted. Objects beyond z ≈ 1.5 have recession velocities exceeding the speed of light in the Hubble flow, which is permissible because no information or matter moves through space faster than c; the coordinate distance itself increases.
Redshift Regimes and Observational Techniques
Optical astronomy typically measures redshifts using spectral line identifications. The hydrogen-alpha line (656.3 nm rest wavelength) observed at 1640.8 nm indicates z = 1.5. Astronomers construct large spectroscopic surveys measuring hundreds of thousands of galaxy redshifts to map cosmic large-scale structure. The Sloan Digital Sky Survey has cataloged redshifts for over 3 million galaxies, with precision typically δz ≈ 0.0001 for bright galaxies. High-redshift quasars now extend beyond z = 7.5, corresponding to when the universe was less than 700 million years old.
Photometric redshift estimation uses multi-band imaging without spectroscopy, fitting observed colors to spectral templates. While faster and applicable to fainter objects, photo-z accuracy degrades to δz/(1+z) ≈ 0.03-0.05. Radio observations measure redshift via 21-cm hydrogen emission (rest frequency 1420.4 MHz), while infrared surveys target high-redshift galaxies where ultraviolet rest-frame emission shifts into near-infrared bands. The James Webb Space Telescope operates at 0.6-28 μm specifically to observe galaxies at z > 6 where optical wavelengths have redshifted into infrared.
Distance Measures in Expanding Spacetime
The relationship between redshift and distance depends critically on cosmological parameters. In a flat ΛCDM universe (Ωm = 0.3, ΩΛ = 0.7, H0 = 70 km/s/Mpc), the comoving distance integral must be evaluated numerically. Comoving distance dC represents the distance that would be measured if the universe stopped expanding instantaneously, while proper distance dP = dC(1 + z) accounts for expansion during light travel.
A critical non-obvious feature: light travel time tlight = dC/c differs from lookback time tlookback, which accounts for time dilation in the expanding universe. For z = 1.5, light travel time is approximately 9.3 billion years, but lookback time is 9.4 billion years due to the integrated expansion history. This distinction matters for interpreting the evolutionary state of observed galaxies. At z = 7, we observe the universe at 770 million years after the Big Bang, though the light has traveled for 13.0 billion years — the proper distance to those galaxies now exceeds 29 billion light-years.
Worked Example: Multi-Wavelength Redshift Analysis
Problem: An astronomer observes a distant quasar with three prominent emission lines: one at λobs,1 = 1823.4 nm, another at λobs,2 = 1595.2 nm, and a third at λobs,3 = 2166.8 nm. Laboratory measurements identify these as Lyman-alpha (121.567 nm), C IV (154.820 nm), and Mg II (279.553 nm) respectively. Calculate: (a) the redshift from each line independently, (b) verify consistency and determine mean redshift with uncertainty, (c) calculate the recession velocity using relativistic formula, (d) determine proper distance and lookback time assuming H0 = 67.4 km/s/Mpc, Ωm = 0.315, ΩΛ = 0.685, and (e) interpret the physical state of the universe at emission.
Solution:
Part (a): Calculate individual redshifts using z = λobs/λemit - 1:
- Lyman-alpha: z1 = (1823.4 nm)/(121.567 nm) - 1 = 15.000 - 1 = 14.000
- C IV: z2 = (1595.2 nm)/(154.820 nm) - 1 = 10.305 - 1 = 9.305
- Mg II: z3 = (2166.8 nm)/(279.553 nm) - 1 = 7.750 - 1 = 6.750
Part (b): These redshifts are inconsistent, indicating either misidentification or measurement error. Proper line identification would require examining line ratios and the overall spectral energy distribution. Assuming the C IV identification is most reliable for this example, we proceed with z = 9.305. For a well-calibrated spectrograph, measurement precision would be σz ≈ 0.001 at this redshift. However, the discrepancy here suggests systematic uncertainty dominates.
Part (c): Calculate recession velocity from z = 9.305 using relativistic Doppler formula. Solving for β: (1 + z)² = (1 + β)/(1 - β), thus (10.305)² = (1 + β)/(1 - β), giving 106.193 = (1 + β)/(1 - β). Solving: 106.193(1 - β) = 1 + β → 106.193 - 106.193β = 1 + β → 105.193 = 107.193β → β = 0.9813. Therefore v = 0.9813c = 294,174 km/s. At this extreme redshift, the object's coordinate recession velocity in the Hubble flow is approximately 2.9c, but the observable kinematic recession velocity approaches c asymptotically.
Part (d): Calculate comoving distance using numerical integration with given cosmological parameters. The comoving distance integral from z = 0 to z = 9.305 with E(z) = √(0.315(1+z)�� + 0.685) requires numerical methods. Using Simpson's rule with 1000 integration steps:
- Hubble distance: dH = c/H0 = (299,792.458 km/s)/(67.4 km/s/Mpc) = 4449.6 Mpc
- Numerical integration yields: ∫[dz/E(z)] ≈ 2.683 (dimensionless)
- Comoving distance: dC = 4449.6 × 2.683 = 11,938 Mpc = 11.938 Gpc
- Proper distance: dP = dC(1 + z) = 11.938 × 10.305 = 123.0 Gpc = 401 billion light-years
- Light travel time: tlight = dC/c = 38.9 billion years (physically impossible; this is the coordinate time)
For lookback time, integrate tlookback = ∫[dz/((1+z)H0E(z))] from 0 to 9.305. Converting H0 to SI units: H0 = 67.4/(3.0857×10¹⁹) = 2.184×10⁻¹⁸ s⁻¹. Numerical integration gives tlookback ≈ 13.11 billion years. The universe's current age is 13.8 billion years, so emission occurred when the universe was approximately 690 million years old — deep in the epoch of reionization.
Part (e): At z = 9.305, the universe was 5% of its current age, with temperature approximately 29 K (compared to 2.725 K today). The cosmic microwave background appeared as intense infrared radiation at ~28 μm peak wavelength. The first stars and galaxies were actively forming, ionizing the intergalactic medium. The observed quasar accreted material onto a supermassive black hole that formed extraordinarily early in cosmic history. The angular diameter distance at this redshift is dA = dC/(1+z) = 1158 Mpc, meaning a 10 kpc galaxy subtends ~1.8 arcseconds — marginally resolvable with HST or JWST.
Applications Across Astrophysics and Cosmology
Redshift surveys provide the primary tool for mapping three-dimensional cosmic structure. The Baryon Oscillation Spectroscopic Survey (BOSS) measured redshifts for 1.5 million galaxies across 0.2 < z < 0.7, revealing baryon acoustic oscillations that constrain dark energy properties. Type Ia supernova observations at z ≈ 0.3-1.0 provided the first direct evidence for cosmic acceleration, with redshift linking observed brightness to luminosity distance. Precision cosmology now achieves δH0/H0 ≈ 0.01 through combined redshift-distance measurements.
Gravitational lensing studies use source redshifts to reconstruct three-dimensional mass distributions. A lensing galaxy at zlens = 0.5 deflecting light from a background galaxy at zsource = 2.0 allows precise mass measurement because the deflection angle depends on angular diameter distances dA(zlens), dA(zsource), and dA(zlens, zsource). Time-delay cosmography from strongly lensed quasars provides independent H0 measurements with ~2% precision, contributing to the current "Hubble tension" between early-universe (CMB) and late-universe (standard candles) determinations.
Velocity field reconstructions use redshift-space distortions — the difference between redshift and true distance caused by peculiar velocities. On scales of 10-100 Mpc, gravitational infall creates coherent velocity patterns that distort the observed redshift distribution, providing measurements of the cosmic growth rate f(z) = d ln δ/d ln a. These measurements test modified gravity theories by comparing observed structure growth with predictions from General Relativity plus dark matter/energy.
Quasar absorption line systems (Lyman-alpha forest) trace the intergalactic medium across cosmic time. A single quasar sightline at z = 6 passes through thousands of intervening hydrogen clouds, each producing narrow absorption features at progressively lower redshifts. Statistical analysis of absorption line redshift distributions maps the thermal and ionization history of the universe. The Gunn-Peterson trough — complete Lyman-alpha absorption beyond z ≈ 6 — marks the epoch when neutral hydrogen filled the universe before reionization completed.
This calculator provides both the simplified relativistic framework appropriate for z < 1 and the full cosmological treatment required at higher redshifts. Users conducting precision cosmology should input the specific H0, Ωm, and ΩΛ values from their adopted cosmology (Planck 2018 values: H0 = 67.4 km/s/Mpc, Ωm = 0.315, ΩΛ = 0.685). For quick estimates using "concordance cosmology," the default values (H0 = 70, Ωm = 0.3, ΩΛ = 0.7) provide ~5% accuracy across most redshift ranges. More information about cosmological calculations and related tools can be found in our complete engineering calculator library.
Frequently Asked Questions
Free Engineering Calculators
Explore our complete library of free engineering and physics calculators.
Browse All Calculators →🔗 Explore More Free Engineering Calculators
About the Author
Robbie Dickson — Chief Engineer & Founder, FIRGELLI Automations
Robbie Dickson brings over two decades of engineering expertise to FIRGELLI Automations. With a distinguished career at Rolls-Royce, BMW, and Ford, he has deep expertise in mechanical systems, actuator technology, and precision engineering.
Need to implement these calculations?
Explore the precision-engineered motion control solutions used by top engineers.
