Absolute Magnitude Calculator

Find a star's true brightness from how far away it is.

How it is calculated

The inputs are the apparent magnitude m (a pure number, negative for very bright objects) and the distance d in parsecs, which must be greater than zero. The tool computes M = m − 5 × log10(d) + 5, the same as M = m − 5 × log10(d ÷ 10). It also shows the distance modulus m − M, which equals 5 × log10(d) − 5. Both are rounded to two decimals. At exactly 10 parsecs the modulus is 0 and M equals m. The formula ignores interstellar extinction (dust dimming) and any filter correction, so for distant stars in dusty regions the true absolute magnitude is brighter than the result.

Worked example

Sirius has an apparent magnitude of about −1.46 and lies about 2.64 parsecs away. First, log10(2.64) is about 0.4216. Multiply by 5 to get 2.108. Then M = −1.46 − 2.108 + 5 = 1.432. The tool shows an absolute magnitude of 1.43 and a distance modulus of −2.89 (negative because Sirius is closer than 10 parsecs, so it looks brighter than it would at the standard distance).

Try this example →

Common mistakes

  • Entering the distance in light-years. The field is in parsecs; 1 parsec is about 3.26 light-years, so divide light-years by 3.26 first.
  • Expecting a larger number to mean a brighter star. The scale is inverted: smaller or more negative magnitudes are brighter.
  • Entering distance in kilometers or astronomical units. Only parsecs give a correct result.
  • Using a 10-parsec distance and expecting a change. At 10 pc the absolute magnitude equals the apparent magnitude.
  • Ignoring dust. For stars far across the galaxy, extinction makes them look fainter, so the computed M is too faint unless you correct m first.

About this calculator

This calculator uses the distance modulus formula, M = m − 5·log₁₀(d/10), to convert a star's apparent magnitude m (how bright it looks from Earth) into its absolute magnitude M — the magnitude it would have if viewed from a standard distance of 10 parsecs. Because the magnitude scale is logarithmic and inverted (lower numbers mean brighter objects), this lets astronomers strip out the effect of distance and compare stars' true, intrinsic luminosities directly.

Astronomers and astrophysics students use absolute magnitude to build the Hertzsprung-Russell diagram, classify stars by luminosity class, and calibrate standard candles like Cepheid variables and Type Ia supernovae used to measure cosmic distances. Enter the apparent magnitude and distance in parsecs to get the absolute magnitude.

Was this helpful?

You can pick up to 3 reactions.

Comments (0)

  • Be the first to comment.

Popular calculators

All Calculators