Distance Modulus Calculator

Enter apparent magnitude (m) and absolute magnitude (M) to find distance, or distance and one magnitude to find the other.

Last updated: September 5, 2026

Frequently asked questions

What is the distance modulus?

m − M, the difference between an object's apparent magnitude (how bright it looks from Earth) and its absolute magnitude (how bright it would look from a standard 10-parsec distance) - it's directly related to distance.

How do I find distance from apparent and absolute magnitude?

d = 10^((m − M + 5) / 5), with distance in parsecs. For m=10 and M=5: d = 10^((5+5)/5) = 10² = 100 parsecs.

Why does a distance modulus of exactly 0 mean 10 parsecs?

Absolute magnitude is defined as the apparent magnitude an object would have at exactly 10 parsecs - so when m equals M (modulus = 0), the object actually is at 10 parsecs, and the formula d = 10^((0+5)/5) = 10¹ = 10 confirms this.

How do I convert the distance to light-years?

Multiply parsecs by about 3.26156 - one parsec equals approximately 3.26 light-years.

How do I find the absolute magnitude if I know apparent magnitude and distance?

M = m − 5×log₁₀(d) + 5, where d is in parsecs. For an apparent magnitude of 8 at a distance of 50 parsecs: M = 8 − 5×log₁₀(50) + 5 = 8 − 8.49 + 5 ≈ 4.51.

Why does a larger distance modulus mean a more distant object?

Because apparent brightness fades with distance (following the inverse square law) while absolute magnitude is fixed for a given object, a bigger gap between how bright something looks (m) versus its true brightness (M) can only come from it being farther away.

Can the distance modulus be negative?

Yes - a negative distance modulus (m less than M) means the object is closer than 10 parsecs, since it appears brighter than its standard absolute-magnitude reference distance would suggest. This is common for very nearby stars.

Calculate