Loading 3D assets...
...
Drag to orbit - wheel / pinch to zoom

Cosmic Distances from the Friedmann Equation: Lookback Time, Horizons and Redshift

Choose a universe (H0, matter and dark-energy density) and a redshift. The page integrates the Friedmann equation and places a galaxy at its comoving distance, inside the particle horizon (all we can ever have seen) and the event horizon (the limit of what we can still reach).
Comoving distance DC-
Luminosity distance DL-
Angular-diameter distance DA-
Lookback time-
Age of the universe now-
Age when light left-
Particle horizon-
Event horizon-
Curvature Ωk / geometry-
Distance modulus-
Gpc vs z: orange comoving DC, blue angular-diameter DA (peaks, then falls), green luminosity DL. Dot: current z.
Scale factor a(t) versus cosmic time (Gyr). Dot: when the light left the galaxy. Dashed: today.
Independent numerical checks
Each line compares the numerical integral with a separate closed form; a FAIL would show here.
The science

Friedmann equation. For a homogeneous universe H(z)² = H0² [Ωr(1+z)⁴ + Ωm(1+z)³ + Ωk(1+z)² + ΩΛ] with Ωk = 1 − Ωm − ΩΛ − Ωr. Radiation is fixed at Ωr = 9.1×10-5 (photons plus neutrinos treated as massless; a typical value).

Distances. Comoving DC = (c/H0) ∫0z dz'/E(z'); transverse DM = (c/H0) sinh(√Ωk χ)/√Ωk (sin for Ωk < 0); DA = DM/(1+z), DL = (1+z) DM. Lookback time tL = H0-1 ∫ dz'/[(1+z')E]. Horizons use a as variable: particle horizon c/H0 ∫01 da / √(Ωr + Ωma + Ωka² + ΩΛa⁴), event horizon the same integral from a = 1 to infinity (finite only if ΩΛ > 0).

What the picture shows. Distances are comoving (today's proper distance, 1 unit = 1 Gpc). The galaxy sits at DC; the translucent shells are the horizons. Background galaxies are placed at random comoving positions and coloured by their redshift. Their 3D positions are illustrative, not a survey.

Simplifications. Smooth universe (no peculiar velocities or lensing), constant dark-energy density (w = −1), no neutrino mass, dark-energy-free radiation era handled only through Ωr. The default values are typical published values (Planck 2018 gives H0 about 67.4, Ωm about 0.315; local distance-ladder measurements give about 73); treat them as indicative.

Models and textures were built in Blender and baked with Cycles; Three.js r160 renders them.

Made with 🟠 Blender · Three.js