Critical Density Calculator

Estimate critical density using Hubble rate and gravity. Choose units, redshift, and cosmology options easily. Download results as CSV or PDF for reporting today.

Calculator

Typical present-day value: 67–74 km/s/Mpc.
z = 0 gives the present-day critical density.
Often ~0 at low redshift for quick estimates.
Auto mode enforces a closed parameter sum.
Reset

Formula used

The cosmological critical density at redshift z is ρc(z) = 3 H(z)² / (8πG). Here G is Newton’s gravitational constant.

The expansion rate is modeled as H(z) = H0 √(Ωr(1+z)⁴ + Ωm(1+z)³ + Ωk(1+z)² + ΩΛ). In auto mode, Ωk = 1 − Ωm − Ωr − ΩΛ.

How to use this calculator

  1. Enter the Hubble constant H0 and select its unit.
  2. Set redshift z to explore earlier cosmic times.
  3. Provide Ωm, Ωr, and ΩΛ.
  4. Choose curvature handling: auto (recommended) or manual Ωk.
  5. Click Calculate to show results above the form.
  6. Use the CSV or PDF buttons to export your latest result.

Example data table

Scenario H0 (km/s/Mpc) z Ωm Ωr ΩΛ Mode
Present day, flat 70 0 0.30 0.00 0.70 Auto
Moderate redshift 70 2 0.30 0.00 0.70 Auto
Curved example 67.4 0 0.315 0.00 0.680 Manual Ωk=0.005

Tip: Keep z=0 for the present-day critical density. Increase z to see how the expansion rate raises ρc(z).

Critical density in modern cosmology

Critical density is the reference mass density that separates an expanding universe that is spatially flat from one with net curvature. It is defined from the expansion rate through Newton’s constant, linking geometry to measurable kinematics. This calculator evaluates that link using your chosen cosmological parameters.

Core definition and units

The defining relation is ρc(z) = 3H(z)²/(8πG). Because H(z) is in s⁻¹, the natural output is kg/m³. For practical interpretation, the tool also converts to g/cm³ and to M☉/Mpc³, which is common when comparing to galaxy and cluster mass budgets.

Hubble rate model with density parameters

The redshift dependence enters through H(z) = H0√(Ωr(1+z)⁴ + Ωm(1+z)³ + Ωk(1+z)² + ΩΛ). Radiation scales as (1+z)⁴, matter as (1+z)³, curvature as (1+z)², and dark energy is constant in the simplest Λ model. These scalings explain why early times rapidly increase ρc(z).

Flatness, curvature, and parameter consistency

In many analyses, the parameters satisfy Ωm + Ωr + ΩΛ + Ωk = 1 today. Auto mode enforces this closure by computing Ωk from the other inputs. Manual mode is useful when you want to explore small departures, sensitivity tests, or to match a specific dataset that reports Ωk explicitly.

What typical numbers mean

For H0 around 70 km/s/Mpc at z = 0, ρc is of order 10⁻²⁶ to 10⁻²⁷ kg/m³, an extremely low density by laboratory standards. Expressed as M☉/Mpc³, the same value becomes a large astrophysical number, helping you compare to observed matter content across cosmological volumes.

Redshift exploration for growth and structure

Increasing redshift boosts H(z) and therefore ρc(z). At z ≈ 2, matter dominates over dark energy for many parameter sets, so the (1+z)³ term drives much of the change. This is useful when discussing halo virial densities, characteristic overdensities, or background densities used in simulations.

Energy density viewpoint

Multiplying by c² converts mass density into an energy density in J/m³. This form is convenient when comparing to relativistic fluids or when translating between cosmology conventions. The calculator reports ρc(z)c² directly so you can communicate results in either mass or energy language without extra steps.

Exporting results for reports

After calculation, export buttons generate a CSV table for spreadsheets and a compact PDF summary for sharing. Exports reflect the most recent run stored in your session, including inputs, the derived Ωk used, H0 conversion, H(z), and all displayed unit conversions. This supports reproducible documentation.

FAQs

1) What does “critical” mean in critical density?

It is the density that makes the universe spatially flat for a given expansion rate. It is a reference value used to define Ω parameters, not a stability threshold like in engineering.

2) Why does ρc depend on redshift?

Because ρc(z) is set by H(z). As you go to higher redshift, the expansion rate typically increases due to matter and radiation scaling, so ρc(z) rises accordingly.

3) Should Ωm + Ωr + ΩΛ equal 1?

Only if Ωk is zero. In general, Ωm + Ωr + ΩΛ + Ωk = 1 today. Auto mode computes Ωk to satisfy closure; manual mode lets you override it.

4) What unit should I use for H0?

Most users enter km/s/Mpc. If you already have H0 in s⁻¹, select s⁻¹ to avoid conversion. The calculator always converts internally to s⁻¹ for consistency.

5) Why include ρc in M☉/Mpc³?

It matches common astronomy practice. Galaxy and cluster masses are often in solar masses, and volumes in cubic megaparsecs, so this unit makes large-scale comparisons more intuitive.

6) What if my E(z)² becomes negative?

That indicates an unphysical combination of parameters at the chosen z, producing an imaginary H(z). Adjust Ω values, curvature mode, or redshift until E(z)² is positive.

7) Do the exports include all inputs?

Yes. CSV and PDF exports include your inputs, derived Ωk used, converted H0, E(z)², H(z), and the critical density in multiple units, matching the results panel.

Related Calculators

growth factor calculatorabsolute magnitude calculatordistance modulus calculatorapparent magnitude calculatorhubble constant calculatorlight travel distance calculatorevent horizon calculatorline of sight distance calculatorhalo mass function calculatorhubble time calculator

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.