Formula and Method for Hubble's Law Distance
In 1929, Edwin Hubble found that nearly every galaxy outside our Local Group is receding from us, and that its recession velocity grows in direct proportion to its distance. That relationship, now called Hubble's Law, is written v = H₀ × d, where v is recession velocity, d is distance, and H₀ (the Hubble constant) sets the proportionality. Rearranged for distance, it becomes d = v / H₀ — enter a recession velocity (usually measured from the redshift of a galaxy's spectral lines) and a value for H₀, and this calculator solves for how far away the object is.
How the calculation works
Enter the recession velocity and choose its unit (km/s, m/s, or mi/s); the calculator converts it to km/s internally. Dividing that by the Hubble constant — entered in its standard unit of kilometers per second per megaparsec (km/s/Mpc) — gives the distance in megaparsecs (Mpc), the unit astronomers normally use with Hubble's Law. That same distance is then converted into million light-years (1 Mpc ≈ 3.2616 Mly) and kilometers (1 Mpc ≈ 3.0857 × 10¹⁹ km) so the scale is easier to picture. Finally, the calculator reports the Hubble time, T_H = 1/H₀, converted to billions of years — a back-of-envelope age-of-the-universe estimate that assumes a constant expansion rate.
Common mistakes
- Treating recession velocity as ordinary motion through space: it mostly reflects the expansion of space itself, which is why very distant recession velocities can exceed what special relativity would allow for objects actually moving through space.
- Applying Hubble's Law far outside its valid range: it is a linear, low-redshift approximation (z ≪ 1); at higher redshift the relationship between distance and velocity curves because the universe's expansion rate has changed over cosmic history, and full relativistic cosmology is needed.
- Mixing up units: H₀ is always quoted per megaparsec (km/s/Mpc), never per light-year or per kilometer — feeding in a distance that isn't in megaparsecs throws the result off by many orders of magnitude.
Real-world applications
- Estimating distances to remote galaxies and quasars from redshift measurements, a core technique in observational cosmology.
- Cross-checking the "cosmic distance ladder" (parallax, standard candles, Hubble's Law) at the scales where methods overlap.
- Estimating the Hubble time as a rough, order-of-magnitude check on the age of the universe.
- Illustrating the Hubble tension — the roughly 7–9% gap between early-universe (CMB) and late-universe (distance-ladder) measurements of H₀ — in astronomy courses.