Star Magnitude Calculator

The star magnitude calculator converts between apparent magnitude, absolute magnitude, and distance using the standard astronomical distance modulus. The magnitude scale, dating to the ancient Greek astronomer Hipparchus and mathematically formalized by Norman Pogson in 1856, is the universal system for measuring stellar brightness. Astronomers use apparent magnitude to record observed brightness and absolute magnitude to compare true stellar luminosities. By combining the two with the distance modulus formula, you can calculate distances to stars and galaxies without needing any measurement other than brightness and parallax.

--
--
--

Magnitude formulas

Distance modulus: mu = m - M = 5*log10(d) - 5
Absolute magnitude: M = m - 5*log10(d) + 5
Distance: d = 10^((m - M + 5) / 5) parsecs
Flux ratio: F2/F1 = 10^((m1 - m2) / 2.5)
5 magnitudes = factor of 100 in flux

Notable star magnitudes

  • Sun: m = -26.74, M = 4.83, d = 0.00000485 pc
  • Sirius (brightest star): m = -1.46, M = 1.43, d = 2.64 pc
  • Canopus: m = -0.74, M = -5.53, d = 310 pc
  • Polaris (North Star): m = 1.98, M = -3.64, d = 433 pc
  • Andromeda Galaxy: m = 3.44 (integrated)

Star magnitude: frequently asked questions

What is apparent magnitude?

Apparent magnitude (m) measures how bright a star appears in the sky from Earth. The scale is logarithmic and inverted: lower (more negative) numbers mean brighter objects. The Sun has m = -26.74, the full Moon m = -12.74, Venus at brightest m = -4.9, Sirius m = -1.46, and the faintest stars visible to the naked eye m = 6. A difference of 5 magnitudes corresponds to a factor of exactly 100 in brightness (Pogson's ratio: 5th root of 100 = 2.512).

What is absolute magnitude?

Absolute magnitude (M) is the apparent magnitude a star would have at a standard distance of 10 parsecs (32.6 light-years). It measures the true luminosity of a star, independent of distance. The Sun's absolute magnitude is M = 4.83. Supergiants can have M = -8; the faintest brown dwarfs have M = 20+. Absolute magnitude is derived from apparent magnitude via: M = m - 5*log10(d/10), where d is distance in parsecs.

What is the distance modulus?

The distance modulus (mu) = m - M = 5*log10(d) - 5, where d is in parsecs. It is the difference between apparent and absolute magnitude. If mu = 0, the star is at 10 pc. Positive mu means the star is farther than 10 pc (appears dimmer than absolute). mu = 5: 100 pc. mu = 10: 1,000 pc. mu = 15: 10,000 pc. mu = 25: 1 Mpc (megaparsec).

How does magnitude relate to flux ratio?

The Pogson equation: m2 - m1 = -2.5 * log10(F2/F1), where F is flux (energy per unit area per second). Equivalently, F2/F1 = 10^((m1-m2)/2.5). A magnitude difference of 1 corresponds to a flux ratio of 10^(1/2.5) = 2.512. A difference of 5 magnitudes = factor of 100. A difference of 10 magnitudes = factor of 10,000.

What are the magnitude limits for telescopes?

Limiting magnitude scales with aperture: m_lim approximately 2.1 + 5*log10(D_mm) for visual observation. A 100 mm telescope: m_lim approximately 12.1. A 200 mm telescope: m_lim approximately 13.6. Hubble Space Telescope: m_lim approximately 31 in long exposures. The naked eye dark-sky limit is approximately magnitude 6-7. Sky brightness (light pollution) reduces limiting magnitude significantly.

Official sources

Reviewed by the CalculatorHub team, edited by James Graham, 14 June 2026. See our methodology.