Distance Modulus Calculator

Enter apparent and absolute magnitudes to compute the distance modulus and distance to an astronomical object in parsecs and light-years.

Magnitudes

How bright the object appears from Earth

Brightness at a standard 10 parsecs

Quick Examples

Results

Enter magnitudes and press Calculate

Copied to clipboard!

Summary

Enter apparent and absolute magnitudes to compute the distance modulus and distance to an astronomical object in parsecs and light-years.

How it works

  1. Enter the apparent magnitude (m) of the object as observed from Earth.
  2. Enter the absolute magnitude (M), the brightness at a standard distance of 10 parsecs.
  3. The distance modulus (m − M) is computed instantly.
  4. Distance in parsecs is derived using d = 10^((m−M+5)/5).
  5. Distance in light-years is shown alongside (1 pc ≈ 3.26156 ly).
  6. Use the swap button to solve for absolute magnitude if you already know the distance.

Use cases

  • Determine how far away a Cepheid variable star is from its known absolute magnitude.
  • Estimate galaxy distances from Type Ia supernova standard candles.
  • Cross-check parallax-derived distances against photometric distance moduli.
  • Convert between distance modulus and physical distance for cosmology coursework.
  • Verify stellar cluster distances from HR-diagram fitting.

Frequently Asked Questions

Last updated: 2026-07-22 · Reviewed by Nham Vu