COSMOTOOLS (Modern) — DL, DC, DA, Lookback, Age

A respectful reboot of Alberto Cappi’s classic cosmology calculator (same physics, modern UI). Entirely client-side.

Inputs & Actions

Tip: Press Ctrl/Cmd + Enter to calculate. URL updates so you can bookmark/share your inputs.

Results

Graph

Tip: Drag to pan, wheel/trackpad to zoom. Click to snap the cursor to the nearest z.

Notes

This modern UI preserves Cappi’s original distance & time definitions:

  • q₀ = ΩM/2 − ΩΛ, Ωk = 1 − ΩM − ΩΛ
  • DC (radial comoving) from ∫0→z dz′ / E(z′), E(z)=√(ΩM(1+z)³ + Ωk(1+z)² + ΩΛ)
  • DM uses sin/sinh curvature mapping, DL=(1+z)DM, DA=DM/(1+z)
  • Lookback tL from ∫ dz′ /[(1+z′)E(z′)] with the same H₀→Gyr factor as the classic code: Tnorm=9.77810945/h
  • “Angle for 1 Mpc” and “Length for 1°” match the original: angle(arcmin)= (60/π) (1+z)² / DL, length(Mpc)= (π/180) DL /(1+z)²

About this Calculator & References

This is a modern UI re-implementation of the classic COSMOTOOLS cosmology calculator by Alberto Cappi (INAF – Osservatorio Astronomico di Bologna). We preserve the same physical definitions and distance relations while updating the design, accessibility, and numerical integration.

Disclaimer. This site is not affiliated with NASA, IPAC, or the NASA/IPAC Extragalactic Database (NED). We simply implement standard FLRW cosmology equations that are widely published in the literature and educational websites.

What equations does this use?

We follow the same definitions as the original COSMOTOOLS page: the expansion function E(z)=√(ΩM(1+z)3 + Ωk(1+z)2 + ΩΛ), the line-of-sight comoving distance from ∫dz/E(z), curvature mapping via sin/sinh, and the usual relations DL=(1+z)DM and DA=DM/(1+z). Lookback time uses the classic factor Tnorm=9.77810945/h (with h = H0/100) as in the original script.

Original page

References (from the original COSMOTOOLS page)

Related resources

  • NASA/IPAC Extragalactic Database (NED) — cosmology utilities listing: https://ned.ipac.caltech.edu/ (mentioned on the original page; we are not affiliated)

Suggested citation

If this tool is useful in your work, please cite the original COSMOTOOLS page by Alberto Cappi and the Hogg (1999) note above, and optionally acknowledge this modern UI implementation (Starlight Tools).

Explore more tools