Critical Density Calculator Formula
Understand the math behind the critical density calculator. Each variable explained with a worked example.
Formulas Used
Critical Density
rho_crit = 3 * pow(hubble_constant_si, 2) / (8 * pi * 6.674e-11)Variables
| Variable | Description | Default |
|---|---|---|
hubble_constant_si | Hubble Constant (H0)(1/s) | 2.27e-18 |
How It Works
Critical Density of the Universe
The critical density is the dividing line between a universe that expands forever and one that eventually re-collapses.
Formula
rho_crit = 3 H0² / (8 pi G)
The observed value is roughly 9.5 x 10⁻²⁷ kg/m³, equivalent to about 5.7 hydrogen atoms per cubic metre.
Worked Example
Using H0 = 2.27e-18 s⁻¹ (≈ 70 km/s/Mpc).
hubble_constant_si = 2.27e-18
- 01rho_crit = 3 H0² / (8 pi G)
- 02H0² = (2.27e-18)² = 5.153e-36
- 038 pi G = 1.676e-9
- 04rho_crit = 3 * 5.153e-36 / 1.676e-9
- 05rho_crit ≈ 9.22e-27 kg/m³
Ready to run the numbers?
Open Critical Density Calculator