Hubble's Law Calculator
Solve the classic Hubble–Lemaître relation v = H₀ · d for any of its three quantities — recession velocity, Hubble constant, or cosmic distance — with step-by-step math, a live expanding-universe schematic, a redshifted-spectrum panel, and companion cosmological metrics including Hubble time, Hubble radius, relativistic redshift, lookback time and distance modulus.
v is not a velocity through space
The single most misunderstood point about Hubble's Law is that the recession velocity v is not a proper motion of the galaxy through space. Space itself is expanding between us and the galaxy, and the redshift we measure is due to photons being stretched as they travel through the expanding metric. This is why galaxies can appear to recede faster than the speed of light — nothing is actually moving faster than c, but the metric between us and a sufficiently distant galaxy accumulates to a superluminal rate of expansion. The directly observable quantity is always the redshift z, not the velocity.
Linear only in the local universe
v = H₀ · d holds rigorously only for redshifts below about z = 0.1 (distances under about 400 Mpc). Beyond that, the relationship bends because of the contributions of matter and dark energy to the expansion history. At z = 1 the actual distance is nearly twice what a naive linear extrapolation would predict; at z = 6 the discrepancy is a factor of five or more. Cosmologists therefore work with a full Friedmann–Lemaître model, and use the quantity H(z) = ȧ/a to describe the instantaneous expansion rate at redshift z.
Hubble time is not the age of the universe
The reciprocal of the Hubble constant, t_H = 1/H₀, has units of time and evaluates to about 13.97 Gyr for H₀ = 70. It is a natural timescale, but it is not the age of the universe — the age is about 13.8 Gyr, tantalisingly close but not identical. The agreement is a coincidence of our present epoch: for a flat universe with matter and dark energy, the age comes out to ≈ 0.964 · t_H, which is why the numbers are so similar. In a universe dominated by matter alone, the age would be 2/3 · t_H; in a universe dominated by dark energy, it would be infinite in the distant future.
The Hubble tension is real and unsolved
Two independent measurement techniques give H₀ values that disagree at the 5σ level. The early-universe method — fitting the Planck satellite's CMB data to the standard ΛCDM cosmological model — gives 67.4 ± 0.5 km/s/Mpc. The late-universe method — calibrating Cepheid variables in the Milky Way, then supernovae in distant galaxies — gives 73.0 ± 1.0 km/s/Mpc. Either there is an unknown systematic error in one of the measurement chains, or the standard cosmological model is missing something. Resolving this tension is one of the highest priorities of contemporary cosmology, and is a central science driver for the JWST, the Nancy Grace Roman Space Telescope, and next-generation ground-based observatories.
How to Use This Calculator
The Hubble–Lemaître relation links three quantities: v, H₀, and d. Pick which one you want the tool to solve, then fill in the other two.
1. Choose what to solve for
Pick v, H₀, or d from the toggle. The calculator rearranges v = H₀ · d automatically — including H₀ = v/d when you have a measured velocity and distance, and d = v/H₀ for the cosmic distance ladder.
2. Use realistic presets
Velocity presets cover local galaxies (300 km/s) through quasars (250,000 km/s). H₀ presets span the modern tension range (Planck 67.4, SH0ES 73.0, Freedman 69.8) plus the classic Hubble 1929 value of 500. Distance presets run from Andromeda-like locals (1 Mpc) to the Hubble radius (4,283 Mpc).
3. Match units carefully
The calculator works internally in the standard astronomical units: v in km/s, H₀ in km/s/Mpc, d in Mpc. If you have a redshift z instead of a velocity, use the H₀ note below to convert: v ≈ c·z for z < 0.1, or the relativistic formula for larger z.
4. Read the result and verdict
The result card shows the solved quantity, the other two quantities as context, and the implied redshift and companion metrics. A colour-coded badge classifies the regime from local (linear Hubble) through the intermediate-z zone up to the high-redshift regime where the linear law begins to fail.
5. Check the expansion schematic and spectrum panel
The diagram shows the classic "expanding grid" picture with velocity arrows growing linearly outward from the observer, and a companion panel showing how the Hα absorption line shifts redward by a factor of (1 + z).
6. Switch to Advanced for depth
Advanced mode adds a velocity vs H₀ chart, a Hubble time & radius chart, sensitivity metrics, and companion cosmological data including Hubble time, Hubble radius, relativistic redshift, distance modulus, lookback time and total light travel distance.
What This Tool Offers
Built around the classic Hubble–Lemaître relation v = H₀ · d, the empirical foundation of modern cosmology.
Three-way solving
Solve for recession velocity, Hubble constant, or cosmic distance. The calculator rearranges v = H₀ · d for whichever variable you choose.
Live expanding-universe schematic
A grid of galaxies receding from the observer with arrow lengths proportional to distance — the classic visual that makes the Hubble flow intuitive.
Redshifted-spectrum panel
A companion panel showing the rest-frame Hα line at 656.28 nm and its observed position at λ(1 + z), with the shift labelled by the calculated redshift.
Derived hints everywhere
Each field shows the value converted to related units — v as a fraction of c and as a relativistic z; H₀ as a Hubble time and radius; d in Mly and in Gyr of light-travel time.
Three linked charts
A classical velocity–distance Hubble diagram for three H₀ values, velocity vs H₀ for three distances, and the Hubble time & radius curves as functions of H₀.
Reference tables
A table of the major H₀ measurements and the Hubble tension, a redshift-distance-velocity lookup grid, and a variable reference for the standard cosmological relations.
Reference Tables & Conversions
An H₀ measurement timeline, a redshift–velocity–distance lookup grid, and a variable reference.
Hubble constant measurements — the Hubble tension
| Year | Team / method | H₀ (km/s/Mpc) | Uncertainty | Notes |
|---|---|---|---|---|
| 1929 | Hubble (Cepheids) | ~500 | factor of ~2 | Original discovery paper; badly miscalibrated |
| 1952 | Baade (RR Lyrae) | ~250 | ~30% | Halved Hubble's value by recalibrating Cepheids |
| 1975 | Sandage & Tammann | ~50 | ~20% | Long-distance-scale tradition |
| 1994 | HST Key Project (Freedman) | 72 | ± 8 | Resolved decades-long factor-of-2 dispute |
| 2001 | WMAP 1-year | 72 | ± 5 | CMB acoustic peaks |
| 2013 | Planck 2013 | 67.3 | ± 1.2 | ΛCDM fit to full CMB sky |
| 2018 | Planck 2018 (final) | 67.4 | ± 0.5 | Early-universe measurement |
| 2019 | SH0ES (Riess) | 74.0 | ± 1.4 | Cepheid + SNe Ia ladder |
| 2021 | Freedman (TRGB) | 69.8 | ± 1.7 | Tip of the red giant branch calibration |
| 2022 | SH0ES (Riess) | 73.0 | ± 1.0 | Refined Cepheid photometry |
| 2023 | ACT + WMAP | 67.6 | ± 0.5 | Independent CMB confirmation |
| — | Tension | 5.0σ | — | Early (67.4) vs late (73.0) unresolved |
Redshift–Velocity–Distance Lookup (H₀ = 70 km/s/Mpc)
Computed from v = H₀ · d with H₀ = 70 km/s/Mpc. The relativistic redshift column shows where the classical linear formula begins to break down.
| Distance d (Mpc) | v = H₀d (km/s) | zclassical = v/c | zrel | Lookback (Gyr) | Distance modulus |
|---|---|---|---|---|---|
| 1 | 70 | 0.00023 | 0.00023 | 0.0033 | 25.00 |
| 10 | 700 | 0.00233 | 0.00234 | 0.0326 | 30.00 |
| 50 | 3,500 | 0.01168 | 0.01175 | 0.163 | 33.49 |
| 100 | 7,000 | 0.02335 | 0.02363 | 0.326 | 35.00 |
| 400 | 28,000 | 0.09340 | 0.09813 | 1.304 | 38.01 |
| 1,000 | 70,000 | 0.2335 | 0.2711 | 3.26 | 40.00 |
| 2,000 | 140,000 | 0.4670 | 0.7458 | 6.52 | 41.51 |
| 4,283 (= c/H₀) | 299,792 (= c) | 1.000 | →∞ | 13.97 | 43.16 |
Variable Reference
| Symbol | Meaning | Typical range | Units |
|---|---|---|---|
| v | Recession velocity from Hubble flow | 10 – 300,000 | km/s |
| H₀ | Hubble constant (present-day expansion rate) | 50 – 100 | km/s/Mpc |
| d | Proper distance to the galaxy | 1 – 10,000 | Mpc |
| z | Cosmological redshift | 0 – 10+ | dimensionless |
| c | Speed of light | 299,792.458 | km/s |
| tH | Hubble time, 1/H₀ | 10 – 20 | Gyr |
| RH | Hubble radius, c/H₀ | 3,000 – 6,000 | Mpc |
| μ | Distance modulus, 5 log₁₀(d/10 pc) | 25 – 45 | mag |
| tlb | Lookback time (low-z approximation) | 0 – 14 | Gyr |
What Does v = H₀ · d Measure?
Hubble's Law connects three quantities that every cosmologist works with: the recession velocity of a distant galaxy (v), the present-day expansion rate of the universe (H₀), and the distance to the galaxy (d). Together they define the simplest possible relationship between cosmic distance and cosmological redshift — a relationship so robust that Edwin Hubble's 1929 discovery paper, despite using a Hubble constant that was wrong by a factor of seven, is still recognisable as the correct law today.
The law is the observational foundation of the expanding-universe picture. Before Hubble, astronomers debated whether the spiral "nebulae" were nearby objects within the Milky Way or distant "island universes" like our own galaxy. Hubble's measurements of Cepheid variables in Andromeda and other spirals settled the question in 1924, and his subsequent discovery of the velocity–distance correlation showed that the universe is not static — it is expanding. Nearly a century later, refining the exact value of H₀ remains one of the most active areas of observational cosmology.
Hubble's Law Formula
The defining relationship is:
where v is the recession velocity in km/s, H₀ is the Hubble constant in km/s/Mpc, and d is the distance in Mpc. Rearranged to solve for the other two unknowns:
d = v / H₀
Related quantities that follow from the Hubble constant:
Hubble radius: RH = c/H₀ = 299,792.458 / H₀ (Mpc)
Classical redshift: z ≈ v/c (valid for z < 0.1)
Relativistic redshift: z = √((1+β)/(1−β)) − 1, β = v/c
Distance modulus: μ = 5 log₁₀(dpc) − 5 = 5 log₁₀(dMpc) + 25
Lookback time (low-z): tlb ≈ d/c (roughly 3.26 Myr per Mpc)
Hubble's Law Variables
| Symbol | Meaning | Notes |
|---|---|---|
| v | Recession velocity | Metric-expansion rate, not a proper motion through space |
| H₀ | Hubble constant | Present-day expansion rate; in the 67 – 74 km/s/Mpc tension range |
| d | Proper distance | Comoving distance at the present epoch; in Mpc |
| z | Redshift | The directly observable quantity; z ≈ v/c for z < 0.1 |
| tH | Hubble time | 1/H₀ ≈ 14 Gyr; a natural timescale, not the age of the universe |
| RH | Hubble radius | c/H₀ ≈ 4,300 Mpc; not the edge of the observable universe |
How Each Variable Affects the Picture
The relationship is strictly linear in both H₀ and d, with all of the subtleties hidden in the meaning of the quantities. A galaxy twice as distant recedes twice as fast; a universe with a Hubble constant twice as large expands twice as fast at every distance. Only when we push to redshifts beyond about z = 0.1 does the relationship bend, and the bending is a signature of what the universe is made of: matter, radiation, and dark energy each leave a different imprint on the shape of the v–d curve.
The Hubble time tH = 1/H₀ is the natural timescale of the expansion. If H₀ were constant (which it is not — the expansion rate evolves with time), then 1/H₀ would be the time since the "Big Bang" when all distances were zero. In reality H₀ has changed through cosmic history: it was much larger in the past, when the universe was dominated by radiation and matter, and it is now dominated by dark energy, which is causing the expansion to accelerate. The present-day value happens to give 1/H₀ ≈ 14 Gyr, remarkably close to the actual age of the universe (13.8 Gyr), but this is a coincidence of our epoch rather than a fundamental relation.
The Hubble radius RH = c/H₀ ≈ 4,300 Mpc ≈ 14 billion light years is the distance at which the recession velocity equals the speed of light. It is not a horizon — light from beyond the Hubble radius can still reach us, and galaxies beyond it are not "moving faster than light" through space. The Hubble radius is simply the scale at which the metric expansion becomes super-luminal in the natural v = H₀ · d sense, and it plays an important role in the theory of cosmological horizons.
Understanding these three quantities — v, H₀, and d — is the first step towards understanding the full Friedmann–Lemaître–Robertson–Walker (FLRW) cosmology. Every prediction of the standard Big Bang model, from the CMB power spectrum to the abundance of light elements to the large-scale distribution of galaxies, ultimately traces back to the single observational fact that distant galaxies recede from us at a rate proportional to their distance.
Hubble's Law Calculation Examples
v = 70 × 100 = 7,000 km/s
H₀ = v / d = 7,000 / 100 = 70.0 km/s/Mpc
d = v / H₀ = 7,000 / 70 = 100 Mpc = 326 Mly
Hubble time tH = 977.79 / 70 = 13.97 Gyr
Hubble radius RH = 299,792.458 / 70 = 4,283 Mpc = 13.97 Gly
β = 30,000 / 299,792.458 = 0.10007
z = √(1.10007/0.89993) − 1 = √1.2224 − 1 = 0.10562
(classical z = v/c would give 0.10007 — a 5.5% error)
μ = 5 log₁₀(10⁸ pc) − 5 = 5×8 − 5 = 35.00 mag
A galaxy at d = 200 Mpc has v = 14,000 km/s → H₀ = 14,000 / 200 = 70.0 km/s/Mpc
Frequently Asked Questions
It says that the recession velocity of a distant galaxy is proportional to its distance from us. Double the distance, and the galaxy appears to recede twice as fast. The constant of proportionality is the Hubble constant H₀, which is currently measured to be about 70 km/s per megaparsec. The law was discovered observationally by Edwin Hubble in 1929 (building on earlier work by Georges Lemaître, Vesto Slipher, and others), and it provided the first evidence that the universe is expanding. It is the observational cornerstone of the Big Bang model, and its mathematical form — v = H₀ · d — appears in every introductory cosmology course in the world.
No, and this is the single most important subtlety of Hubble's Law. The redshift of a distant galaxy is not caused by the galaxy moving through space away from us — it is caused by space itself expanding between us and the galaxy, stretching the wavelength of the light as it travels. The "recession velocity" v is a convenient fiction: it is the velocity the galaxy would have if the redshift were caused by a Doppler shift in a static universe. In the expanding-universe picture, the galaxy is essentially at rest in its local frame — it is the space between us that is growing. This distinction matters enormously at high redshift, where v can exceed the speed of light without violating relativity, because no object is actually moving faster than c through space.
The Hubble tension is a persistent discrepancy between two independent measurements of H₀ that disagree at the 5σ level — a statistical mismatch so large that it is unlikely to be a chance fluctuation. The early-universe measurement uses the Planck satellite's map of the cosmic microwave background, fits it to the standard ΛCDM cosmological model, and infers H₀ = 67.4 ± 0.5 km/s/Mpc. The late-universe measurement uses the local distance ladder — Cepheid variable stars in the Milky Way calibrated geometrically, then Type Ia supernovae in distant galaxies calibrated by those Cepheids — and infers H₀ = 73.0 ± 1.0 km/s/Mpc. Either there is an unknown systematic in one of the measurement chains (a subtle error in the Cepheid calibration, or in the CMB modelling), or the standard cosmological model is incomplete and requires new physics. Resolving this tension is one of the highest priorities of contemporary cosmology.
For redshifts below about z = 0.1, corresponding to distances under about 400 Mpc, the linear relation v = H₀ · d is accurate to better than 5%. Beyond that, the effects of dark energy and matter on the expansion history become significant. At z = 0.5, the true distance is about 10% larger than the linear prediction; at z = 1, it is about 25% larger; at z = 6, it is more than a factor of 3 larger. To go beyond z = 0.1, cosmologists use the full Friedmann–Lemaître equation, which describes how the expansion rate H(z) evolves with redshift as a function of the matter density Ω_m, the dark energy density Ω_Λ, and the radiation density Ω_r.
Yes — in the sense of the metric expansion rate v = H₀ · d, not in the sense of proper motion through space. Galaxies beyond the Hubble radius R_H = c/H₀ ≈ 4,300 Mpc have v > c, but they are not "moving" through space at superluminal speeds. The expansion of the metric between us and them adds up to a rate that exceeds c, which is perfectly allowed in general relativity as long as no signal or object travels through space faster than c. The most distant galaxies we observe are currently receding from us at more than 3c in this metric-expansion sense, yet their light still reaches us because the Hubble radius is not a horizon — it has been growing, and light from beyond it can still make it to us through the expanding metric.
Not exactly — it is the natural timescale tH = 1/H₀, which evaluates to about 13.97 Gyr for H₀ = 70. The actual age of the universe, from the CMB and Big Bang nucleosynthesis, is 13.797 ± 0.023 Gyr. The two numbers are close — within 1.3% — but the agreement is a coincidence of our epoch. In a universe dominated by matter alone, the age would be (2/3) · t_H ≈ 9.3 Gyr. In a universe dominated by dark energy, the age would be infinite in the limit where dark energy has been dominant forever. The real universe has a mixture: about 5% ordinary matter, 27% dark matter, and 68% dark energy, which gives an age very close to t_H by accident of when we happen to be observing.
The Hubble constant is measured by building a "cosmic distance ladder" — a chain of calibrated distance indicators that extends step by step from the solar neighbourhood to the edge of the observable universe. The base rung is geometric parallax measured by the Gaia satellite, which calibrates the distances to nearby Cepheid variable stars. Cepheids are then used to calibrate the distances to nearby Type Ia supernovae, which are bright enough to be observed in galaxies at cosmological distances. The observed supernova redshifts then give H₀ through the slope of the v–d relation. Each rung of the ladder is calibrated against the one below it, and each must be corrected for interstellar extinction, Malmquist bias, peculiar velocities, and a dozen other subtle effects. The whole chain is fragile, which is why independent cross-checks (TRGB, masers, gravitational lensing time delays, tip of the red giant branch) are so valuable — and why the current tension with the CMB measurement is so hard to resolve.
Measuring H₀ to 1% precision is one of the hardest observational challenges in astronomy, because every step of the cosmic distance ladder introduces its own errors that are difficult to quantify and control. Cepheids are affected by crowding in the host galaxies, by dust extinction, and by metallicity differences between the calibrator and target samples. Type Ia supernovae are affected by intrinsic brightness variations, by the nature of their progenitor systems, and by the peculiar velocities of their host galaxies. Each of these effects is at the 1–5% level, and their combination limits the precision of the current measurements. The next generation of surveys — the Vera Rubin Observatory (LSST), the Nancy Grace Roman Space Telescope, and the European Extremely Large Telescope — should reduce the uncertainty to the 1% level and either confirm the Hubble tension or reveal it as a systematic error.
Variables
| Symbol | Quantity | Unit |
|---|---|---|
| v | Recession velocity | km/s |
| H₀ | Hubble constant | km/s/Mpc |
| d | Distance | Mpc |
What it means
Hubble’s law states that galaxies are receding from us with a velocity (v) proportional to their distance (d), with the constant of proportionality H₀ (Hubble constant). This was the first observational evidence for the expansion of the Universe. It is used to estimate distances to faraway galaxies (using redshift as a proxy for velocity). The Hubble constant is a key parameter in cosmology, influencing the age, size, and fate of the Universe. The law has been refined with more precise measurements and is fundamental to the ΛCDM model. Understanding Hubble’s law is essential for interpreting cosmological observations, for studying galaxy evolution, and for understanding the expansion history of the cosmos.
Worked example
Hubble's Law – Two Detailed Examples
Real‑World| Parameter | Value |
|---|---|
| H₀ (km/s/Mpc) | 67.4 |
| d (Mpc) | 100 |
| Parameter | Value |
|---|---|
| H₀ | 67.4 |
| d | 1500 |
Common mistakes
- Hubble’s law: Recession velocity v = H₀ × d – valid for distant galaxies in the expanding universe.
- Units: H₀ in km/s/Mpc, d in Mpc → v in km/s.
- H₀ value: ~70 km/s/Mpc (current best estimate) – not constant over time.
- Peculiar motion: Nearby galaxies may have random motions that dominate – Hubble’s law applies to large distances.
- Cosmological redshift: v is the recession velocity – not a true space velocity.
Applications
Hubble's law, v = H₀d, states that galaxies recede from us at a speed proportional to their distance, with the Hubble constant H₀ as the proportionality factor. This is the observational basis for the expanding universe and the Big Bang theory. Astronomers use it to measure cosmic distances, to map the large‑scale structure, and to study dark energy. By measuring redshift and distance, the expansion history of the universe can be determined. Hubble's law also allows the estimation of the age of the universe (Hubble time). This relation is essential for cosmology, guiding the interpretation of galaxy surveys and the cosmic microwave background. Understanding Hubble's law is fundamental to modern cosmology.
- Cosmic distance ladder and determination of extragalactic distances
- Study of the expansion rate and dark energy
- Derivation of the age and size of the observable universe
- Interpretation of galaxy redshift surveys
- Calibration of standard candles (e.g., supernovae)
Related calculators · Stellar Physics
Recently updated formulas
Suggest an improvement
Found a mistake? Have a better example? Let us know.
You may send up to 3 suggestions per 24 hours.