Luminosity Calculator

Created by Bogna Szyk
Reviewed by Steven Wooding
Last updated: Jan 11, 2023

This luminosity calculator is a handy tool that allows you to calculate the energy emitted by stars and how bright they appear when seen from Earth.

Thanks to this calculator, you will also be able to determine the absolute and apparent magnitudes of stars.

But that's not all – we will also provide you with a handy luminosity equation that will make comparing any two stars a piece of cake!

What is luminosity?

Luminosity is a measure of the energy radiated by an object, for example, a star or a galaxy. For the stars of the main sequence, luminosity is directly related to their temperature – the hotter a star, the more luminous it is. On the other hand, cooler stars emit less energy – hence, it's more challenging to spot them in the night sky.

Luminosity equation

We can derive the formula for stellar luminosity directly from the Stefan-Boltzmann law. This law states that for a black body, the energy radiated per unit time is equal to:

P=σAT4\small P = \sigma A T^4


  • σ\sigma – Stefan Boltzmann constant, equal to 5.670367 × 10-8;
  • AA – Surface area of the body (equal to 4πR24\pi R^2 for spherical objects); and
  • TT – Temperature of the body, expressed in Kelvins.

Visit our Stefan Boltzmann law calculator to learn more.

Our luminosity calculator uses a simplified version of this formula. Instead of calculating the energy as an arbitrary value, we can compare any star to the Sun. Then, after canceling out the constants, we arrive at the luminosity equation:

LL=(RR)2(TT)4\small \frac{L}{L_{\bigodot}} = \left(\frac{R}{R_{\bigodot}}\right)^2\left(\frac{T}{T_{\bigodot}}\right)^4


  • LL – Luminosity of the star;
  • RR – Star's radius;
  • TT – Star's temperature, measured in kelvins;
  • LL_{\bigodot} – Luminosity of the Sun, equal to 3.828 × 10²⁶ W;
  • RR_{\bigodot} – Sun's radius, equal to 695,700 km; and
  • TT_{\bigodot} – Temperature of the Sun, equal to 5778 K.

Absolute and apparent magnitude

You can also use this tool as an absolute magnitude calculator. Absolute magnitude is a different way to measure luminosity. Instead of expressing it in watts, it can be shown on a logarithmic scale.

The lower the absolute magnitude, the more luminous the star is - some very bright stars can even have negative magnitudes! For example, the absolute magnitude of the Sun is equal to 4.74, and of Bellatrix to −2.78.

Absolute magnitude and luminosity are related to the formula:

M=2.5log10 ⁣(LL0)\small M = -2.5 \log_{10}\!\left(\frac{L}{L_0}\right)


  • MM – Absolute magnitude of the star; and
  • L0L_0 – Zero-point luminosity, equal to 3.0128 × 10²⁸ W.

Apparent magnitude, on the other hand, is a measure of brightness when the star is seen from Earth – hence, it takes into account the distance between the star and the Earth. You can find it with the apparent magnitude calculator, using the following equation:

m=M5+5log10(D)\small m = M - 5 + 5 \log_{10}(D)


  • mm – Apparent magnitude of the star; and
  • DD – Distance between the star and Earth, measured in parsecs.

The absolute magnitude is defined as the apparent magnitude of an object seen from a distance of 10 parsecs. It means that for D = 10 parsecs, the apparent and absolute magnitudes are equal in value.

Calculating luminosity: an example

Let's analyze Sun with this luminosity calculator to investigate its absolute and apparent magnitude.

  1. Input the radius and temperature of the Sun into the calculator. The radius equals R=695,700 kmR_{\bigodot} = \text{695,700 km}, and the temperature is T=5778 KT_{\bigodot} = 5778\ \text K.

  2. The luminosity calculator will automatically find the luminosity of the Sun. It is equal to 3.828 × 10²⁶ W.

  3. To determine the absolute magnitude of the Sun, you can use the following equation:

M=2.5log10(LL0)=2.5log10(3.828×1026L0)=4.74\footnotesize \quad \begin{align*} M &= -2.5 \log_{10}\!\left(\frac{L}{L_0}\right)\\[1.5em] &= -2.5 \log_{10}\!\left(\frac{3.828\times 10^{26}}{L_0}\right)\\ &= 4.74 \end{align*}
  1. Last but not least, you can find the apparent magnitude of the Sun. The distance between the Earth and Sun equals 4.848 × 10⁻⁶ parsecs. After putting this value in the apparent magnitude formula, you will obtain
m=M5+5log10(D)=4.745+5log10(4.848×106)=26.83\footnotesize \quad \begin{align*} m &= M - 5 + 5 \log_{10}(D)\\ &= 4.74 - 5 + 5 \log_{10}(4.848\!\times\!10^{-6})\\ &= -26.83 \end{align*}

The apparent magnitude of the Sun is equal to -26.83.

💡 Similar to luminosity, radiance is another way to measure an object's brightness. Check our laser brightness calculator to learn more about it!

Bogna Szyk
Star radius
Star temperature
Absolute magnitude
Apparent magnitude
Check out 8 similar astrophysics calculators 🌌
Black hole collisionBlack hole temperatureHubble's Law… 5 more
People also viewed…

BMR - Harris-Benedict equation

Harris-Benedict calculator uses one of the three most popular BMR formulas. Knowing your BMR (basal metabolic weight) may help you make important decisions about your diet and lifestyle.

MOSFET threshold voltage

Learn how to calculate the most critical parameter of a MOSFET with our MOSFET threshold voltage calculator.

Mirror equation

The mirror equation calculator helps you find the unknown among the object position, image position, and focal length of a mirror.

Steps to calories

Steps to calories calculator helps you to estimate the total amount to calories burned while walking.
Copyright by Omni Calculator sp. z o.o.
Privacy policy & cookies
main background