Cosmic distance ladder
Measure the universe rung by rung: parallax, the distance modulus, Cepheid stars, Type Ia supernovae and Hubble's law, with parsecs and light years.
How to use
- Work along the tabs from near to far. Each rung of the ladder uses the one before it to measure greater distances.
- Parallax: as Earth goes round the Sun, a near star seems to shift against far-away ones. Type the shift (parallax) or a distance.
- Brightness and distance: if you know how bright a star really is (absolute magnitude) and how bright it looks (apparent magnitude), you know how far it is. Pick what to work out and fill in the rest.
- Cepheids: these stars pulse, and the longer the period, the brighter they really are. Type the period and the mean apparent magnitude.
- Supernovae and Hubble's law reach across the universe: type a peak magnitude, a distance, a speed or a redshift.
Keyboard and touch
| Tab | Move between tabs, boxes and buttons |
| Enter in a box | Work it out |
| Changing a list | Updates the result straight away |
Tips
- A parsec is the distance at which a star shows a parallax of one arcsecond: about 3.26 light years. Even the nearest star, Proxima Centauri, shifts by less than one arcsecond.
- Magnitudes run backwards: bigger numbers are fainter. 5 magnitudes means 100 times fainter, and each 5 magnitudes of distance modulus means 10 times farther.
- The Sun's absolute magnitude is 4.83. Put that in the brightness tab and try different distances to see how faint the Sun would look from far away.
- Measured values of H0 cluster near 67-68 (from the early universe) and 73 (from Cepheids and supernovae): this disagreement is known as the Hubble tension. Try both.
- Dust dims and reddens light. Forgetting it makes stars look farther than they are.
About this calculator
Parallax: distance in parsecs = 1 / parallax in arcseconds, using the IAU's exact astronomical unit (149,597,870,700 m) and parsec (648,000/π au); a light year is 9,460,730,472,580,800 m. The distance modulus is m − M = 5 log₁₀(d / 10 pc) + A, where A is the dimming by interstellar dust. The Cepheid tab uses the period-luminosity relation for Milky Way Cepheids calibrated with Hubble Space Telescope parallaxes by Benedict and colleagues (2007): MV = −2.43 (log₁₀ P − 1) − 4.05, with P in days. Type Ia supernovae peak near M = −19.3 after standard corrections for how fast they fade. Hubble's law is v = H0 d; the redshift shown uses the small-redshift rule v = c z, which is only good for nearby galaxies (z well below 0.1), and 1 / H0 gives the Hubble time. These are textbook relations for learning; real measurements need careful calibration and error bars. Everything runs in your browser.