Photometry & Magnitudes

Distance Modulus & Apparent–Absolute Magnitude Workbench

Solve apparent magnitude, absolute magnitude, distance or true distance modulus, keeping extinction and an entered K correction separate.

Astronomy & Space · model workbench

Separate distance dimming from the additional corrections in an observed magnitude.

Private calculations in your browser · explicit inputs and model boundaries
Example preview · Find a nearby distanceDistance modulus increases by five per distance decade
015.13210.3315.4420.55True modulus μObserved difference m − MSolved true modulus: 3, 10log10(distance / pc)Magnitude difference (mag)
True modulus μObserved difference m − M

The second line adds entered A=0.5 and K=0 mag at every plotted distance. Those fixed corrections explain this scenario; they are not a model of how extinction or K varies with distance.

  1. 1EnterProvide the known values
  2. 2CalculateResults update automatically
  3. 3VerifyReview the details and units
Try an example

Name the passband and magnitude system, or explicitly state bolometric. Quantities being compared must share the stated convention.

Enter values in mag.

Enter values in mag.

Nonnegative attenuation in the stated band. Enter zero when already corrected.

Convention: m = M + μ + A + K. Enter zero for no correction; no spectrum or redshift correction is inferred.

Calculation result

Enter valid values to see the result.

Your entries are calculated in this browser and are not submitted to 365CALCS.COM.

Feedback

Understand the relationship

The reasoning behind the result

Absolute magnitude fixes a ten-parsec comparison

μ=5 log₁₀(d/10 pc)

Absolute magnitude describes how bright a source would appear at the reference distance of ten parsecs in the specified magnitude convention. In Euclidean geometry, received flux decreases as distance squared. Combining that square with the −2.5 magnitude coefficient gives a factor of five in the distance modulus.

At ten parsecs μ is zero. A tenfold distance increase adds five magnitudes. At less than ten parsecs μ is negative, which is a valid result rather than an error.

Observed difference includes more than distance

m−M=μ+A+K

A is an entered nonnegative extinction in magnitudes. K is an externally obtained signed correction in the convention shown here. The tool subtracts both from an observed m−M when solving distance, and adds both when predicting observed magnitude.

The true distance modulus is μ. Treating an extinguished observed difference as true modulus would overestimate distance when other terms are unchanged. Applying a correction twice would cause the opposite problem, so already corrected data require zero for that term.

Every inverse uses the same declared convention

M=m−μ−A−K; d=10 pc × 10^(μ/5)

Solving for M is subtraction; solving for distance reverses the logarithm. The result includes distance in the selected unit and in parsecs, so the ten-parsec reference remains inspectable.

A parsec is based on the astronomical unit and one arcsecond in the small-angle definition. A Julian light-year uses 365.25 days and the vacuum speed of light. Neither conversion turns a luminosity distance into a light-travel time.

Cosmological distance needs its own external model

For a distant source the modulus identity uses luminosity distance, which already incorporates the relevant cosmological flux-distance definition. It is not generally the proper, comoving or light-travel distance. This workbench neither selects a cosmology nor infers a distance from redshift.

A K correction can depend on spectrum, redshift and the exact rest and observed passbands. The entered value must belong to that mapping. Magnitudes alone do not identify those quantities, and the graph holds the supplied correction fixed only to explain the arithmetic.

Follow the numbers

Correct extinction before finding distance

  1. Use m=15, M=4.5, A=0.5 and K=0 mag.
  2. The observed difference is 10.5 mag, while true μ=15−4.5−0.5−0=10 mag.
  3. d=10×10^(10/5)=1,000 pc. Ignoring the 0.5-mag extinction would instead give about 1,258.925 pc.

The distance estimate belongs to the corrected modulus, not the full observed difference.

Quick guide

How to use this calculator

  1. Choose which quantity is missing and state the band convention.
  2. Select Euclidean distance or a supplied luminosity distance; this choice changes interpretation, not the logarithmic identity.
  3. Enter extinction and the signed K term only when relating observed and absolute magnitudes.
  4. Compare true modulus μ with observed m−M. They are equal only when A+K=0.

Calculation method

Calculation and interpretation

Separate distance dimming from the additional corrections in an observed magnitude.

μ=5 log₁₀(d/10 pc); m=M+μ+A+K; d(pc)=10^((μ+5)/5).

Worked example

Correct extinction before finding distance

The distance estimate belongs to the corrected modulus, not the full observed difference.

μ=5 log₁₀(d/10 pc); m=M+μ+A+K; d(pc)=10^((μ+5)/5).

Supported inputs

Precision and limits

Externally justified magnitudes and corrections

Absolute magnitude, extinction and K correction are inputs, not estimated from source type, coordinates or color. Their uncertainty and covariance are not inferred.

No redshift or travel-time solve

A supplied luminosity distance is accepted as such. No Hubble approximation, cosmological integration or distance-as-age conversion is applied.

Continue calculating

Related calculators