Redshift and Recession Velocity Calculator

Light from a receding source is stretched to longer, redder wavelengths. Measure the observed wavelength of a known spectral line and this calculator gives the redshift z, the recession velocity by the exact relativistic Doppler formula and by the simple cz approximation, and the distance from Hubble’s law.

Inputs

Advanced options (1)
km/s per Mpc

Results

Result
z = 0.019991, v = 5,933 km/s away from us
Redshift z
0.0199915
Radial velocity (relativistic Doppler)
5,933
Velocity cz (low-z approximation)
5,993
Hubble-law distance v/H₀
84.76

    RefESS-AST-007
    Methodz = (λ_obs − λ_rest)/λ_rest, v = c((1 + z)² − 1)/((1 + z)² + 1), d = v/H₀
    UnitsSI
    Date2026-11-24

    Working

    Calculated in SI base units; inputs are converted from the units you choose.

    1. Redshiftz = (λ_obs − λ_rest)/λ_restz = (669.4 − 656.28) / 656.28 = 0.0199915
    2. Relativistic Doppler velocityv = c[(1 + z)² − 1]/[(1 + z)² + 1]v = 5,933 km/s (cz = 5,993 km/s)
    3. Hubble lawd = v/H₀d = 5,933 / 70 = 84.76 Mpc

    Doppler shift and the expanding universe

    For stars in our galaxy the shift is a true Doppler effect from radial motion, and the relativistic formula applies at any speed. For galaxies the redshift mostly comes from the expansion of space, and for z below about 0.1 the recession velocity cz divided by the Hubble constant gives a fair distance. Beyond that, distances depend on the cosmological model and these simple formulas should not be used.

    Assumptions and limits

    • Purely radial motion along the line of sight.
    • Rest wavelengths in air for visible lines, so observed wavelengths must also be in air.
    • Hubble-law distance ignores peculiar velocities (a few hundred km/s), so it is unreliable for very nearby galaxies.

    References

    • Carroll, B. W. and Ostlie, D. A., An Introduction to Modern Astrophysics, 2nd ed., Cambridge University Press, 2017, chapters on special relativity and cosmology.
    • NIST Atomic Spectra Database (rest wavelengths of hydrogen, calcium and sodium lines).

    Questions

    What velocity does Hα observed at 669.40 nm imply?
    z = 0.01999, a recession of 5,933 km/s, and about 84.8 Mpc by Hubble’s law with H₀ = 70 km/s per Mpc.
    Why not just use v = cz?
    It is fine for small redshifts, but the error grows with z: at z = 0.5, cz gives 149,896 km/s while the relativistic Doppler formula gives 115,305 km/s.

    This calculator is a design aid. Check results against the governing code or standard and have critical work verified by a qualified engineer. Read the disclaimer.