Hubble Law Distance Calculator

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

Galaxy Distance from Hubble's Law
Use the low-redshift relation velocity equals Hubble constant times distance.

About Hubble's Law

Hubble's law expresses the observed relationship between a distant galaxy's recession velocity and its distance. In its simplest form, velocity equals the Hubble constant multiplied by distance. A galaxy with a larger cosmological recession velocity is generally farther away because space between large-scale structures expands. This calculator rearranges the relation to distance equals velocity divided by the Hubble constant, with velocity in kilometers per second and distance in megaparsecs. The Hubble constant describes today's expansion rate and is conventionally stated in kilometers per second per megaparsec. A value of 70 means that, on average, recession velocity increases by about 70 kilometers per second for each additional megaparsec of distance. Measurements using different methods do not all produce exactly the same value. The editable field supports classroom assumptions and comparisons among published estimates rather than asserting that one measurement resolves the current observational tension. The calculator also converts megaparsecs to million light-years using approximately 3.26156 million light-years per megaparsec. Approximate redshift is shown as velocity divided by the speed of light. That simple redshift relationship is useful only when recession velocity is small compared with light speed. The reported Hubble time, calculated as the reciprocal expansion rate after unit conversion, is a characteristic timescale. It is not a precise standalone determination of the universe's age because cosmic expansion has changed over time. Hubble's linear law is most useful for galaxies participating in the smooth cosmic expansion at relatively low redshift. Nearby galaxies have peculiar velocities caused by local gravitational interactions, which can be comparable to or larger than their Hubble-flow velocity. The Andromeda galaxy, for example, approaches the Milky Way even though the universe expands overall. At high redshift, astronomers use a cosmological model and integrate the expansion history rather than applying this simple division. Treat the result as an educational estimate. Reliable distance work requires a recession velocity corrected to a suitable reference frame, uncertainty estimates, and often independent distance indicators. Modern cosmology additionally considers matter density, dark energy, spatial geometry, relativistic redshift, and changing scale factor. Even with those limits, Hubble's law remains a clear introduction to the evidence for an expanding universe and a useful quick check for low-redshift distance scales.

Hubble Law Examples

Velocity and Hubble constantEstimated distanceInterpretation
2000 km/s and 70 km/s/Mpc28.57 Mpc or 93.19 million light-yearsLow-redshift galaxy estimate
7000 km/s and 70 km/s/Mpc100 Mpc or 326.16 million light-yearsDirect Hubble-flow example
3500 km/s and 67.4 km/s/Mpc51.93 Mpc or 169.39 million light-yearsComparison using a lower Hubble constant

How to Use the Hubble Law Calculator

  1. Enter the galaxy's corrected recession velocity in kilometers per second.
  2. Enter the Hubble constant appropriate for your exercise or analysis.
  3. Select Calculate Galaxy Distance to apply distance equals velocity divided by the Hubble constant.
  4. Review the megaparsec, light-year, redshift, and Hubble-time estimates with the model limitations in mind.

Frequently Asked Questions

What value should I use for the Hubble constant?

Use the value specified by your source, course, or cosmological analysis. Different modern measurement methods produce values broadly in the high sixties to low seventies km/s/Mpc.

Is the Hubble time the exact age of the universe?

No, it is the reciprocal of the current expansion rate expressed as a time. A precise age estimate depends on how expansion changed with matter, radiation, and dark energy.

Why can nearby galaxies violate Hubble's law?

Local gravitational motion adds a peculiar velocity to the smooth cosmic expansion. For nearby objects, that local component can dominate the measured radial velocity.

Does recession faster than light violate relativity?

At very large distances, recession describes expansion of space rather than ordinary motion through local space. General relativity allows the distance between sufficiently separated regions to grow faster than light without local objects overtaking light.

Can I use this formula at high redshift?

The simple linear formula and redshift approximation become inaccurate at high redshift. Cosmological distance calculations then require model parameters and integration over expansion history.