Hubble Distance from Redshift Calculator
Enter the recession velocity and Hubble constant to get the Hubble distance.
Result
How it is calculated
Hubble's law says a galaxy's recession velocity grows in proportion to its distance, v = H₀ × d, so the tool uses d = v / H₀. Here v is the recession velocity in km/s, H₀ is the Hubble constant in km/s per megaparsec, and d comes out in megaparsecs (Mpc). It then converts to millions of light-years by multiplying by 3.2615637772, the number of million light-years in one megaparsec. If the Hubble constant is left empty the tool assumes 70. The velocity may not be negative and H₀ must be above zero. The relation is linear and has no relativistic correction, so it is a good approximation only for relatively nearby galaxies where the velocity is a small fraction of the speed of light.
Worked example
A galaxy recedes at 7,000 km/s and we adopt H₀ = 70 km/s/Mpc. The distance is 7000 / 70 = 100.00 Mpc. One megaparsec is 3.2616 million light-years, so 100 × 3.2615637772 = 326.16 Mly. Switching to a different H₀ moves the answer: with 73 the same galaxy lies at 7000 / 73 = 95.89 Mpc, and with 67.4 it lies at 103.86 Mpc. A higher assumed expansion rate always puts the galaxy closer.
Common mistakes
- Entering the redshift z instead of the velocity. The field takes km/s, so a redshift of 0.0233 must first be turned into about 7,000 km/s (z × 299,792 km/s) for small z.
- Entering the velocity in m/s or in fractions of c. The tool expects km/s, so 7,000,000 m/s typed as is gives a distance a thousand times too large.
- Using the linear law for very distant galaxies. A velocity of 150,000 km/s gives 2,142.86 Mpc here, but at that speed the expansion history and relativistic effects matter, so the result is not reliable.
- Treating the output as a precise distance. It scales as 1/H₀, and the commonly quoted values vary from about 67 to 73, so the answer carries several percent of uncertainty before the galaxy's own motion is considered.
- Entering a blueshifted (approaching) object as a negative velocity. Negative values are rejected, and for nearby galaxies like Andromeda the Hubble law does not apply because local motion dominates.
About this calculator
This calculator applies Hubble's Law, v = H₀ × d (rearranged as d = v ⁄ H₀), to estimate the distance to a distant galaxy from its recession velocity — the speed at which it appears to be moving away from us, usually derived from the redshift of its light. H₀, the Hubble constant, describes how fast the universe is expanding, expressed in kilometres per second per megaparsec.
Edwin Hubble's 1929 discovery that farther galaxies recede faster was the first direct observational evidence for an expanding universe, and it remains a cornerstone of observational cosmology. Because H₀ itself is still measured slightly differently by different methods (roughly 67–73 km/s/Mpc — the ongoing “Hubble tension”), this calculator lets you plug in a chosen value of H₀ alongside the recession velocity to get the resulting distance in megaparsecs and million light-years.
Was this helpful?
You can pick up to 3 reactions.
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
No calculators found
Comments (0)