Astronomy & Space
Advanced

Distance Modulus

Relates apparent and absolute magnitudes to distance.

Formula

m−M=5log⁡10(d)−5m - M = 5\log_{10}(d) - 5

Variables

mApparent mag
MAbsolute mag
dDistance (pc)

Example

Measures cosmic distances

How it works

The distance modulus connects how bright an object looks from Earth with how intrinsically bright it really is. It works because light spreads out over a sphere as distance increases, so the received flux falls off like 1/d^2; the logarithmic magnitude scale then turns that inverse-square law into a simple linear relation in log(distance). A difference of 5 magnitudes corresponds to a factor of 10 in distance, which is why the formula has the form 5 log10(d) - 5 when d is measured in parsecs.

When to use it

Use this when you know an object's apparent magnitude and absolute magnitude and want its distance, or when you have a measured distance and need to predict how bright it should appear. It is especially useful for stars, supernovae, galaxies, and other objects whose intrinsic luminosities can be estimated or standardized.

Worked example, step by step

A star has apparent magnitude m = 12.3 and absolute magnitude M = 4.8. Find its distance. Start with the distance modulus: m - M = 5\log10(d) - 5 Substitute the values: 12.3 - 4.8 = 5\log10(d) - 5 Simplify the left side: 7.5 = 5\log10(d) - 5 Add 5 to both sides: 12.5 = 5\log10(d) Divide by 5: 2.5 = \log10(d) Convert from logarithmic form: d = 10^{2.5} Calculate: d \approx 316.2 Final answer: the star is about 316 pc away

Common mistakes to avoid

  • Using kilometres or light-years in the formula instead of parsecs
  • Forgetting that the formula uses a base-10 logarithm, not ln
  • Reversing m and M, which changes the sign of the distance modulus

Did You Know?

Absolute magnitude rates stars as if all sat at the same distance, revealing their true brightness.

Share this formula

Reviewed & maintained by the FormulaWon editorial teamLast reviewed September 2026