Code tool

Apparent vs Absolute Magnitude Converter

Enter any two of apparent magnitude, absolute magnitude, and distance in parsecs to solve for the missing value.

In-browser processingNo account requiredPrivacy details ↗

Enter exactly two values.

A QUICK WALKTHROUGH

How to use this tool

  1. Enter exactly two of apparent magnitude, absolute magnitude, and distance in parsecs.
  2. Calculate the one missing value.
  3. Read the distance in parsecs and its approximate light-year equivalent.

Distance modulus

The relation is m − M = 5 log10(d/10), where m is apparent magnitude, M is absolute magnitude, and d is distance in parsecs. Exactly two inputs are required.

Parsecs and light-years

Distance is entered and solved in parsecs. The tool also shows an approximate conversion using 1 parsec ≈ 3.26156 light-years; these units are not interchangeable labels.

Scope

This is a mathematical converter only. It does not provide observing, stellar, or other astronomy advice.

GOOD TO KNOW

Common questions

What units does distance use?

Parsecs for the calculation; light-years are shown only as an approximate equivalent.

Can I enter all three values?

No. Leave exactly one field blank so the converter knows what to solve.