Stellar Luminosity Calculator Formula

Understand the math behind the stellar luminosity calculator. Each variable explained with a worked example.

Formulas Used

Luminosity (L_sun)

luminosity_solar = pow(10, (4.83 - abs_magnitude) / 2.5)

Luminosity (W)

luminosity_watts = pow(10, (4.83 - abs_magnitude) / 2.5) * 3.828e26

Variables

VariableDescriptionDefault
abs_magnitudeAbsolute Magnitude0

How It Works

Luminosity from Absolute Magnitude

L / L_sun = 10^((M_sun - M_star) / 2.5)

where M_sun = 4.83 (visual). A star 5 magnitudes brighter than the Sun is 100 times as luminous.

Worked Example

A star with M = 0.

abs_magnitude = 0
  1. 01L/L_sun = 10^((4.83 - 0) / 2.5)
  2. 02= 10^(1.932) ≈ 85.5
  3. 03This star is about 85.5 times as luminous as the Sun.

Frequently Asked Questions

What determines a star's luminosity?

Primarily its mass and evolutionary stage. More massive stars are much more luminous.

Why use M_sun = 4.83?

That is the Sun's absolute visual magnitude. For bolometric calculations, use M_bol,sun = 4.74.

What is the luminosity range of stars?

From about 10^-4 L_sun (faint red dwarfs) to over 10^6 L_sun (the most luminous supergiants).

Ready to run the numbers?

Open Stellar Luminosity Calculator