Hubble Distance Calculator Formula
Understand the math behind the hubble distance calculator. Each variable explained with a worked example.
Formulas Used
Distance
distance_mpc = velocity / hubble_constantDistance (Mly)
distance_mly = velocity / hubble_constant * 3.26156Variables
| Variable | Description | Default |
|---|---|---|
velocity | Recession Velocity(km/s) | 7000 |
hubble_constant | Hubble Constant (H0)(km/s/Mpc) | 70 |
How It Works
Hubble's Law
v = H0 × d or equivalently d = v / H0
This linear relation holds well for galaxies not too far away (z < 0.1). For larger distances, cosmological models are needed.
Worked Example
A galaxy recedes at 7 000 km/s with H0 = 70 km/s/Mpc.
velocity = 7000hubble_constant = 70
- 01d = v / H0 = 7000 / 70 = 100 Mpc
- 02In Mly: 100 × 3.262 = 326.2 million light-years
Ready to run the numbers?
Open Hubble Distance Calculator