Critical density (source code)

= Critical density

At a specified <Hubble parameter> $H$, the critical <energy density> is
$$
\rho_{\rm crit}=\frac{3c^2H^2}{8\pi G}.
$$
The <Friedmann equation> sets the spatial-curvature term to zero when the total <energy density>, including any <cosmological constant> contribution, equals this value. Dividing by $c^2$ gives the corresponding critical <mass density> $3H^2/(8\pi G)$. Confusing these two conventions loses a factor of $c^2$.<Cosmology by David Tong>[Section 1.4.1, Critical Density, equation (1.64)]{ref}

The <cosmological density parameter> $\Omega_i=\rho_i/\rho_{\rm crit}$ compares one component with this geometric <normalization> at the same epoch. Spatial flatness requires the sum of the component <cosmological density parameters> to be one, rather than each component separately. Since $\rho_{\rm crit}$ changes with $H$, a constant <energy density> need not have a constant <cosmological density parameter>.

The criterion concerns spatial geometry in an <FLRW metric>. It does not alone determine the future lifetime of an expanding universe: <pressure> and <dark energy> affect its subsequent dynamics. It also differs from <critical densities> defined by phase transitions or plasma processes.