iCosmos › Reference
Equations, methods and validation
What iCosmos calculates, how, and how accurately.
The model
A homogeneous and isotropic (FLRW) universe with matter, radiation, curvature and dark energy with the equation of state w(a) = w0 + wa(1 − a). The expansion rate is H(z) = H0 E(z), with
E²(z) = Ωr(1+z)⁴ + Ωm(1+z)³ + Ωk(1+z)² + ΩΛ(1+z)3(1+w0+wa) exp[−3 wa z/(1+z)].
Curvature is not an input: Ωk = 1 − Ωm − ΩΛ − Ωr.
Distances and volume
- Line-of-sight comoving distance: DC = (c/H0) ∫0z dz′/E(z′).
- Transverse comoving distance DM: equal to DC in a flat universe, and (c/H0) sinh(√Ωk DCH0/c)/√Ωk in an open one (sin and |Ωk| in a closed one).
- Angular diameter distance DA = DM/(1+z); luminosity distance DL = (1+z) DM.
- Whole-sky comoving volume: (4π/3) DM³ in a flat universe, with the curved-space forms otherwise.
Time
Lookback time tL = (1/H0) ∫0z dz′/[(1+z′) E(z′)]; the age of the universe is the same integral taken to infinite redshift.
Growth and survey observables
The linear growth factor is found by solving the growth equation numerically. The sound horizon rd, the BAO ratios DM/rd, DH/rd and DV/rd, and σ8(z), fσ8(z) and S8 are described on the BAO and σ8 pages.
Validation
Every number is checked automatically against independent calculations. On the published benchmark of 21 universes, distances and ages agree with SciPy and mpmath reference values to about 1 part in 10¹⁴ and the growth factor to about 2 × 10⁻⁹; in stress tests over 400 random matter + Λ + curvature universes (H₀ = 70, Ωm 0.005–3, ΩΛ −1 to 3.5, including near-loitering and very low-density open models), the growth factor agrees with the exact Heath integral to better than 10⁻⁹. A further 200 random evolving-dark-energy universes are checked for finite or explained results, not for accuracy. Where a quantity cannot be computed reliably, the calculator says so instead of showing a number. The validation tables are on the Reference page.
Also on this page
- Constants and units
- Numerical methods
- Data sources (DESI DR2 BAO measurements)
- Differences from classic iCosmos (2008–2015)
- Preset models and their sources
- Further reading
How to cite
Vardanyan, Mihran. iCosmos V4: Cosmology Calculator. https://icosmos.co.uk/. Include your access date, model parameters and exported data when reporting calculations.
Open the iCosmos cosmology calculator
iCosmos 4.5.0 · updated