🔬
🔬 Science & engineering

Apparent ⇄ Absolute Magnitude & Distance Calculator

Results update as you type.

Your numbers

Understanding the apparent and absolute magnitude calculator — concept and principle

Apparent magnitude m measures how bright a star looks from Earth; absolute magnitude M is how bright it would look from a standard distance of 10 parsecs. This calculator converts between the two using the star's distance, and also gives the distance modulus and the distance in light-years. Astronomers use it to compare the true luminosity of stars at different distances, or to estimate distance when M is known.

Apparent and absolute magnitude of VegaVega has apparent magnitude 0.03 at 7.68 parsecs; moved to the standard 10 parsecs it would appear at magnitude 0.60.Absolute magnitude: view every star from 10 pcEarthm = 0.03M = 0.607.68 pc10 pcVega nowm0.03− 5 log₁₀ 7.68− 4.43+ 5+ 5M = 0.03 − 4.43 + 5 ≈ 0.60farther away → fainter → bigger numberDistance modulus −0.57 · 7.68 pc ≈ 25.0 light-years
Absolute magnitude asks how bright a star would look from 10 parsecs.

How it is calculated

The magnitude scale is inverted: smaller (or more negative) numbers mean brighter.

The principle

Light spreads over a sphere, so the flux you receive falls as 1/d². Magnitudes are logarithmic: a difference of 5 magnitudes is a factor of 100 in flux, so Δm = 2.5 log₁₀(flux ratio). Moving a star from distance d to 10 pc changes its flux by (d/10)², which is 2.5 log₁₀((d/10)²) = 5 log₁₀(d/10) = 5 log₁₀(d) − 5 magnitudes. Subtracting that from m gives M. The formula ignores interstellar dust, which dims and reddens light; with dust, M = m − 5 log₁₀(d) + 5 − A, where A is the extinction.

Worked example

  1. Defaults (Vega): m = 0.03, d = 7.68 pc.
  2. log₁₀(7.68) = 0.885361; 5 × 0.885361 = 4.426806.
  3. M = 0.03 − 4.426806 + 5 = 0.6031938998.
  4. Distance modulus = 0.03 − 0.6031939 = −0.5731938998. It is negative because Vega is closer than 10 pc.
  5. Light-years = 7.68 × 3.26156 = 25.0487808.
How Absolute magnitude M changes with Distance (parsecs)How Absolute magnitude M changes with Di…-1012341.923.845.767.689.611.515.4Example: 0.6031938998Distance (parsecs)
Each point is the calculator re-run with only “Distance (parsecs)” changed; the gold point is the default example. Change the inputs above and this chart follows your numbers.
Distance (parsecs)Absolute magnitude M
1.923.613493856
3.842.108343878
5.761.227887583
7.680.6031938998
9.60.1186438348
11.5-0.2772623954
15.4-0.9019560785

How to read the result

Compare M values to compare true brightness. The Sun's absolute visual magnitude is about +4.83, so Vega, at M ≈ 0.6, is roughly 10^(0.4 × 4.2) ≈ 50 times more luminous in visible light. A positive distance modulus means the object is farther than 10 pc; each +5 means ten times farther. A distance modulus of 0 means exactly 10 pc.

Common mistakes

Keep in mind: This relation assumes no extinction and a correct distance. Parallax errors for distant stars and dust along the line of sight can shift M by tenths of a magnitude or more.

Frequently asked questions

Why 10 parsecs?

It is simply the agreed reference distance, chosen so that absolute magnitudes of nearby stars are of convenient size.

Can I find distance from m and M?

Yes: d = 10^((m − M + 5)/5) parsecs. This is how standard candles such as Cepheids are used.

What is bolometric magnitude?

A magnitude that counts radiation at all wavelengths, not just one filter band.

Sources: Carroll B.W. and Ostlie D.A., An Introduction to Modern Astrophysics, 2nd ed., Cambridge University Press · IAU 2015 Resolution B2 on absolute and apparent bolometric magnitude scales

Checked 8 Nov 2026. Standard textbook formulas in SI units, computed in your browser. For learning and estimates — real designs must follow your local codes and be checked by a qualified engineer.

🔬 All science & engineering tools →🌍 Calculators by country →