Hubble's Law Calculator
Calculate recession velocity and distance from cosmological redshift using Hubble's Law. Includes lookback time, scale factor, and relativistic corrections.
About this calculator
This calculator turns a galaxy's measured redshift into a recession velocity and distance using Hubble's Law. Two velocity figures are computed side by side: the classical version, v = cz, which is simple and accurate only for small redshifts, and a relativistic version using the relativistic Doppler formula, v = c×((1+z)² − 1)/((1+z)² + 1), which stays valid as redshift grows large and velocities approach the speed of light (where the classical formula would nonsensically exceed c). Distance in megaparsecs comes from dividing the classical recession velocity by your entered Hubble constant, then the calculator converts that into million and billion light-years for more familiar units. Lookback time — how far into the past you're actually observing, since light from distant objects took time to arrive — is approximated from redshift and the Hubble constant converted into inverse seconds, then expressed in billions of years (Gyr).
The Hubble time (1/H₀) represents a rough age-of-the-universe estimate under the simplifying assumption of constant expansion since the Big Bang. Scale factor (1/(1+z)) describes how much smaller the universe was when the light was emitted, and wavelength stretch (1+z) is literally what redshift measures — light stretched to longer wavelengths by cosmic expansion during its journey. Because the Hubble constant itself is contested (the Planck collaboration's 2018 cosmic-microwave-background analysis gives H₀ = 67.4 ± 0.5 km/s/Mpc, while the SH0ES team's 2022 local Cepheid-supernova distance ladder gives H₀ = 73.04 ± 1.04 km/s/Mpc), your chosen value meaningfully shifts every distance and time result here — this reflects a live area of unresolved astrophysics known as the "Hubble tension," not settled science.
Inputs
Results
Recession Velocity (classical)
29,979.25 km/s
Recession Velocity (relativistic)
28,487.07 km/s
Distance
428.27 Mpc
Figures current as of 2022. Sources: Planck Collaboration, "Planck 2018 results. VI. Cosmological parameters," Astronomy & Astrophysics 641, A6 (2020); arXiv:1807.06209, A. G. Riess et al., "A Comprehensive Measurement of the Local Value of the Hubble Constant with 1 km/s/Mpc Uncertainty from the Hubble Space Telescope and the SH0ES Team," The Astrophysical Journal Letters 934, L7 (2022); arXiv:2112.04510
How to Use This Calculator
- Enter the spectroscopic Redshift (z) of the galaxy — nearby galaxies are 0.001–0.1, distant quasars can exceed 6.
- Set the Hubble Constant (H₀) in km/s/Mpc — Planck gives 67.4, SH0ES gives 73.0; 70 is a common compromise.
- Read Distance (Mpc) and Distance (Gly) for the galaxy's comoving distance from Earth.
- Use Lookback Time (Gyr) to determine how far into the past you are observing the object.
- Compare Classical and Relativistic recession velocities — for high-z objects, the relativistic formula is more accurate.
How the result changes with Redshift (z)
| Redshift (z) | Recession Velocity (classical) | Recession Velocity (relativistic) | Distance |
|---|---|---|---|
| 0.05 | 14,989.62 km/s | 14,615.33 km/s | 214.14 Mpc |
| 0.08 | 22,484.43 km/s | 21,643.47 km/s | 321.21 Mpc |
| 0.15 | 44,968.87 km/s | 41,628.88 km/s | 642.41 Mpc |
| 0.25 | 74,948.11 km/s | 65,808.1 km/s | 1,070.69 Mpc |
What each input means
- Redshift (z)
- Cosmological redshift measured from spectral lines (nearby galaxies ~0.001-0.1, distant ~1-10)
- Hubble Constant (H₀)
- Current expansion rate (Planck 2018: 67.4, SH0ES: 73.0; default 70 is a compromise)
How this is calculated
Formula
v = H₀ × d; d = cz / H₀Worked example, using the default values
- Identify Input ParametersRedshift (z) = 0.1, Hubble Constant (H₀) = 70 = 2 input(s) provided
- Calculate Recession VelocityRecession Velocity29979.25 = 29979.25
- Calculate Recession VelocityRecession Velocity28487.07 = 28487.07
- Calculate DistanceDistance428.27 = 428.27
- Calculate DistanceDistance1396.86 = 1396.86
- Calculate DistanceDistance1.397 = 1.397
Figures and sources
- Planck 2018 cosmic-microwave-background measurement of the Hubble constant (H₀ = 67.4 ± 0.5 km/s/Mpc) (2018) — Planck Collaboration, "Planck 2018 results. VI. Cosmological parameters," Astronomy & Astrophysics 641, A6 (2020); arXiv:1807.06209
- SH0ES local Cepheid-supernova measurement of the Hubble constant (H₀ = 73.04 ± 1.04 km/s/Mpc) (2022) — A. G. Riess et al., "A Comprehensive Measurement of the Local Value of the Hubble Constant with 1 km/s/Mpc Uncertainty from the Hubble Space Telescope and the SH0ES Team," The Astrophysical Journal Letters 934, L7 (2022); arXiv:2112.04510
Engine last updated . Checked against 1 independently-derived test — how we verify calculators. Built by Paul Gunder, a software engineer, not a licensed financial, medical, or legal professional.
Frequently Asked Questions
Why does the calculator show two different recession velocities?
The classical velocity (v = cz) is simple but only accurate for small redshifts, since it can mathematically exceed the speed of light at high z, which is physically impossible. The relativistic velocity uses the relativistic Doppler formula, v = c×((1+z)²−1)/((1+z)²+1), which stays valid and always stays below c as redshift grows large, so it's the more accurate figure for distant, high-redshift objects like quasars.
Why does changing the Hubble constant shift every distance and time result?
Distance is computed by dividing recession velocity by the Hubble constant, and lookback time is derived from redshift and the Hubble constant converted to inverse seconds, so H₀ appears as a divisor throughout the calculation. Because the Planck collaboration's 2018 cosmic-microwave-background measurement (67.4 ± 0.5 km/s/Mpc, Planck 2018 results VI) and the SH0ES team's 2022 local Cepheid-supernova measurement (73.04 ± 1.04 km/s/Mpc, Riess et al. 2022) genuinely disagree, your chosen value is a real scientific input, not a settled constant, and it meaningfully moves every downstream figure.
What does the scale factor at emission actually tell me?
Scale factor, computed as 1/(1+z), describes how much smaller the universe's overall scale was at the moment the light you're now observing was emitted, relative to today. A scale factor of 0.5, for example, means the universe was half its current size when that light left its source — it's a direct consequence of how redshift relates to cosmic expansion.
Is the Hubble time the same thing as the actual age of the universe?
The calculator's Hubble time (1/H₀) is only a rough approximation of the universe's age, valid under the simplifying assumption of constant expansion since the Big Bang. The real universe's expansion rate has changed over cosmic history due to matter and dark energy, so the actual age (about 13.8 billion years) differs somewhat from this simplified Hubble-time estimate.
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
Star Magnitude Calculator
Calculate absolute magnitude from apparent magnitude and distance using the distance modulus formula. Includes luminosity ratio and parallax.
AstronomyLight Travel Time
Calculate how long light takes to travel a given distance. Enter distance in AU or km and get travel time in seconds, minutes, hours, days, or years.
Astrophysics & AstronomyRedshift Calculator
Calculate cosmological redshift, recessional velocity, distance, and lookback time using Hubble's law.
Astrophysics & AstronomyHubble Time
Order-of-magnitude Hubble time 1/H0 from H₀ in km/s/Mpc.
Astrophysics & AstronomyCosmological Distance Calculator
Calculate luminosity distance, comoving distance, angular diameter distance, and lookback time using cosmological models.
More in Science & Physics.