Luminosity Calculator
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 StefanBoltzmann law. This law states that for a black body, the energy radiated per unit time is equal to:
where:
 $\sigma$ – Stefan Boltzmann constant, equal to 5.670367 × 10^{8};
 $A$ – Surface area of the body (equal to $4\pi R^2$ for spherical objects); and
 $T$ – Temperature of the body, expressed in Kelvins.
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:
where:
 $L$ – Luminosity of the star;
 $R$ – Star's radius;
 $T$ – Star's temperature, measured in kelvins;
 $L_{\bigodot}$ – Luminosity of the Sun, equal to 3.828 × 10²⁶ W;
 $R_{\bigodot}$ – Sun's radius, equal to 695,700 km; and
 $T_{\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:
where:
 $M$ – Absolute magnitude of the star; and
 $L_0$ – Zeropoint 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:
where:
 $m$ – Apparent magnitude of the star; and
 $D$ – 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.

Input the radius and temperature of the Sun into the calculator. The radius equals $R_{\bigodot} = \text{695,700 km}$, and the temperature is $T_{\bigodot} = 5778\ \text K$.

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

To determine the absolute magnitude of the Sun, you can use the following equation:
 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
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!