Star magnitude and brightness calculator

The magnitude scale is logarithmic and backwards: five magnitudes is exactly a factor of a hundred in brightness, and brighter means smaller.

parsecs
Brightness ratio
100.0000
≈ Rounded Stellar magnitude
Absolute magnitude at that distance
1.0000
Distance modulus
0.0000
Distance in light-years
32.616
Pogson's ratio, one magnitude
1.584 893
Magnitude difference
5.000
Show the working
  1. First magnitude = 1
  2. Second magnitude = 6
  3. Distance = 10
  4. Brightness ratio = 10^((6 - 1) / 2.5) = 100
  5. Pogson's ratio, one magnitude = 10^(1/5) = 1.584 89
  6. Absolute magnitude at that distance = 1 - 5 * log10(10) + 5 = 1
  7. Distance modulus = 5 * log10(10) - 5 = 0
  8. Distance in light-years = 10 * 3.2615637769 = 32.6156
  9. flux_ratio_db = (6 - 1) * 4 / 2.5 * 2.5 = 20
  10. Magnitude difference = 6 - 1 = 5

Values are shown to six significant figures here; the arithmetic itself runs on exact fractions and is only rounded where a number is printed.

Scenarios & local history

Compare a saved scenario

Recent calculations

    The formula

    • brightness ratio = 10^(delta m / 2.5)
    • one magnitude = 100^(1/5) = 2.511 886...
    • absolute magnitude M = m - 5 log10(d in parsecs) + 5

    The scale was fixed so that a difference of exactly five magnitudes is a factor of exactly 100. Everything else follows from that.

    The Sun is magnitude -26.74 apparent and +4.83 absolute.

    Related calculators

    Settings

    Theme

    System follows your operating system and changes with it.

    Text size
    High contrast

    Maximises text and border contrast and removes the grid background.

    Graph-paper background

    Round to
    Notation
    Thousands separators
    Decimal mark
    Nearest fraction

    Shows the result as the nearest tape-measure fraction, with the error it costs.


    Accessibility & interaction
    Reduce motion Stops interface animations even when the operating system does not.
    Underline links Keeps links visually distinct without relying on colour.
    Larger touch targets Makes buttons and form controls easier to tap.
    Shorter reading lines Limits article width for easier scanning.
    Monochrome display Removes colour as an information cue.
    Always-visible focus Makes the keyboard focus ring persistent and stronger.
    Verbose screen-reader results Announces the complete conversion equation.
    Sticky action bars Keeps converter and calculator actions within reach.
    Select values on focus Replaces a value immediately when you start typing.
    Left-handed mobile layout Moves key mobile actions toward the left thumb.

    Your data

    Settings, recent conversions and favourites live in this browser only. Nothing is sent anywhere.

    Offline library