Distance Modulus Calculator
Find a star's distance from its magnitudes.
Result
How it is calculated
The distance modulus is the difference between how bright a star looks and how bright it really is: μ = m − M, with m the apparent magnitude and M the absolute magnitude (its brightness at 10 parsecs). The distance follows from d = 10(μ + 5) / 5 parsecs, and the tool also converts it to light years using 1 pc = 3.2616 ly. Smaller magnitudes mean brighter objects. The formula assumes no dust absorbing the light; with interstellar extinction the true distance is smaller than the result. A negative modulus just means the object is closer than 10 pc.
Worked example
A star has apparent magnitude 8.5 and absolute magnitude 4.8. The distance modulus is 8.5 − 4.8 = 3.70. Then d = 10(3.70 + 5) / 5 = 101.74 ≈ 54.95 parsecs. In light years that is 54.95 × 3.2616 ≈ 179.24 ly. Its absolute magnitude is 4.8, close to the Sun's, so it is a Sun-like star about 180 light years away.
Common mistakes
- Swapping m and M, which gives a distance that is the wrong way round.
- Dropping the minus sign of a negative magnitude, such as −1.5, which shifts the distance by a large factor.
- Forgetting that magnitudes run backwards: a lower number is brighter, so a difference of 5 is a factor of 100 in brightness.
- Ignoring dust, which dims the star and makes the result overestimate the distance.
- Reading parsecs as light years; one parsec is about 3.26 ly.
About this calculator
This calculator finds a star's distance from its apparent and absolute magnitudes using the distance modulus: m − M = 5 · log10(d) − 5, where m is the apparent magnitude (how bright it looks from Earth), M is the absolute magnitude (its true brightness at a standard 10-parsec distance), and d is the distance in parsecs. Rearranging solves for d directly from the two magnitudes.
Astronomers use this whenever a star's true luminosity is known or estimated (for example, from its spectral type or from "standard candle" objects like Cepheid variables and Type Ia supernovae), letting them derive distances to objects far beyond the reach of parallax measurements. Enter the apparent and absolute magnitudes to get the distance.
Was this helpful?
You can pick up to 3 reactions.
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
No calculators found
Comments (0)