Distance Modulus Calculator – Distance from Apparent & Absolute Magnitude

Use this free Distance Modulus Calculator to measure the distance to a star or galaxy from its apparent magnitude m and absolute magnitude M. This "spectroscopic parallax" method is a basic rung of the cosmic distance ladder.

Earth star (m, M) distance d = ? μ = m − M

Formula

The distance modulus is μ = m − M. The distance follows from d = 10(μ + 5) / 5 parsecs. A modulus of 0 means 10 pc, 5 means 100 pc, and every extra 5 magnitudes multiplies the distance by 10.

How to use

Worked example

A standard-candle object has m = 10 and M = 0.
μ = m − M = 10
d = 10(10 + 5)/5 = 10³ = 1,000 pc = 3,261.81 light-years

FAQ

Where does M come from in practice?
From objects whose luminosity is known: Cepheid variables (from their pulsation period), RR Lyrae stars, and Type Ia supernovae are classic "standard candles".

What can spoil the measurement?
Interstellar dust dims and reddens the light, making the object look farther away unless the extinction is corrected for.

How far can this method reach?
With bright standard candles like Type Ia supernovae, distances of billions of light-years can be measured.