Hubble's Law simulator Back

Hubble's Law simulator

Manipulate Hubble constant and galaxy distance to calculate recession velocity, redshift, and universe age in real time. Explore cosmic expansion and the mystery of recession velocities exceeding the speed of light.

parameters

Live values (universe expanding)
Hubble constant H₀
Recession velocity v = H₀·d
v / c ratio
Redshift z
Age of universe (1/H₀)
Observable radius
Scale factor a(t)
Hubble tension
Expanding-universe animation — there is no center
Recession velocity arrow (longer = farther) Hubble line v=H₀·d Distant = redshifted
Theory & Key Formulas

$v = H_0 \cdot d$ (velocity proportional to distance)
$z = v/c$ (low-speed approximation)
age $t_H = 1/H_0$
$H_0 = 70$ km/s/Mpc → $t_H \approx 14$ Gyr, $d=100$ Mpc → $v=7000$ km/s

💬 Conversation about Hubble's Law

🙋
You say the universe is expanding — does that mean something is exploding outward into empty space?
🎓
No — that's a common misconception. The universe has no "center" and no "outside." Like dots on the surface of an inflating balloon, every point moves away from every other point: 3D space itself stretches uniformly. So from any galaxy, all the others appear to recede. Earth is not a special center.
🙋
I heard that galaxies far enough away recede faster than light. Doesn't that contradict relativity?
🎓
It doesn't. Special relativity forbids objects moving through space faster than light. In an expanding universe, space itself stretches — which general relativity allows. Galaxies beyond about 14,000 Mpc recede faster than light right now, yet light they emitted in the past still reaches us. That's what "observable universe" means.
🙋
I saw "Hubble tension" in the news. What's the issue?
🎓
Two independent methods give different values of $H_0$. The cosmic distance ladder (Cepheids + Type Ia supernovae) gives about 73 km/s/Mpc, while the cosmic microwave background (CMB) gives about 67 km/s/Mpc. Both are precise, so the gap — over 5σ — can't be explained by error. It may point to "new physics" in dark energy or the early universe.
🙋
How do we know the universe is about 13.8 billion years old?
🎓
The simplest estimate is $t_H = 1/H_0$. With $H_0 = 70$ km/s/Mpc that gives about 14 billion years. A more accurate value comes from a cosmological integral including the dark-energy and dark-matter fractions (the Ω parameters), giving about 13.8 billion years. The CMB temperature-fluctuation pattern is an independent clock.

Frequently Asked Questions

How is dark energy related to the Hubble constant?

Dark energy (the cosmological constant Λ) accelerates the expansion. The present universe is about 68% dark energy, 27% dark matter, and 5% ordinary matter (Ω_Λ≈0.68). Because the expansion accelerates, H₀ changes over cosmic history, so today's 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 spans about 5 Mpc, and the Hubble radius is about 14,000 Mpc.

Does the universe have an "edge"?

The observable universe has a comoving radius of about 46 billion light-years, but the whole universe may be far larger (possibly infinite). It is not an "edge" but an "observation limit" — the distance light can travel in 13.8 billion years. Inflation suggests the universe is much larger than the part we can see.

How do you convert redshift z and distance?

In the low-speed limit (v ≪ c), z ≈ v/c = H₀d/c. Relativistically, z = √((1+β)/(1−β)) − 1 with β = v/c. For cosmological redshift, 1+z = a(now)/a(emission). A galaxy at z = 1 is roughly 10 billion light-years away (model-dependent).

What is the Hubble's Law Simulator?

Hubble Law simulator is a fundamental topic in engineering and applied physics. This interactive simulator lets you explore the key behaviors and relationships by directly manipulating parameters and observing real-time results.

By combining numerical computation with visual feedback, the simulator bridges the gap between abstract theory and physical intuition — making it an effective learning tool for students and a rapid-verification tool for practicing engineers.

Physical model & Key Equations

The simulator is based on the governing equations behind Hubble's Law simulator. Understanding these equations is key to interpreting the results correctly.

Each parameter in the equations corresponds to a slider in the control panel. Moving a slider changes the equation's solution in real time, helping you build a direct connection between mathematical expressions and physical behavior.

Real-World Applications

Engineering Design: The concepts behind Hubble's Law simulator are applied across mechanical, structural, electrical, and fluid engineering disciplines. This tool provides a quick way to estimate design parameters and sensitivity before committing to full CAE analysis.

Education & Research: Widely used in engineering curricula to connect theory with numerical computation. Also serves as a first-pass validation tool in research settings.

CAE Workflow Integration: Before running finite element (FEM) or computational fluid dynamics (CFD) simulations, engineers use simplified models like this to establish physical scale, identify dominant parameters, and define realistic boundary conditions.

Common Misconceptions and Points of Caution

model assumptions: The mathematical model used here relies on simplifying assumptions such as linearity, homogeneity, and isotropy. Always verify that your real system satisfies these assumptions before applying results directly to design decisions.

Units and scale: Many calculation errors arise from unit conversion mistakes or order-of-magnitude errors. Pay close attention to the units shown next to each parameter input.

Validating results: Always sanity-check simulator output against physical intuition or hand calculations. If a result seems unexpected, review your input parameters or verify with an independent method.

How to Use

  1. Set the Hubble constant (H₀) using h0slider or enter a value in h0ValNum between 60–75 km/s/Mpc, representing the current expansion rate of the universe
  2. Input the distance (d) via dslider or dValNum in megaparsecs (Mpc); typical galaxies range from 10–1000 Mpc for observational surveys
  3. Adjust h0bslider or h0bValNum to model alternative H₀ estimates from different measurement methods (Cepheid variables vs. CMB constraints), then observe how recession velocity v = H₀ × d changes across the parameter space

Worked Example

Consider a distant galaxy at d = 100 Mpc with H₀ = 70 km/s/Mpc (local value from Hubble Space Telescope calibration). The recession velocity is v = 70 × 100 = 7000 km/s, or approximately 0.023c. If tension-driven measurements yield H₀ = 73 km/s/Mpc (Cepheid-SN1a ladder), the same galaxy shows v = 7300 km/s, a 4.3% discrepancy highlighting the Hubble tension crisis affecting cosmological distance scales.

Practical Notes

  1. H₀ measurements from local anchors (SNe Ia, Cepheids) typically range 72–74 km/s/Mpc, while Planck CMB constraints suggest 67–68 km/s/Mpc; the 4.4σ tension drives the simulator's dual-slider design
  2. Redshift z can be recovered from recession velocity via z ≈ v/c at non-relativistic distances; for v > 0.1c, use the relativistic Doppler formula z = sqrt((1+β)/(1−β)) − 1 where β = v/c
  3. Systematic uncertainties dominate at d < 10 Mpc (peculiar motion contamination); use only d > 25 Mpc for robust H₀ inference in real cosmological surveys