Formula and method
m − M = 5 log₁₀(d) − 5, where m is apparent magnitude, M is absolute magnitude and d is distance in parsecs. Thus d = 10^((m−M+5)/5) pc.
Worked example
If m = 10 and M = 0, the distance is 10^3 parsecs (1,000 pc).
Assumptions and limitations
Magnitudes are logarithmic. This simple relation assumes compatible magnitude bands and omits interstellar extinction and cosmological corrections; distant-galaxy work may require luminosity distance/cosmology.
Values are processed in this browser. Keep units and time periods consistent. Do not enter confidential information.