The luminosity calculator can help you find the luminosity of a distant star based on its radius and temperature using the Stefan-Boltzmann law.

In the following short article, we will talk cover:

  • How to calculate luminosity using the luminosity equation;
  • How to calculate luminosity from absolute magnitude; and
  • Give an example of finding the Sun's luminosity.

What is and how to calculate luminosity

Luminosity measures a light source's radiant power. The Steffan-Botzlmann law describes the relationship between this radiated power and two parameters for an idealized black body:

L=σ×A×T4L = \sigma × A × T^{4}


  • LL is the radiant power or luminosity measured in watts;
  • σ\sigma is the Stefan–Boltzmann constant ∼5.670367 × 10⁻⁸ W⋅m⁻²⋅K⁻⁴;
  • AA is the surface area of the light source in m²; and
  • TT is the object's temperature in Kelvin.

We can easily calculate the surface area of a star from its radius RR, turning this expression into the luminosity equation for a star:

L=σ×4πR×T4L = \sigma × 4 \pi R × T^{4}

When we're describing the luminosity of a star, we generally give this value in terms of the luminosity of the Sun (L⊙, 3.828×10²⁶ W):

LL=RR(TT)4\frac{L}{L⊙} = \frac{R}{R☉}(\frac{T}{T☉})^{4}


  • RR☉ is the Sun's radius; and
  • TT☉ is the Sun's temperature.

🙋 You can choose to express the luminosity in gigawatts or in terms of the luminosity of the Sun with the luminosity calculator.

Absolute and apparent magnitude

If we use the luminosity equation, we'll find that there are a lot of stars brighter than the Sun in the universe. However, they don't appear as bright when we look at them from Earth. Why is that?

That's because we're measuring the apparent brightness or how bright an object appears to an observer.

On the other hand, absolute brightness (MM) is similar to luminosity but differs from it in using a logarithmic scale:

M=2.5×log10(LL0)M = -2.5 × log_{10}(\frac{L}{L_{0}})


  • LL is the light source's luminosity; and
  • L0L_{0} is the zero-point luminosity, L₀ = 3.0128 × 10²⁸ W.

We can calculate the apparent brightness of a star (mm) given its distance from the source (dd):

m=M5+5×log10(d)m = M - 5 + 5 × log_{10}(d)

where dd is the distance in parsecs.

How to calculate luminosity from absolute magnitude

Converting absolute magnitude to luminosity is straightforward. We just need to rearrange the absolute magnitude equation:

L=L0×10M2.5L = L_{0}×10^{\frac{-M}{2.5}}

where again L0L_{0} is the zero-point luminosity.

Finding the Sun's luminosity

Let's use the luminosity calculator to find the Sun's luminosity.


  • A radius of ~696,340 km; and
  • A temperature of ~5,778 K.

We plug that information into the calculator to find L = 3.835 × 10²⁶ W, which is close enough to the actual value of L⊙, 3.828×10²⁶ W.

You can use this tool to find the luminosity of any star. Give it a try!

Luciano Mino
Star radius
Star temperature
Absolute magnitude
Apparent magnitude
People also viewed…

Hubble's Law

Find out the speed at which distant galaxies move away from us using this Hubble's law calculator.

Rocket thrust

Learn how to calculate the thrust of a rocket with our handy tool.

Schwarzschild radius

Discover the fundamental of black hole physics with our Schwarzschild radius calculator.
main background