Redshift Calculator

How fast is a distant galaxy moving away from Earth?

Find out how fast a distant galaxy is moving away from Earth due to cosmic expansion. Enter the rest wavelength (original) and observed wavelength (received) of light from the galaxy — see the redshift value and recession velocity in km/s. Assumes standard cosmological redshift with Hubble's Law for velocity calculations.

Updated June 2026 · How this works

Worth knowing
How It Works
The formula, explained simply

Imagine stretching a slinky while a wave travels along it — the wave gets longer as the medium expands. This is exactly what happens to light from distant galaxies as it crosses billions of years of expanding space. When astronomers observe a familiar spectral line shifted to a longer wavelength, they know the galaxy is receding due to cosmic expansion.

The redshift calculation compares the observed wavelength to the rest wavelength (the original wavelength when emitted). A redshift of z = 0.1 means the wavelength has stretched by 10%, indicating significant recession velocity. For nearby galaxies with low redshift, this follows a simple relationship where velocity equals redshift times the speed of light.

At higher redshifts above z = 0.1, relativistic effects become important and the simple velocity formula breaks down. Very distant galaxies with z > 1 show light that has been traveling so long that space has more than doubled in size since the light was emitted. These calculations reveal not just how fast galaxies are moving, but how the universe itself has evolved over cosmic time.

When To Use This
Right tool, right situation

Use this calculator when analyzing spectroscopic observations of galaxies, quasars, or other distant astronomical objects. Professional astronomers rely on redshift measurements to map the three-dimensional structure of the universe and test cosmological models. The tool works for any electromagnetic radiation where you can identify the same spectral feature in both laboratory and astronomical spectra.

The calculator proves essential for determining galaxy distances beyond the range of direct measurement methods. While parallax works for nearby stars and Cepheid variables extend distance measurements to nearby galaxies, redshift provides the primary distance indicator for objects billions of light-years away.

Avoid using this tool for objects within our Local Group of galaxies, where peculiar motions often dominate over cosmic expansion. Stars within the Milky Way show Doppler shifts from orbital motion, not cosmological redshift. Similarly, be cautious with gravitational redshift calculations — this tool assumes standard cosmological expansion and does not account for strong gravitational fields near massive objects.

Common Mistakes
Why results sometimes look wrong

The most common error is confusing cosmological redshift with Doppler redshift from object motion. While both stretch light waves, cosmological redshift results from space expansion during light travel, not the galaxy's velocity through space. A galaxy with z = 2 is not moving at twice the speed of light — instead, space has tripled in size since the light was emitted.

Another mistake is applying the simple velocity formula v = zc to high-redshift objects. This approximation fails above z = 0.1 and gives impossible results for distant galaxies. The relativistic velocity formula must be used for accurate calculations, especially in professional astronomy where precision matters.

Users often misinterpret negative redshift values as errors rather than genuine blueshift. Negative z indicates approaching objects and is perfectly valid for nearby galaxies like Andromeda. Additionally, mixing wavelength units between rest and observed measurements will give meaningless results — both values must use identical units for the calculation to work correctly.

The Math
Worked examples and deeper derivation

The basic redshift formula is z = (λ_observed - λ_rest) / λ_rest, where λ represents wavelength. For small redshifts (z < 0.1), the recession velocity approximates v = zc, where c is the speed of light (299,792.5 km/s). A galaxy with z = 0.05 recedes at approximately 15,000 km/s.

For higher redshifts, special relativity requires the full formula: v = c[(1+z)² - 1]/[(1+z)² + 1]. This prevents calculated velocities from exceeding light speed, which would violate physics. A galaxy with z = 1.0 has recession velocity of 180,000 km/s using the relativistic formula, not 300,000 km/s from the simple approximation.

The relationship between redshift and distance follows Hubble's Law: v = H₀d, where H₀ ≈ 70 km/s/Mpc is the Hubble constant. Converting velocity to distance gives d = v/H₀. However, this distance-redshift relationship becomes complex for z > 0.1 because it depends on the universe's expansion history and matter content, requiring sophisticated cosmological models.

Nearby Galaxy Observation
Rest wavelength: 656.3 nm (hydrogen-alpha), Observed wavelength: 659.8 nm
This gives z = 0.0053 and recession velocity of 1,590 km/s, indicating a galaxy about 23 million light-years away.
Moderate Distance Galaxy
Rest wavelength: 656.3 nm, Observed wavelength: 721.0 nm
Results in z = 0.0986 and recession velocity of 29,570 km/s, suggesting a galaxy roughly 420 million light-years distant.
Very Distant Early Galaxy
Rest wavelength: 1215.7 Å (Lyman-alpha), Observed wavelength: 2431.4 Å
Shows z = 1.0 and recession velocity of 179,896 km/s, representing a galaxy from when the universe was half its current age.
Expert Unlock
The thing most explanations skip

The standard redshift formula assumes the source emits light at the laboratory rest wavelength, but stellar and galactic spectra show systematic velocity shifts from gas motion, stellar winds, and gravitational effects. Professional astronomers apply heliocentric and cosmological corrections, adjusting observed redshifts by Earth's orbital motion (±30 km/s) and the Local Group's motion toward the Great Attractor (+627 km/s). These corrections matter for precision distance measurements and become critical for low-redshift galaxy surveys mapping local cosmic structure.

Why do some galaxies have negative redshift values?

How do astronomers measure redshift in real observations?
Astronomers use spectroscopy to identify emission lines from hydrogen, oxygen, or other elements in galaxy light. They compare the observed wavelength of these lines to laboratory measurements of the same transitions. The most common reference is the hydrogen-alpha line at 656.3 nanometers, which shifts to longer wavelengths in receding galaxies.
What does negative redshift mean for galaxy motion?
Negative redshift (blueshift) means the galaxy is moving toward us, making light waves compressed to shorter wavelengths. The Andromeda Galaxy shows blueshift because it's approaching Earth at about 110 km/s and will eventually merge with the Milky Way. Most distant galaxies show positive redshift due to cosmic expansion.
Why does redshift tell us about cosmic expansion and galaxy distance?
Hubble's Law links redshift to distance through the expanding universe. Space itself stretches light waves as they travel, creating larger redshifts for more distant sources. This cosmic redshift differs from Doppler redshift caused by object motion, though both follow similar mathematical relationships for nearby galaxies.

Need something this doesn't cover?

Suggest a tool — we'll build it →