Skip to main content
Calcimator

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

km/s/Mpc

Results

Recession Velocity (classical)

29,979.25 km/s

Recession Velocity (relativistic)

28,487.07 km/s

Distance

428.27 Mpc

Distance1,396.86 Mly
Distance1.397 Gly
Lookback Time1.27 Gyr
Hubble Time (1/H₀)13.97 Gyr
Scale Factor at Emission0.9091
Wavelength Stretch1.1×
Age At Emission12.7

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
  1. Enter the spectroscopic Redshift (z) of the galaxy — nearby galaxies are 0.001–0.1, distant quasars can exceed 6.
  2. Set the Hubble Constant (H₀) in km/s/Mpc — Planck gives 67.4, SH0ES gives 73.0; 70 is a common compromise.
  3. Read Distance (Mpc) and Distance (Gly) for the galaxy's comoving distance from Earth.
  4. Use Lookback Time (Gyr) to determine how far into the past you are observing the object.
  5. 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.0514,989.62 km/s14,615.33 km/s214.14 Mpc
0.0822,484.43 km/s21,643.47 km/s321.21 Mpc
0.1544,968.87 km/s41,628.88 km/s642.41 Mpc
0.2574,948.11 km/s65,808.1 km/s1,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

  1. Identify Input Parameters
    Redshift (z) = 0.1, Hubble Constant (H₀) = 70 = 2 input(s) provided
  2. Calculate Recession Velocity
    Recession Velocity
    29979.25 = 29979.25
  3. Calculate Recession Velocity
    Recession Velocity
    28487.07 = 28487.07
  4. Calculate Distance
    Distance
    428.27 = 428.27
  5. Calculate Distance
    Distance
    1396.86 = 1396.86
  6. Calculate Distance
    Distance
    1.397 = 1.397

Figures and sources

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.

The questions that sit next to this one — chosen by subject, including calculators filed under a different category.

More in Science & Physics.