Turn magnitudes into reliable distances for astronomy work. Include extinction and unit conversions instantly here. Download neat reports, verify results, and learn confidently now.
The distance modulus links apparent magnitude m, absolute magnitude M, distance d (in parsecs), and extinction A:
If extinction is unchecked, the calculator assumes A = 0. It also converts distance to light-years and astronomical units.
| m | M | A | μ = m − M | μ₀ = μ − A | Distance (pc) | Distance (ly) |
|---|---|---|---|---|---|---|
| 10.0 | 5.0 | 0.2 | 5.0 | 4.8 | 91.2011 | 297.4578 |
| 15.0 | 0.0 | 0.0 | 15.0 | 15.0 | 10000.0000 | 32615.6000 |
| 20.0 | -5.0 | 1.0 | 25.0 | 24.0 | 630957.3445 | 2057905.2365 |
These examples assume extinction is applied when checked.
The distance modulus, μ = m − M, compares how bright an object appears to how bright it intrinsically is. Because magnitudes are logarithmic, a modest change in μ implies a large change in distance. This calculator reports both μ and the “true” modulus μ₀ when extinction is applied.
From μ₀ = 5 log10(d/10), increasing μ₀ by 5 magnitudes multiplies the distance by 10. For example, μ₀ = 15 corresponds to d = 10,000 pc, while μ₀ = 20 corresponds to d = 100,000 pc.
Dust dims light, increasing apparent magnitude by A. Observationally, that inflation appears inside μ. The calculator uses μ₀ = μ − A when extinction is enabled, and then converts μ₀ into distance. Even A = 0.2 mag changes distance by roughly 9% because the exponent depends on μ₀.
Choose a solve mode to match your workflow. If you know M and distance, you get m; if you measure m and have a distance, you obtain M. When you have both magnitudes, you can compute μ directly and estimate distance immediately.
Distances are computed internally in parsecs because the standard relation assumes parsecs. The tool also outputs light-years and astronomical units using common factors (1 pc ≈ 3.26156 ly, 1 pc ≈ 206,264.806 AU) to support observational and solar-system scale comparisons.
Magnitude errors propagate nonlinearly. A ±0.1 mag uncertainty in μ₀ changes distance by a factor of 10^(0.1/5) ≈ 1.047, about 4.7%. Use the rounding control for presentation, but keep original precision when combining results in downstream analysis.
Distance modulus is widely used for star clusters, variable stars, and galaxies with standard candles. It is also useful for checking catalog values: with a known M, observed m, and estimated A, you can quickly test whether an assumed distance is consistent.
Absolute magnitude is defined as the apparent magnitude an object would have at 10 parsecs. This reference makes comparisons consistent across objects and keeps the distance modulus relation simple.
Use μ if you already have an observed modulus from a source. Use m and M when you want the tool to compute μ for you and then derive distance consistently with your extinction choice.
Extinction is dimming by dust and gas along the line of sight, measured in magnitudes. When enabled, the tool converts the observed modulus μ into the true modulus μ₀ by subtracting A.
Yes. Very bright objects can have negative apparent or absolute magnitudes. The calculator accepts negative values for m and M and applies the same equations without special handling.
Any unit works for inputs when a distance is required. The tool converts your input into parsecs for calculation and reports parsecs, light-years, and astronomical units for convenient interpretation.
Magnitudes are logarithmic. Distance depends on 10^(μ₀/5), so adding 1 magnitude increases distance by about 58%. This is why careful extinction and uncertainty handling matters.
After calculating, use the Download CSV or Download PDF buttons in the result card. Exports are based on the most recent calculation stored in your session, so run a fresh compute before downloading.
Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.