Stellar Luminosity Calculator

Compute a star's total power output from its radius and temperature.

Physics and EnergyUpdated 2026-11-202 min read
Stellar Luminosity Calculator
One solar radius is about 6.957e8 metres.
Luminosity
...
Relative to the Sun...
Radius in metres...

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

  1. Enter the stellar radius in solar radii.
  2. Enter the effective surface temperature in kelvin.
  3. Read the luminosity in watts in the main result.
  4. Check the value relative to the Sun to see the scale.
  5. Note how strongly temperature affects the answer by changing it slightly.
  6. Try one solar radius and 5,772 K to recover roughly one solar luminosity.

Formula

L = 4 pi R² sigma T⁴, with sigma = 5.670374419e-8 W m^-2 K^-4.
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.

  1. The radius in metres is 6.957e8.
  2. The surface area is 4 pi R squared, about 6.083e18 square metres.
  3. The flux is sigma T to the fourth, about 6.294e7 watts per square metre.
  4. Multiplying area by flux gives about 3.828e26 watts.
  5. Divided by the nominal solar luminosity, that is 1.0000 solar units.
  6. The tool reports luminosity 3.828e26 W, solar 1.0000 and radius 6.957e8 m.
  7. Raising the temperature by 10 percent would multiply the luminosity by about 1.46.

Reference table

Relative luminosity for a Sun like radius at different temperatures
Temperature KRadius solarLuminosity solar
4,00010.2313
5,00010.5647
5,77211.0000
6,50011.6099
10,00019.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

How this page was checked. The formula above was matched against the cited sources, and the worked example was run through the tool on this page before publishing. If you spot an error, contact us so we can fix it and note the correction.