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.
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
- Loan Calculator
- Profit Calculator
- Discount Calculator
- BMI Calculator
- Percentage Calculator
- Ideal Weight Calculator
- Age Calculator
- Pregnancy Due Date Calculator
- Compound Interest Calculator
- BMR Calculator (Basal Metabolic Rate)
- Tip Calculator
- Fuel Cost Calculator
- Date Difference Calculator
- Sleep Cycle Calculator
- Daily Water Intake Calculator
- Simple Interest Calculator
- Heart Rate Zones Calculator
- Running Pace Calculator
- Pet Age Calculator
- Calories Burned Calculator
- Macro Calculator
- TDEE Calculator (Total Daily Energy Expenditure)
- Waist-to-Hip Ratio Calculator
- Honor Roll Calculator
- One Rep Max (1RM) Calculator
- Ovulation Calculator
- Electricity Cost Calculator
- Unit Price Calculator
- Savings Goal Calculator
- Break-Even Point Calculator
- Paint Calculator
- Course Grade Average Calculator
- Business Days Calculator
- Time Duration Calculator
- Fuel Economy Calculator
- Temperature Converter
- Tile Calculator
- Aspect Ratio Calculator
- Roman Numeral Converter
- Goal Weight Timeline Calculator
- Salary Converter (Hourly to Annual)
- Credit Card Validator (Luhn)
- Body Surface Area (BSA) Calculator
- Feels-Like Temperature Calculator
- Ohm’s Law Calculator
- PPI (Pixel Density) Calculator
- Molar Mass Calculator
- Zodiac Sign Calculator (Western + Chinese)
- IBAN Validator
- Shoe Size Converter
- Country Info & Dialing Code Lookup
- Time Zone Difference (World Clock)
- CAGR (Compound Annual Growth Rate) Calculator
- Rule of 72 Calculator
- Blood Alcohol Content (BAC) Calculator
- Lean Body Mass (LBM) Calculator
- Pythagorean Theorem Calculator
- Speed Converter
- Download Time Calculator
- Date Calculator (Add/Subtract)
No calculators found
Comments (1)
Treat the parsec figure as only as good as the absolute magnitude you feed in. A 0.2 magnitude error in either value shifts the distance by roughly 10 percent, and every 5 magnitudes of difference is a factor of 10 in distance, so a modulus of 5 means about 100 pc. If you get M from a spectral type or a standard candle, tell us which method you used.