Stellar Luminosity Calculator
Compute a star's luminosity in solar units (L☉) from its radius and surface temperature via the Stefan-Boltzmann law. The fundamental relationship between stellar size, temperature, and total energy output — and the basis of the Hertzsprung-Russell diagram.
Last updated: May 2026
Compare with similar
About this calculator
A star's luminosity L (total radiant power, in watts) follows the Stefan-Boltzmann law applied to a sphere: L = 4πR²σT⁴, where R is the stellar radius in metres, T is the effective surface temperature in kelvin, and σ = 5.67×10⁻⁸ W·m⁻²·K⁻⁴ is the Stefan-Boltzmann constant. The 4πR² is the surface area of the star (assumed spherical); σT⁴ is the radiant flux per unit area from a perfect blackbody. This calculator takes radius in solar radii (R☉ = 6.957×10⁸ m) and returns luminosity normalised to the solar luminosity L☉ = 3.828×10²⁶ W. Variables: radius in R☉; temperature in K. Edge cases: radius and temperature must both be > 0; very small stars (brown dwarfs, L ≪ 1 L☉) and very hot/large stars (supergiants, L up to ~10⁶ L☉) span the full HR-diagram range from less than 10⁻⁴ to over 10⁶ L☉. Real stars deviate from blackbody behaviour modestly (spectral features, limb darkening), but the Stefan-Boltzmann law gives the correct bolometric luminosity within a few percent for main-sequence stars. The relationship explains why temperature has such an outsized effect on luminosity: doubling the temperature multiplies L by 2⁴ = 16, while doubling the radius only multiplies L by 4. A red giant (large R, low T) and an O-type main-sequence star (small R, very high T) can have similar luminosities by trading these factors. The HR diagram plots L vs T and reveals the structure of stellar populations: the main sequence, red giant branch, white dwarf region, etc.
How to use
Example 1 — The Sun. Solar radius = 1 R☉, solar surface temperature = 5778 K. Enter Radius = 1, Temperature = 5778. L = 4π · (6.957×10⁸)² · 5.67×10⁻⁸ · 5778⁴ / 3.828×10²⁶ ≈ 1.0 L☉. ✓ By construction the Sun has luminosity 1 in solar units. Tiny rounding from using 5778 instead of the more precise 5772 K can shift the result by ~0.3%. Example 2 — A hot blue giant. Spica A (the brightest star in Virgo) has radius about 7.4 R☉ and surface temperature about 25,300 K. Enter 7.4, 25300. L ∝ R² · T⁴ relative to Sun = (7.4)² · (25300/5778)⁴ ≈ 54.76 · 367 ≈ 20,100 L☉. ✓ Spica radiates about 20,000 times more power than the Sun despite being only 7.4× larger in radius — the T⁴ dependence on its much higher temperature dominates. Real measurements give about 13,500 L☉ for the visible luminosity but Spica is a binary and most of the bolometric luminosity comes from UV that our eyes don't see, so the rough estimate matches the right order of magnitude.
Frequently asked questions
Why is luminosity so sensitive to temperature?
Because the Stefan-Boltzmann law has temperature raised to the fourth power: L ∝ T⁴ at fixed radius. A 10% increase in temperature multiplies luminosity by 1.10⁴ ≈ 1.46, a 46% increase. A 2× temperature multiplies L by 16; a 3× temperature multiplies by 81. By contrast, radius only enters as R², so doubling R only quadruples L. This is why hot O-type stars (T > 30,000 K) on the main sequence can be 100,000× more luminous than the Sun despite only modest size differences, and why cooler M-dwarfs (T ≈ 3000 K) are extremely dim (~0.01 L☉) despite typically being 0.2–0.5 R☉. The T⁴ dependence is a direct consequence of the blackbody integral: the total radiated power per unit area is the integral of the Planck distribution over all wavelengths, which evaluates exactly to σT⁴.
What's the difference between luminosity and brightness?
Luminosity is intrinsic — the total energy a star emits per unit time, independent of distance. Apparent brightness (or apparent magnitude) is what we observe, depending on luminosity AND distance: brightness = L / (4πd²) for a point source seen across distance d. The same star at twice the distance looks 1/4 as bright, while its luminosity hasn't changed at all. This distinction is foundational in astronomy: to find a star's true luminosity from observations, you need to know its distance (from parallax, spectroscopic methods, or standard candles). The bolometric luminosity (integrated over all wavelengths) is the right quantity to compare across stars of different temperatures; visual luminosity (what we see) misses UV from hot stars and IR from cool stars, sometimes by a factor of 10 or more.
Why don't real stars exactly follow the Stefan-Boltzmann law?
Three main reasons. (1) Real stars aren't perfect blackbodies; they have spectral lines (absorption from atoms in the photosphere) that remove some radiation, and emission features from chromospheres and coronae that add some. The deviation is typically a few percent for main-sequence stars. (2) The "effective temperature" used in the formula is itself defined as the temperature a blackbody of the same radius would need to match the actual luminosity — so by construction the formula is exact in this definition, but the effective temperature differs from the temperature you'd measure at any specific depth in the atmosphere. (3) Stars don't emit uniformly across the surface — sunspots, faculae, gravity-darkening on fast rotators, and binary deformation all introduce small deviations. For most stellar astronomy at the percent level, the Stefan-Boltzmann formula with effective temperature is excellent.
What are common mistakes computing stellar luminosity?
The first is using temperature in Celsius instead of Kelvin — the T⁴ factor amplifies any unit error enormously. The Sun's ~5500 °C and 5778 K differ by less than 5%, but doing the calculation with T = 5500 gives L⁴ off by 11%. The second is confusing radius in solar radii with radius in metres; a radius of 1 R☉ is 6.957×10⁸ m, not 1 m. The third is forgetting that "luminosity" generally means bolometric (all wavelengths) — published visual luminosities are smaller for hot stars (where lots of UV is invisible) and for cool stars (where lots of IR is invisible). The fourth is comparing luminosity to brightness without accounting for distance; a 100 L☉ star at 100 parsecs is dimmer than the Sun at 1 AU. The fifth is forgetting that for variable stars (Cepheids, Miras), L changes by 10–100% over their pulsation cycle, so a single luminosity number means little without specifying the phase.
When should I not use this calculator?
Skip it for objects that aren't close to blackbodies — accretion disks, planetary nebulae, ionised gas clouds, and synchrotron sources radiate via different mechanisms and the Stefan-Boltzmann law doesn't apply. Don't use it for stars in late stages of evolution (planetary nebula central stars, post-AGB stars, white dwarfs cooling) where the visible photosphere may not reflect the bolometric output. It's the wrong tool for stars with strong winds or mass loss (Wolf-Rayet stars, luminous blue variables, red supergiants near the Eddington limit) — the effective "photosphere" is dispersed and ill-defined. Avoid it for very young protostars still embedded in dust (most of the luminosity escapes as IR, not visible), and for variable stars where R and T change on timescales of hours to years. For high-precision research-grade luminosity, use bolometric corrections from spectra and atmospheric models, not the simple blackbody formula.