Distance Modulus Calculator (Apparent and Absolute Magnitude)

The distance modulus links how bright a star looks (apparent magnitude m) with how bright it really is (absolute magnitude M, its brightness at 10 parsecs). Know two of m, M and the distance and this calculator finds the third, with an optional correction for dimming by interstellar dust.

Inputs

mag
mag
Advanced options (1)
mag

Results

Result
d = 7.762 pc (25.32 light-years)
Distance
7.762
Distance modulus m − M
-0.55
mag
Apparent magnitude
0.03
mag
Absolute magnitude
0.58
mag
Brightness compared with the same star at 10 pc
1.66

    RefESS-AST-003
    Methodm − M = 5·log₁₀(d/10 pc) + A
    UnitsSI
    Date2026-11-24

    Working

    Calculated in SI base units; inputs are converted from the units you choose.

    1. Distance modulusm − M = 5·log₁₀(d/10 pc) + Aμ = 0.03 − 0.58 = -0.55, extinction A = 0
    2. Distanced = 10^((m − M − A + 5)/5) pcd = 7.762 pc = 25.32 ly

    Standard candles

    Because brightness falls with the square of distance, every factor of 10 in distance adds 5 magnitudes. If the absolute magnitude of an object is known, for example a Cepheid variable from its pulsation period or a type Ia supernova at peak, measuring m gives the distance. Dust dims starlight by A magnitudes; ignoring it makes objects seem farther than they are.

    Assumptions and limits

    • Magnitudes in the same photometric band.
    • Euclidean distances: for galaxies at redshifts beyond about 0.05 the luminosity distance of a cosmological model is needed.
    • Extinction entered as a single value for the chosen band.

    References

    • Carroll, B. W. and Ostlie, D. A., An Introduction to Modern Astrophysics, 2nd ed., Cambridge University Press, 2017, chapter on the properties of stars.
    • IAU 2015 Resolution B2 on recommended zero points for the absolute and apparent bolometric magnitude scales.

    Questions

    How far away is a star with m = 0.03 and M = 0.58?
    7.762 pc (25.32 light-years), the values for Vega; its measured parallax distance is 7.68 pc.
    How bright would the Sun look from 10 pc?
    Its absolute visual magnitude is 4.83, so at 10 pc it would be a modest naked-eye star of magnitude 4.83.

    This calculator is a design aid. Check results against the governing code or standard and have critical work verified by a qualified engineer. Read the disclaimer.