redshift calculator

Interactive Redshift Calculator

Use this astronomy calculator to compute cosmological redshift, observed wavelength, and recession velocity.

Typical example: Hydrogen H-alpha line = 656.28 nm.
Valid physical values for this tool: z > -1.
Used for a simple distance estimate via d ≈ v/H₀.

What is redshift?

Redshift describes how much light stretches as it travels through space. If a galaxy is moving away from us, or if the universe expands while the light is in transit, spectral lines shift toward longer wavelengths (the red end of the spectrum). This shift is represented by z.

Core wavelength equation:
z = (λobs − λ₀) / λ₀

Here, λ₀ is the emitted (rest-frame) wavelength and λobs is the observed wavelength. If z is positive, the source is redshifted. If z is negative, it is blueshifted.

How this redshift calculator works

1) Redshift from spectral lines

Enter a known rest wavelength and the measured observed wavelength. The calculator computes z directly. This is the standard first-step method in observational astronomy.

2) Observed wavelength from redshift

If you already know z (for example from published data), the calculator estimates where a rest-frame line should appear in your observed spectrum:

λobs = λ₀(1 + z)

3) Recession velocity estimate

The tool reports two velocity values:

  • Approximate velocity: v ≈ zc (good at small redshift)
  • Relativistic velocity: uses special relativity and is more accurate at larger z

For the relativistic case, β = v/c is calculated as:

β = [ (1 + z)² − 1 ] / [ (1 + z)² + 1 ]

How to use this tool step by step

  1. Select a calculation mode.
  2. Fill in the required input fields.
  3. Click Calculate.
  4. Review z, velocity, and optional distance estimate.

If you include H₀, the calculator also reports a rough Hubble-law distance: d ≈ v/H₀ in megaparsecs (Mpc). This is a simplified estimate and is best used as a quick reference.

Example calculations

Example A: Find redshift from H-alpha

Suppose λ₀ = 656.28 nm and λobs = 721.91 nm. Then z = (721.91 − 656.28)/656.28 ≈ 0.10. That means the line is shifted by about 10%.

Example B: Predict observed wavelength

If z = 2.0 and λ₀ = 121.6 nm (Lyman-alpha), then λobs = 121.6 × (1 + 2) = 364.8 nm, which lands in the near-UV/visible boundary.

Important notes and limitations

  • At high redshift, distance is cosmology-dependent and not fully captured by d ≈ v/H₀.
  • Measured wavelength values should come from calibrated spectra.
  • Redshift can include contributions from cosmic expansion, peculiar velocity, and local gravitational effects.
  • This calculator is ideal for education, planning, and quick sanity checks.

Why redshift matters in astronomy

Redshift is one of the most powerful measurements in astrophysics. It lets us estimate how fast galaxies are receding, how the universe expands over time, and how far away distant structures may be. It also helps us map large-scale cosmic structure and interpret the history of star formation and galaxy evolution.

Whether you are a student learning spectroscopy, an amateur astronomer processing line data, or a researcher doing quick checks, a practical redshift calculator saves time and reduces arithmetic errors.

🔗 Related Calculators