Hubble's Law Calculator

Estimate a galaxy's recession velocity from its distance using the Hubble law and a chosen Hubble constant.

Physics and EnergyUpdated 2026-11-182 min read
Hubble's Law Calculator
Common estimates sit near 70 km/s per Mpc.
Recession velocity
...
Distance used...
Hubble constant used...

What it does

Hubble law is the observation that distant galaxies recede from us at a speed proportional to their distance. The proportionality constant is called the Hubble constant, usually written with units of kilometres per second per megaparsec.

The arithmetic is a single multiplication. Enter a distance and a value for the constant, and the tool returns the recession velocity. Metric mode works in megaparsecs and kilometres per second. Imperial mode takes million light-years and reports miles per second.

The Hubble constant is not known to unlimited precision. Different measurements give values in the high sixties and low seventies, so the tool lets you set it yourself and shows the value used beside the answer. A change from 67 to 73 moves every result by about nine percent.

This simple linear law works well nearby. At large redshifts the expansion history of the universe matters, and a full cosmological model replaces the straight line. The result here is an estimate, not a measurement of any individual galaxy.

How to use

  1. Choose metric for megaparsecs and km/s, or imperial for million light-years and mi/s.
  2. Enter the galaxy distance in the units shown for that system.
  3. Enter the Hubble constant you want to use, in km/s per Mpc.
  4. Read the recession velocity in the main box.
  5. Check the distance and constant rows to confirm the inputs.
  6. Switch systems to see the same result in the other unit pair.

Formula

v = H0 x d, where v is recession velocity, H0 is the Hubble constant in km/s per Mpc, and d is distance in Mpc.
H0
Hubble constant, the velocity increase per megaparsec of distance.
d
Distance to the galaxy, in Mpc or converted from million light-years.
v
Recession velocity, in km/s or mi/s depending on the chosen system.

Imperial mode converts one megaparsec to 3.26156 million light-years and one kilometre to 0.621371 miles. The same Hubble constant is used in both systems, so switching units changes only the display. A zero rate or distance returns an error because the relation needs positive inputs.

Worked example

Example: a galaxy 100 Mpc away

Metric mode with a distance of 100 Mpc and a Hubble constant of 70 km/s per Mpc.

  1. Use the law: v = H0 x d.
  2. Substitute: v = 70 x 100 = 7,000 km/s.
  3. Tool shows 7,000 km/s in metric mode.
  4. Distance in light-years: 100 x 3.26156 = 326.156 million light-years.
  5. Imperial check: 7,000 / 1.609344 = 4,349.60 mi/s.
  6. The same distance and constant drive both displays.

Reference table

Recession velocity at a Hubble constant of 70 km/s per Mpc
Distance (Mpc)Distance (million ly)Velocity (km/s)Velocity (mi/s)
1032.6700434.96
50163.13,5002,174.80
100326.27,0004,349.60
5001,630.835,00021,747.99
1,0003,261.670,00043,495.98

Limits

  • A linear approximation that fails at large cosmological distances.
  • Peculiar motion of a galaxy is ignored.
  • Depends on a Hubble constant that is still measured with uncertainty.
  • Assumes distance and velocity are measured in the same reference frame.

Common mistakes

  • Treating recession velocity as motion through space rather than expansion of space.
  • Using megaparsecs where the tool expects million light-years.
  • Forgetting to state which Hubble constant was used.
  • Applying the linear law to very distant galaxies without a cosmological model.

Try it yourself

Quick checks. Answers sit tucked under each question.

A galaxy is 50 Mpc away and H0 is 70. What is its recession velocity?

70 x 50 = 3,500 km/s, about 2,175 mi/s.

Convert 100 Mpc to million light-years.

100 x 3.26156 = 326.156 million light-years.

If velocity is 7,000 km/s at 70 km/s per Mpc, what is the distance?

7,000 / 70 = 100 Mpc.

Questions

What is Hubble law?

The rule that a galaxy recedes at a speed proportional to its distance, written v = H0 times d.

What is the Hubble constant?

The slope of that relation, usually quoted near 70 km/s per Mpc.

Why do different sources give different values?

Different measurement methods reach values in the high sixties and low seventies, and the topic is still studied.

Can recession velocity exceed the speed of light?

At great distances the linear formula can, which is why a full cosmological model is needed there.

What is a megaparsec?

One million parsecs, about 3.26 million light-years.

Does this include a galaxy's own motion?

No. Local motions add small deviations to the smooth Hubble flow.

Sources

How this page was checked. The formula above was matched against the cited sources, and the worked example was run through the tool on this page before publishing. If you spot an error, contact us so we can fix it and note the correction.