Hubble's Law Calculator
Estimate the recession speed of a galaxy from its distance, or the distance from its speed, with a Hubble constant you can change.
These tools are for study and quick checking. A result is only as good as the numbers you enter and the simplifying assumptions in the formula. For published, regulated or safety-critical work, check it against a trusted source or an instrument.
How it works
- Enter your values in the boxes. Where a box has a unit beside it, check the unit before you read the answer.
- The answer updates as you type, so there is no button to press.
- Use Copy results to keep the answer. Check the formula and its limits below if the result will go into a report or an experiment.
The formula
v = H0 x d, with H0 about 70 km/s per megaparsec
Frequently asked questions
What is the Hubble constant?
The rate at which the universe expands today. Measurements give values near 67 to 74 km/s/Mpc.
Does it work for nearby galaxies?
No. Local motion hides the expansion, so use it for galaxies farther than about 50 million light years.
Is what I enter sent anywhere?
No. The calculation is done in your browser, so your numbers are not sent to a server or saved.
Related tools
Redshift Calculator
Find the redshift z from observed and rest wavelengths, with the recession speed as a fraction of the speed of light.
Star Distance Calculator
Find the distance to a star from its parallax angle, or from its apparent and absolute magnitude using the distance modulus.
Parsec Converter
Convert parsecs to light years, astronomical units, kilometres and metres, and back again.