Hubble's Law Calculator
Test cases replayed : 2 of 2 match · Methodology · No outside source listed
Enter the distance of the galaxy and the Hubble constant you want to use (measurements differ, so it is an input).
Result
Recession velocity (km/s)
Redshift z ≈ v/c (valid for small z)
- Hubble time 1/H₀ (billion years)
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Distance unit: choose Megaparsecs (Mpc) or Millions of light-years.
- Distance: enter 0 or more.
- Hubble constant H₀ (km/s per Mpc, example): enter 0 or more.
- Read the result: Recession velocity (km/s); the panel also shows Redshift z ≈ v/c (valid for small z) and Hubble time 1/H₀ (billion years).
How this calculator works
Hubble's law: v = H₀ × d, with d the proper distance in megaparsecs and H₀ the Hubble constant. For nearby galaxies the redshift is about z ≈ v ÷ c; beyond z ≈ 0.1 a cosmological model is needed.
1 parsec = 3.085678 × 10¹⁶ m and 1 light-year = 9.46073 × 10¹⁵ m (NIST Special Publication 811, Appendix B.9 (https://www.nist.gov/pml/special-publication-811/nist-guide-si-appendix-b-conversion-factors/nist-guide-si-appendix-b9, read 2026-10-27)); c = 299,792,458 m/s (NIST CODATA 2022 values (https://physics.nist.gov/cuu/Constants/Table/allascii.txt, read 2026-10-27)). The Hubble time 1/H₀ uses the Julian year of 365.25 days. Measured H₀ values differ between methods, so enter the one you need.
The formula
| Symbol | Meaning |
|---|---|
| Distance unit | |
| Distance | |
| Hubble constant H₀ (km/s per Mpc, example) | |
| Recession velocity (km/s) |
Worked example
| Distance unit | Megaparsecs (Mpc) |
|---|---|
| Distance | 100 |
| Hubble constant H₀ (km/s per Mpc, example) | 70 |
| Redshift z ≈ v/c (valid for small z) | 0.0233 |
|---|---|
| Hubble time 1/H₀ (billion years) | 13.97 |
Recession velocity (km/s) 7,000
Each step uses the unrounded value of the step before it; figures on this page are rounded for display.
Frequently asked questions
How fast does a galaxy 100 Mpc away recede with H₀ = 70?
7,000 km/s, a redshift of about 0.0233.
What Hubble time does H₀ = 70 give?
About 13.97 billion years.