Stellar Magnitude & Distance Calculator
The distance modulus links a star's apparent brightness, true brightness and distance. Enter any two to find the third.
How this is worked out
Apparent magnitude (m) is how bright a star looks from Earth; absolute magnitude (M) is how bright it would look from a standard distance of 10 parsecs. The two are linked by the distance modulus: m − M = 5 log₁₀(d) − 5, where d is the distance in parsecs — a distance modulus of exactly 0 means the star really is 10 parsecs away. The magnitude scale itself is logarithmic and runs backwards (lower numbers are brighter): a difference of 5 magnitudes is defined as exactly a factor of 100 in brightness (Pogson's ratio), so each single magnitude is a factor of about 2.512. If you only have a parallax angle, distance in parsecs is simply 1 ÷ parallax in arcseconds — the geometric definition of the parsec itself.
Frequently asked questions
Why do fainter stars have bigger magnitude numbers?
The scale is a historical holdover from the ancient Greek system of ranking the brightest stars as "first magnitude" and the faintest visible ones as "sixth magnitude" — modern astronomy kept the direction (and extended it both ways, to negative numbers for very bright objects like the Sun and Moon) when it put the scale on a precise mathematical footing in the 19th century.
What if my star's distance modulus is negative?
That's normal for anything closer than 10 parsecs (about 32.6 light-years) — it just means the star looks brighter than it would from the 10-parsec reference distance, giving m − M < 0.
Related tools: Star Luminosity, Radius & Temperature Calculator, Astronomical Distance Converter, Light Travel Time Calculator.
Source / Last verified: Swinburne University of Technology, Centre for Astrophysics & Supercomputing, "Cosmos – The SAO Encyclopedia of Astronomy", entries "Distance Modulus" and "Absolute Magnitude" (astronomy.swinburne.edu.au/cosmos), read 1 October 2026: "m - M = 5 log d - 5 ... An object with a distance modulus of 0 is exactly 10 parsecs away" and "5 units in magnitude correspond with a factor of 100 in flux". Checked against Vega's commonly-quoted figures (apparent magnitude 0.03, distance 7.68 pc): this tool's distance-modulus calculation gives an absolute magnitude of 0.60, matching the commonly-cited value of about 0.58 to two decimal places' rounding.