Discover
Random

Hubble's Law Calculator

Apply v = H₀ × d to find a galaxy's recession velocity or distance, with an adjustable Hubble constant reflecting real measurement uncertainty.

70.0
H₀

The Hubble constant is still debated — measurements range roughly 67–73 km/s/Mpc, a discrepancy known as the "Hubble tension." Adjust the slider to see its effect.

Free Hubble's Law Calculator

Want to see the expanding universe in action? Our free Hubble's Law Calculator applies v = H₀ × d to find how fast a galaxy is receding from us based on its distance, or work backward from a measured velocity to find distance. Adjust the Hubble constant across its real measured range (67–73 km/s/Mpc) to see how the ongoing "Hubble tension" debate affects the numbers.

Enter a distance in megaparsecs, million light-years, or light-years, and get recession velocity in km/s — plus a comparison to the speed of light for very distant objects. A few real preset galaxies help ground the numbers, along with a note on why Andromeda is a special exception that's actually moving toward us.

No sign-up, no downloads, no limits. See the About and FAQ sections below for more.

About the Hubble's Law Calculator

How It Works & Methodology

Edwin Hubble's 1929 observation that distant galaxies recede faster the farther away they are became one of the first pieces of evidence for an expanding universe. This tool applies that relationship, v = H₀ × d, letting you solve for either recession velocity or distance, with the Hubble constant adjustable across its real measured range to reflect ongoing scientific debate.

Features

Solve for distance or velocity

Switch direction depending on which quantity you already know.

Adjustable Hubble constant

Slide across the real measured range (67–73 km/s/Mpc) to see the Hubble tension's effect on results.

Unit handling for Mpc/ly

Enter distance in megaparsecs, million light-years, or light-years.

v/c comparison

See recession velocity as a fraction of the speed of light for very distant galaxies.

Authoritative Sources & Standards

  1. NASA Goddard Space Flight Center — Planetary Fact Sheet & Orbital Parameters — National Aeronautics and Space Administration (NASA)
  2. IAU 2015 Resolution B2 & B3 on Nominal Solar/Planetary Constants and Astronomical Units — International Astronomical Union (IAU)

Frequently Asked Questions

What is Hubble's law?

A relation stating that a galaxy's recession velocity is proportional to its distance from us: v = H0 × d.

How does this calculator work?

Enter either distance or recession velocity, choose a Hubble constant value, and it solves for the missing quantity.

What is the Hubble constant?

A measure of the universe's expansion rate, roughly 67–73 km/s per megaparsec depending on the measurement method — a discrepancy known as the Hubble tension.

Why is Andromeda not included as a typical example?

Andromeda is gravitationally bound to the Milky Way and actually approaching us, so Hubble's law, which describes large-scale cosmic expansion, doesn't apply to it.

Can I use light-years instead of megaparsecs?

Yes, distance can be entered in Mpc, million light-years, or light-years.

What does v/c mean in the results?

It shows the recession velocity as a fraction of the speed of light, useful for very distant, fast-receding galaxies.

What happens with negative distance or velocity?

The calculator rejects negative values with a clear message.

Embed Hubble's Law Calculator

Copy and paste this HTML snippet to embed this interactive calculator on your website or blog:

Discover more tools

Surprise me