Adjust the Hubble constant and galaxy distance to compute recession velocity, redshift and the age of the universe in real time. Explore the expansion of the universe and the puzzle of recession velocities faster than light.
Parameters
Results
Recession velocity v
—
Fraction of c (v / c)
—
Redshift z
—
Age of universe (1/H₀)
—
Hubble radius c/H₀
—
Hubble tension
—
Hubble diagram
Expanding universe
Redshift
Hubble diagram
Solid line: velocity–distance relation for H₀. Dashed: speed of light c. Yellow dot: selected galaxy.
Expansion
Sketch of cosmic expansion: from every point, everything else recedes.
Redshift
Redshift
Theory & Key Formulas
\(v = H_0 \cdot d\)
\(z = v/c\) (low-velocity approximation)
Age of the universe \(t_H = 1/H_0\)
\(H_0 = 70\) km/s/Mpc → \(t_H \approx 14\) Gyr
💬 A Conversation about Hubble's Law
🙋
People say the universe is expanding. Does that mean something is exploding "outward"?
🎓
No, that is a common misconception. The universe has no "centre" and no "outside". Just as every point on the surface of a balloon moves away from every other point as you inflate it, three-dimensional space itself is stretching uniformly. That is why, wherever you are, all the galaxies around you appear to recede. It does not mean the Earth is the centre of the universe.
🙋
I heard that sufficiently distant galaxies recede faster than light. Doesn't that contradict relativity?
🎓
It does not. Special relativity says that an object cannot move through space faster than light. In an expanding universe it is space itself that stretches – and general relativity allows that. Galaxies beyond the Hubble radius c/H₀ (about 4,300 Mpc for H₀=70; see the "Hubble radius" card in the simulator) are receding faster than light at this very moment, yet their light, emitted in the past, still reaches us. The radius of the observable universe (about 14,000 Mpc) lies even further out.
🙋
I saw the "Hubble tension" in the news. What is the problem?
🎓
Two independent methods of measuring \(H_0\) disagree. The "cosmic distance ladder" built on Cepheid variables and type Ia supernovae gives about 73 km/s/Mpc, while analysis of the cosmic microwave background (CMB) gives about 67 km/s/Mpc. Both are precise, and the gap cannot be explained by their uncertainties. A discrepancy exceeding 5σ may point to "new physics" – the nature of dark energy or puzzles of the early universe.
🙋
How is the age of the universe, about 13.8 billion years, worked out?
🎓
The simplest estimate is \(t_H = 1/H_0\). With \(H_0 = 70\) km/s/Mpc this gives about 14 billion years. More precisely, a cosmological integral including the fractions of dark energy and dark matter (the Ω parameters) gives about 13.8 billion years. The pattern of temperature fluctuations in the CMB is an independent clue to the age as well.
Frequently Asked Questions
A larger Hubble constant makes a galaxy at the same distance recede faster and raises its redshift. The approximate age of the universe (1/H₀) also becomes shorter, so you experience a faster-expanding universe.
Even when the recession velocity exceeds the speed of light, the light emitted by the galaxy travels along with the expanding space and eventually reaches Earth. Note that this simulator computes z with the low-velocity approximation z≈v/c, so where v approaches c (d close to c/H₀) the value is only indicative. The exact cosmological redshift requires integrating the expansion history.
The z in this tool is the low-velocity approximation v/c, and even at the maximum of the range (H₀=100, d=4,000 Mpc) it only reaches z≈1.33. Above z≈0.1 the error of the approximation grows, so reduce d or lower H₀ and keep to roughly z<0.1 as a guide.
Not directly, but by changing the Hubble constant you can feel the difference between the values obtained by different observation methods (early universe versus nearby universe). Comparing how the age of the universe changes between H₀=67 and 73, for example, gives a glimpse of the problem.
How are dark energy and the Hubble constant related?
Dark energy (the cosmological constant Λ) makes the expansion of the universe accelerate. The present universe consists of about 68% dark energy, 27% dark matter and 5% ordinary matter (Ω_Λ≈0.68). Because of the acceleration, H₀ has changed over cosmic history, and its present value differs from past values.
How far is 1 Mpc (megaparsec)?
1 pc (parsec) ≈ 3.26 light-years. 1 Mpc = 10⁶ pc ≈ 3.26 million light-years ≈ 3.09×10²² m. The Andromeda galaxy is about 0.78 Mpc away, the Local Group is about 5 Mpc across, and the radius of the observable universe is about 14,000 Mpc.
Does the universe have an "edge"?
The radius of the observable universe is about 46 billion light-years (comoving distance, allowing for expansion), but the universe as a whole may be far larger, or infinite. It is not an "edge" but an "observation limit": the distance light could travel in 13.8 billion years marks the boundary of the observable universe. Inflation theory holds that the universe is vastly larger than the observable part.
How are redshift z and distance converted?
In the low-velocity approximation (v ≪ c), z ≈ v/c = H₀d/c. Relativistically, z = √((1+β)/(1−β)) − 1 with β=v/c. For cosmological redshift the stretching of space a(t) gives z+1 = a(now)/a(emission). A galaxy at z=1 is about 10 billion light-years away (depending on the observations).
About the Hubble's Law Simulator
In the physical model of the Hubble's law simulator, the observed recession velocity \(v\) of a galaxy and its distance \(d\) from Earth obey the linear relation \(v = H_0 d\), where \(H_0\) is the Hubble constant, the present expansion rate of the universe. The relation implies that the universe expands homogeneously and isotropically. In the simulator, adjusting \(H_0\) recomputes the recession velocity of a galaxy at any distance in real time. The redshift \(z\) is obtained with the low-velocity approximation \(z \approx v/c\). Beyond the distance \(d = c/H_0\) (the Hubble radius), where the recession velocity reaches the speed of light, the formula gives \(z>1\), but the approximation no longer holds; the correct cosmological redshift is defined from the expansion history \(a(t)\) as \(1+z = a_{\text{now}}/a_{\text{emit}}\). The approximate age of the universe is \(t \approx 1/H_0\), the basis for tracing the expansion history backwards. Through these formulas you can grasp intuitively the geometry of cosmic expansion and the limits of observation.
Real-World Applications
Distance estimation in galaxy surveys Obtaining v≈cz from the spectroscopic redshift z and converting it to distance with Hubble's law, d=v/H₀, is the basic procedure of large surveys that handle hundreds of thousands to millions of galaxies. Nearby, the peculiar motions of galaxies (a few hundred km/s) become an error source; far away the low-velocity approximation fails and the conversion switches to a cosmological model. The linear d–v relation in this simulator is the first step of that chain.
Determining cosmological parameters H₀ directly affects estimates of the age of the universe, the size of the observable universe and the dark-energy density. The gap between the H₀ from the distance ladder of Cepheids and type Ia supernovae and the H₀ from the cosmic microwave background (the Hubble tension) is a central issue of modern cosmology; the "Comparison H₀ (2)" input in this tool lets you see side by side how much the velocity–distance relation and the age change between two values.
Education and outreach In high-school and university astronomy classes and planetarium shows, moving H₀ and the distance while watching recession velocity, redshift and the 1/H₀ age change together quickly conveys the intuitions that "expansion has no centre" and "the farther, the faster". Watching the Hα line move to longer wavelengths in the redshift tab connects the idea to real spectroscopic observation.
Common Misconceptions and Pitfalls
It is tempting to think that "if a galaxy recedes faster than light, its light cannot reach Earth". In fact the cause is the stretching of space itself through the expansion of the whole universe; the galaxy is not moving at light speed. Light emitted early in the expansion by galaxies now receding faster than light therefore keeps arriving today.
It is also tempting to think that "the Hubble constant directly gives the age of the universe". In fact the reciprocal 1/H₀ is only an approximation; in the present accelerating universe, the exact age requires a more involved calculation that accounts for dark energy. Note that simply computing 1/H₀ in the simulator does not reproduce the actual age of the universe.
It is easy to misread "the farther the galaxy, the larger its recession velocity" as "distant galaxies move fast". In fact, because the whole universe expands uniformly, a more distant galaxy simply has more space between it and the observer, and the recession velocity only appears large as the cumulative effect of that expanding space. It must be interpreted separately from the galaxy's own peculiar motion (motion driven by local gravity).
Set the Hubble constant H₀ between 50 and 100 km/s/Mpc; current measurements lie around 67–74 km/s/Mpc
Enter the galaxy distance d between 10 and 4,000 Mpc (steps of 10 Mpc) to specify the distance from Earth to the observed galaxy
Enter a different value in Comparison H₀ (2) (for example 67 and 73): a second dashed velocity–distance line appears in the Hubble diagram and the "Hubble tension" card shows the difference between the two H₀ values
Worked Example
At the defaults d=200 Mpc and H₀=70 km/s/Mpc the recession velocity is v=14,000 km/s (4.7% of the speed of light), the redshift z≈0.0467, the age 1/H₀≈14.0 Gyr and the Hubble radius c/H₀≈4,283 Mpc. Setting H₀ to 73 gives v=14,600 km/s (+4.3%) and shortens the age to 13.4 Gyr. Extending d to 4,000 Mpc gives v=280,000 km/s (93% of c), and with H₀=100 it reaches 400,000 km/s (133%), exceeding the speed of light – an apparent velocity caused by the expansion of space.
Practical Notes
Measured values of H₀ differ by about 9% between the type Ia supernova distance ladder (about 73 km/s/Mpc) and CMB analysis (about 67 km/s/Mpc). Enter both in Comparison H₀ (2) to check the difference in velocity and in the age of the universe (14.6 Gyr versus 13.4 Gyr)
The z=v/c of this tool is an approximation valid up to roughly z<0.1. Beyond that, relativistic and cosmological redshift calculations are needed, and the values where d exceeds c/H₀ (z>1) are only a formal guide
Superluminal recession does not occur on local scales; it is an apparent separation caused by cosmic expansion. d×H₀ exceeding c=299,792 km/s does not contradict the laws of physics