Cosmic Distance Ladder (2D)

The three rungs on one logarithmic scale: stellar parallax, the Cepheid period-luminosity law and Type Ia supernovae with a live Hubble-constant fit.

Switch to 3D

Presets

Playback

Distance and parallax error

Where the object is and how well parallax is measured.

Cepheid

Period and scatter of the Cepheid.

Supernovae and Hubble flow

True H0, brightness scatter and sample size.

Layers

Model checks

The science

Rung 1: parallax

As the Earth moves around the Sun, a nearby star shifts against the distant background by an angle p (the parallax), where 1 AU subtends p at distance d. With p in arcseconds and d in parsecs:

d = 1 / p,    1 pc = 206 265 AU ≈ 3.26 ly

The measurement has an error σp (Gaia reaches about 0.02 mas for bright stars). The page treats a parallax as usable when p > 3σp, which limits this rung to d < 1/(3σp) (about 17 kpc for 0.02 mas, though with 10 % errors the useful range is shorter).

Rung 2: standard candles

If the true luminosity of a star is known, its apparent magnitude gives the distance through the distance modulus:

m − M = 5 log10(d / 10 pc)

Classical Cepheids pulsate with a period tied to luminosity (Leavitt law, V band): M ≈ −2.43 (log10P − 1) − 4.05, with an intrinsic scatter of about 0.1 mag. Parallaxes of nearby Cepheids calibrate the relation, which then reaches galaxies out to about 40 Mpc.

Rung 3: supernovae and the Hubble flow

Type Ia supernovae reach M ≈ −19.3 after standardisation (scatter about 0.15 mag) and are visible across billions of parsecs. For galaxies far enough that peculiar motions are small, the recession velocity follows Hubble's law:

v = H0 d,    H0 ≈ 70 km s-1 Mpc-1,    tH = 1/H0 ≈ 14 Gyr

The page simulates N supernovae at random distances 30-1500 Mpc, adds 0.15 mag brightness scatter and 250 km/s of peculiar velocity, estimates each distance from its apparent magnitude and fits a line through the origin: H0 = Σv d / Σd2.

Honest simplifications

  • Euclidean Hubble law with no cosmological K-correction, extinction, time dilation of the light curve or curvature: it is accurate only for z below about 0.1 (d below about 400 Mpc); the high-distance part of the plot therefore uses the linear law as a model, not as a claim about the real Universe.
  • The sky-shift panel draws the star's schematic distance not to scale and the real parallax ellipse is the true value times a fixed 0.5 ratio for the vertical axis (ecliptic latitude about 30 degrees).
  • Parallax noise is a deterministic pseudo-random draw; Cepheid and supernova scatter come from a seeded generator.
  • The real "Hubble tension" (about 67 versus 73 km/s/Mpc between early- and late-Universe methods) is not modelled; the preset only shows how a different true H0 is recovered.

Checks run in the page

(1) The distance modulus inverts exactly over 28 distances from 1 pc to 5 Gpc. (2) The half-angle between sightlines from opposite sides of the orbit, computed with arctangents, equals 1000/d mas. (3) The fitted H0 recovers the input within 3 %.

What to try
  • Press Nearby star: parallax is large and its estimate is accurate; move the distance slider outward and watch the red error disc swallow the shift.
  • Increase the parallax error to 1 mas: the parallax rung shrinks to about 300 pc.
  • Press LMC Cepheid: parallax no longer works but the Cepheid rung does; change the period and see the absolute magnitude move on the Leavitt law.
  • Raise the supernova scatter to 0.4 mag: the Hubble diagram widens and the fitted H0 gets a bigger error bar.
  • Press Hubble tension: H0 = 73 and compare the fit with the input line.
Parallax against distance, with the 3-sigma detection limit
Fractional distance error of each rung against distance
Leavitt law: absolute magnitude against log period (red = chosen Cepheid)
Hubble diagram from simulated Type Ia supernovae with the fitted line