StatGardenREF. DESK
Calculators/Physics/Redshift & blueshift
Physics

Redshift & blueshift calculator

Doppler shift of light and the recession or approach velocity it implies.

Published 8 August 2026 · Updated 21 September 2026

What this calculator does

Light from a receding source arrives stretched to longer wavelengths. The fractional stretch is called z, and measuring it against known spectral lines is how the motion of distant objects is determined.

The hydrogen-alpha line at 656.3 nm is the classic reference, because its rest wavelength is known exactly. Any shift away from that figure is a direct measurement of motion along the line of sight.

The formula

Formulaz = (λobs − λemit) / λemit; relativistic Doppler: 1+z = √((1+β)/(1−β)), β = v/c

Redshift z is the change in wavelength divided by the emitted wavelength. Converting that to a velocity uses the relativistic Doppler relation rather than a simple proportion, since large redshifts correspond to speeds where relativity matters.

TermMeaning
Redshift (z)The fractional increase in wavelength. Positive means receding; negative is a blueshift, meaning approach.
Rest wavelengthThe wavelength the line would have if the source were stationary relative to the observer.
Relativistic DopplerThe correct velocity relation at high speed, which keeps velocities below the speed of light however large z becomes.

The inputs explained

FieldWhat to enter
Emitted (rest-frame) wavelength (nm)The emitted or rest-frame wavelength in nanometres. Hydrogen-alpha is 656.3.
Observed wavelength (nm)The observed wavelength in nanometres. Larger than the emitted value means a redshift.

When to use it

Measuring a galaxy's recession

Comparing an observed spectral line against its laboratory wavelength gives z directly, and from that the velocity.

Detecting an approaching object

A blueshift, where the observed wavelength is shorter, indicates motion toward the observer.

Checking a published redshift

Astronomical sources quote z routinely, and recalculating from wavelengths confirms what it corresponds to.

Worked examples

Every figure in the tables below is produced by this page’s own calculator at build time, so the numbers and the tool always agree. Select any row to load that scenario.

What recession velocity does a given wavelength shift imply?

The same rest wavelength observed at increasing values.

Hydrogen-alpha emitted at 656.3 nm
Observed wavelengthRedshift zRecession velocity (relativistic)
660 nm0.00561,685,366 m/s
700 nm0.066619,298,598 m/s
800 nm0.219058,593,370 m/s
1000 nm0.5237119,283,850 m/s
A shift from 656.3 to 660 nm is barely half a per cent, z = 0.0056, and still corresponds to 1,685,366 m/s. Stretching the line to 1,000 nm gives z = 0.5237 and a velocity of 119,283,850 m/s, around 40 per cent of light speed.

Questions

Does redshift always mean the object is moving away?

For nearby objects, yes, it is ordinary Doppler motion. For distant galaxies the dominant cause is the expansion of space itself stretching the light in transit, which is cosmological redshift rather than motion through space.

Why not just multiply z by the speed of light?

That approximation is fine for small z but fails badly at large values, where it would give velocities above light speed. The relativistic relation keeps the result physically sensible however large z gets.

Can z exceed 1?

Yes, and the most distant observed objects have z well above 10. That does not mean faster than light: the relativistic relation maps any z, however large, onto a velocity below c.

What is a blueshift?

The opposite case, where the observed wavelength is shorter than the emitted one, indicating approach. The Andromeda galaxy is blueshifted because it is moving toward us.

For the sound equivalent of the same effect, see the Doppler effect calculator. For the photon energies involved, see the photon energy calculator.