Comoving Distance Calculator Formula
Understand the math behind the comoving distance calculator. Each variable explained with a worked example.
Formulas Used
Comoving Distance
comoving_dist_mpc = (2.998e5 * redshift) / hubble_constantDistance (Mly)
comoving_dist_mly = (2.998e5 * redshift) / hubble_constant * 3.2616Variables
| Variable | Description | Default |
|---|---|---|
redshift | Redshift (z) | 0.1 |
hubble_constant | Hubble Constant (H0)(km/s/Mpc) | 70 |
How It Works
Comoving Distance Approximation
At low redshifts the comoving distance is well approximated by the linear Hubble relation.
Formula
d = c z / H0
The result is in Mpc. For z above about 0.3, higher-order corrections become important.
Worked Example
A galaxy at redshift z = 0.1 with H0 = 70 km/s/Mpc.
redshift = 0.1hubble_constant = 70
- 01d = c z / H0
- 02d = 299800 * 0.1 / 70
- 03d = 29980 / 70
- 04d ≈ 428.3 Mpc ≈ 1396 Mly
Ready to run the numbers?
Open Comoving Distance Calculator