Stellar Luminosity Calculator
Compute a star's total power output from its radius and temperature.
What it does
The luminosity of a star is the total energy it radiates each second. For a spherical star that radiates like a blackbody, the luminosity follows from its surface area and its surface temperature alone.
NASA's space mathematics notes give the relation L = A x F, with surface area A = 4 pi R squared and flux F = sigma T to the fourth. They emphasise that two stars at the same temperature can differ enormously in brightness if their sizes differ.
UCLA astronomy lecture notes derive the Stefan Boltzmann flux from the Planck distribution and show how it leads to the same fourth power temperature law used here.
This tool accepts a radius in solar radii and a surface temperature in kelvin. It returns the luminosity in watts, the same value divided by a nominal solar luminosity and the radius in metres.
Real stars are not perfect blackbodies. Line blanketing, limb darkening and composition alter the spectrum, so the computed luminosity is an approximation useful for order of magnitude work.
How to use
- Enter the stellar radius in solar radii.
- Enter the effective surface temperature in kelvin.
- Read the luminosity in watts in the main result.
- Check the value relative to the Sun to see the scale.
- Note how strongly temperature affects the answer by changing it slightly.
- Try one solar radius and 5,772 K to recover roughly one solar luminosity.
Formula
- R
- Stellar radius, entered in solar radii and converted to metres.
- T
- Effective surface temperature in kelvin.
- sigma
- The Stefan Boltzmann constant.
- L
- Total radiated power in watts.
The engine uses 6.957e8 metres for one solar radius and 3.828e26 watts for the nominal solar luminosity. Because temperature enters to the fourth power, even a few percent change in T noticeably changes L.
Worked example
Example: a Sun like star
Radius 1 solar radius, surface temperature 5,772 K.
- The radius in metres is 6.957e8.
- The surface area is 4 pi R squared, about 6.083e18 square metres.
- The flux is sigma T to the fourth, about 6.294e7 watts per square metre.
- Multiplying area by flux gives about 3.828e26 watts.
- Divided by the nominal solar luminosity, that is 1.0000 solar units.
- The tool reports luminosity 3.828e26 W, solar 1.0000 and radius 6.957e8 m.
- Raising the temperature by 10 percent would multiply the luminosity by about 1.46.
Reference table
| Temperature K | Radius solar | Luminosity solar |
|---|---|---|
| 4,000 | 1 | 0.2313 |
| 5,000 | 1 | 0.5647 |
| 5,772 | 1 | 1.0000 |
| 6,500 | 1 | 1.6099 |
| 10,000 | 1 | 9.0059 |
Limits
- The blackbody assumption ignores spectral lines and atmospheric effects.
- Input temperature is the effective temperature, not the core temperature.
- The result depends strongly on the chosen solar radius and luminosity constants.
- The tool does not compute apparent brightness as seen from Earth.
Common mistakes
- Entering temperature in Celsius instead of kelvin.
- Using diameter where the formula needs radius.
- Forgetting that luminosity is total power, not brightness in the sky.
- Rounding the fourth power temperature too early.
- Using a core temperature of millions of kelvin instead of the surface value.
Try it yourself
Quick checks. Answers sit tucked under each question.
What is the luminosity of a Sun like star?
About 3.828e26 W, or 1 solar unit, for radius 1 and temperature 5,772 K.
How does luminosity depend on radius?
It scales with radius squared, so doubling radius quadruples luminosity at fixed temperature.
What happens if temperature rises 10 percent?
Luminosity rises by about 1.1 to the fourth power, roughly 1.46 times.
Questions
What is stellar luminosity?
The total energy a star radiates per unit time.
What is the Stefan Boltzmann law?
The flux from a blackbody is proportional to the fourth power of its temperature.
Why does radius matter?
A larger star has more surface area from which to radiate.
Is a star a perfect blackbody?
No, but the approximation is good enough for many order of magnitude estimates.
How is this different from apparent magnitude?
Luminosity is intrinsic power. Apparent magnitude also depends on distance.
Can this be used for planets?
Not for their reflected light, but a similar law describes thermal emission if temperature and radius are known.
Sources
- NASA: Stellar Temperature, Size and Power, Space Math
- UCLA Astronomy, ASTR 127 lecture notes: Stefan-Boltzmann Derivation