Compute redshift (z), recessional velocity (classical & relativistic), and luminosity distance using Hubble's law. Switch between wavelength‑based and direct‑z input. Visualize spectral line shift (H‑alpha) in real time.
In observational astronomy, redshift (z) is a fundamental quantity describing how the wavelength of light from distant galaxies, quasars, and cosmic sources is stretched toward longer (redder) wavelengths. It originates from the expansion of the universe (cosmological redshift) or the Doppler effect for local objects. The redshift parameter is defined as: z = (λobs - λrest) / λrest. For cosmic sources, z directly encodes the scale factor of the universe: a(temit) / a(tobs) = 1/(1+z).
Hubble–Lemaître law: v = H₀ × d → d ≈ (c·z) / H₀ (low‑z), with relativistic correction at high redshift.
where c = 299,792.458 km/s, H₀ in km/s/Mpc, distance in Mpc.
The tool implements two modes:
(1) Wavelength mode: z = (λobs - λrest)/λrest. For example, if H‑alpha rest 656.28 nm is observed at 820 nm, z = (820-656.28)/656.28 ≈ 0.2495.
(2) Direct z mode: user supplies z directly.
Recessional velocities: classical v_cl = z·c (valid for small z). Relativistic v_rel = c · ((1+z)² - 1)/((1+z)² + 1) — exact for cosmological recessional speed under special relativity.
Distance (Hubble law): d = v_rel / H₀ (in Mpc, then convert to Gly: 1 Mpc = 3.26156 million ly ≈ 0.00326156 Gly). Light travel time approximate for low‑z: t ≈ d/c but we compute a rough estimate using the Hubble time 1/H₀ scaled by a simple lookback approximation (for illustration). For precise cosmology more complex but a good educational proxy.
All formulas are transparent and validated against standard cosmology references (Carroll & Ostlie, Ryden).
| Object / epoch | Redshift z | Recess. velocity (relativistic) | Distance (Mpc) | Note |
|---|---|---|---|---|
| Virgo Cluster galaxy | 0.004 | ~1,200 km/s | ~17 Mpc | Local cluster |
| GN-z11 (high‑z galaxy) | 11.09 | 0.986c approx | ~32 Gly | Hubble Ultra Deep Field |
| Quasar SDSS J1148+5251 | 6.42 | 0.962c | ~29 Gly | Early universe quasar |
| CMB surface of last scattering | 1100 | 0.999999c | ~46 Gly (comoving) | Cosmic microwave background |
Using supernovae and Cepheid variables, astronomers measure redshift z = 0.0153 for NGC 1357. With H₀ = 70 km/s/Mpc, classical v = 0.0153 × 299,792 ≈ 4587 km/s; distance ~ 65.5 Mpc. This aligns with independent Tully-Fisher measurements. Our calculator replicates this analysis instantly, showing the importance of redshift for measuring cosmic distances.