Stefan-Boltzmann Law Calculator
Compute the luminosity of a blackbody from its radius and temperature using L = 4πR²σT⁴. Solve for luminosity, radius, or temperature. Step-by-step math, a live star schematic with the photosphere-to-space energy flux, and companion metrics including peak wavelength (Wien's law), spectral class, and habitable zone distance.
Luminosity is total radiated power
L is the total electromagnetic power radiated by the body in all directions, measured in watts. For a star, L is the fundamental quantity that determines its brightness as seen from Earth (apparent magnitude) and its position on the Hertzsprung-Russell diagram. The Sun's luminosity is L☉ = 3.828×10²⁶ W, which is the reference unit for all stellar luminosities.
T⁴ makes temperature dominant
Luminosity depends on the fourth power of temperature. Doubling the temperature multiplies luminosity by 16, while doubling the radius only multiplies it by 4. This extreme sensitivity is why hot massive stars can be millions of times more luminous than cool red dwarfs of similar size — and why a small temperature error produces a large luminosity error.
Radius sets the radiating area
The factor 4πR² is the surface area of the sphere through which energy escapes. A larger star has more surface area and therefore radiates more total power at the same temperature. Red giants are cool (3000–4000 K) but enormous (R ~ 10–100 R☉), which is why they are still thousands of times more luminous than the Sun despite their low temperature.
Pairs with Wien's law for spectra
Stefan-Boltzmann gives the total power; Wien's displacement law λpeak = b / T gives the wavelength at which that power peaks. Together they define the entire blackbody spectrum. For the Sun, T = 5778 K gives λpeak ≈ 502 nm (green-blue), which is why sunlight appears white but peaks in the visible band.
How to Use This Calculator
The Stefan-Boltzmann law links luminosity, radius, and temperature. Pick which quantity you want the tool to solve, then fill in the other two.
1. Choose what to solve for
Pick L, R, or T from the toggle. The calculator rearranges L = 4πR²σT⁴ automatically for whichever you choose.
2. Use realistic presets
Presets cover typical stellar values: red dwarf, Sun, Sirius A, and blue giant. The default Sun values (R = 6.96×10⁸ m, T = 5,778 K) give L = 3.828×10²⁶ W.
3. Use SI units
Radius in metres, temperature in kelvin, luminosity in watts. σ = 5.670374419×10⁻⁸ W·m⁻²·K⁻⁴ is a fundamental constant. The hints show solar-radius and Celsius equivalents.
4. Read the result and verdict
The result card shows luminosity in watts plus the L/L☉ ratio. A colour-coded verdict classifies the body from dim red dwarf through solar-class, bright, supergiant, and hypergiant.
5. Check the schematic and charts
The schematic shows the star with radiating arrows, surface flux, and total luminosity. The chart plots L vs. T at fixed R, highlighting the current point.
6. Switch to Advanced for depth
Advanced mode adds a chart of L vs. R at fixed T, a sensitivity check on a +1% input change, and companion metrics including Wien peak wavelength, spectral class, absolute magnitude, and habitable zone distance.
What This Tool Offers
Built around the Stefan-Boltzmann law L = 4πR²σT⁴, the fundamental relationship between a blackbody's size, temperature, and total radiated power.
Three-way solving
Solve for luminosity, radius, or temperature. The calculator rearranges the formula for whichever variable you choose.
Live stellar schematic
A star radiating energy with the surface flux σT⁴, surface area 4πR², and total luminosity arrows, plus a readout of the full calculation.
Stellar-class verdict
Each result is classified from dim red dwarf through solar-class, bright, supergiant, and hypergiant with a coloured badge.
Companion metrics
Wien peak wavelength, spectral class, absolute magnitude, habitable zone distance, and L/L☉ ratio are computed and displayed alongside L.
Dual comparison charts
Luminosity vs. temperature at fixed R, plus an advanced luminosity vs. radius chart at fixed T.
Reference tables
Stellar classification, typical radii and temperatures, and a full variable reference table with physical constants.
Reference Tables & Conversions
Luminosity classes, stellar parameters, and blackbody constant reference.
Luminosity class lookup (relative to Sun)
Stellar Parameters Lookup (Main Sequence)
Typical effective temperature, radius, and luminosity for main-sequence stars by spectral class.
| Class | T (K) | R (R☉) | L (L☉) | λpeak (nm) |
|---|
Typical Radii and Temperatures by Object Type
Representative values for astronomical bodies, from planets to supergiants.
| Object | Radius (m) | Temperature (K) | Luminosity (W) | Notes |
|---|---|---|---|---|
| Earth | 6.371×10⁶ | 288 | ≈ 2.0×10¹⁷ | Blackbody emission of the planet |
| Red dwarf (M-type) | 1.4×10⁸ | 3,200 | ≈ 8.0×10²³ | Coolest main-sequence stars |
| Sun (G-type) | 6.96×10⁸ | 5,778 | 3.828×10²⁶ | Reference star, 1 L☉ |
| Sirius A (A-type) | 1.19×10⁹ | 9,940 | ≈ 9.7×10²⁷ | Brightest star in the night sky |
| Blue giant (O-type) | 1.0×10¹⁰ | 30,000 | ≈ 4.6×10³¹ | Massive, short-lived |
| Red giant | 3.5×10¹⁰ | 3,500 | ≈ 2.5×10²⁹ | Evolved low-mass star |
| Red supergiant (Betelgeuse) | 6.0×10¹¹ | 3,600 | ≈ 1.0×10³¹ | End-stage massive star |
| White dwarf | 8.5×10⁶ | 12,000 | ≈ 1.0×10²⁴ | Stellar remnant, Earth-sized |
| Neutron star | 1.2×10⁴ | 600,000 | ≈ 1.0×10²⁶ | Extremely hot and compact |
Physical Constants
| Symbol | Name | Value | Units |
|---|---|---|---|
| σ | Stefan-Boltzmann constant | 5.670374419×10⁻⁸ | W·m⁻²·K⁻⁴ |
| π | Pi | 3.14159265358979 | — |
| b | Wien displacement constant | 2.897771955×10⁻³ | m·K |
| L☉ | Solar luminosity | 3.828×10²⁶ | W |
| R☉ | Solar radius | 6.957×10⁸ | m |
| T☉ | Solar effective temperature | 5,772 | K |
| AU | Astronomical unit | 1.495978707×10¹¹ | m |
Variable Reference
| Symbol | Meaning | Typical range | Units |
|---|---|---|---|
| L | Luminosity | 10²³ – 10³² | W |
| R | Radius | 10⁴ – 10¹² | m |
| T | Effective temperature | 100 – 10⁶ | K |
| σ | Stefan-Boltzmann constant | 5.670×10⁻⁸ | W·m⁻²·K⁻⁴ |
| F | Surface flux (σT⁴) | — | W·m⁻² |
| A | Surface area (4πR²) | — | m² |
What Does L = 4πR²σT⁴ Measure?
The Stefan-Boltzmann law describes how much electromagnetic power a blackbody radiates in total, across all wavelengths and in all directions. It connects three quantities: the luminosity L (total power output in watts), the radius R (which sets the radiating surface area), and the effective temperature T (which sets the intensity of radiation per unit area). For stars, this law is the foundation of the Hertzsprung-Russell diagram and the primary way astronomers infer stellar sizes and temperatures from observed luminosities.
Stefan-Boltzmann Formula
The defining relationship is:
Rearranged to solve for the other two unknowns:
T = ( L / (4πR²σ) )^(1/4)
The surface flux (power radiated per unit area) is:
And Wien's displacement law gives the peak wavelength of the emitted spectrum:
Stefan-Boltzmann Variables
| Symbol | Meaning | Notes |
|---|---|---|
| L | Luminosity | Total radiated power in watts |
| R | Radius | Radius of the radiating sphere in metres |
| T | Effective temperature | Photospheric temperature in kelvin |
| σ | Stefan-Boltzmann constant | 5.670374419×10⁻⁸ W·m⁻²·K⁻⁴ |
| F | Surface flux | σT⁴, power per unit area |
| A | Surface area | 4πR², total radiating area |
How Each Variable Affects Luminosity
Luminosity scales linearly with surface area, which is proportional to R². So doubling the radius quadruples the luminosity. Luminosity scales with the fourth power of temperature, so doubling T multiplies L by 16. This extreme temperature dependence is the defining feature of the Stefan-Boltzmann law: a small change in temperature produces a dramatic change in total power output.
This asymmetry explains the diversity of stellar luminosities. Cool red dwarfs (T ≈ 3,000 K) are extremely dim even when relatively large, while hot blue giants (T ≈ 30,000 K) are millions of times more luminous than the Sun. Red supergiants are cool but enormous, achieving high luminosity through sheer size. In every case, the Stefan-Boltzmann law quantifies the trade-off between size and temperature.
Stefan-Boltzmann Calculation Examples
L = 4π × (6.96×10⁸)² × 5.670×10⁻⁸ × (5,778)⁴
L = 4π × 4.845×10¹⁷ × 5.670×10⁻⁸ × 1.115×10¹⁵
L = 3.828×10²⁶ W = 1.000 L☉
R = √( L / (4πσT⁴) ) = √( 3.828×10²⁶ / (4π × 5.670×10⁻⁸ × 1.115×10¹⁵) )
R = 6.96×10⁸ m = 1.000 R☉
T = ( L / (4πR²σ) )^(1/4) = ( 3.828×10²⁶ / (4π × 4.845×10¹⁷ × 5.670×10⁻⁸) )^(1/4)
T = 5,778 K
λpeak = 2.897771955×10⁻³ / 5,778 = 5.016×10⁻⁷ m = 501.6 nm
This is in the blue-green part of the visible spectrum, which is why the Sun appears white.
Frequently Asked Questions
A blackbody is an idealized object that absorbs all incident radiation and emits a continuous spectrum determined only by its temperature. Real objects — including stars — are not perfect blackbodies; they have emissivity ε < 1, and the modified law is L = 4πεR²σT⁴. For most stars, ε is close to 1 in the visible and infrared, so the blackbody approximation is excellent. For planets, emissivity matters more: Earth's effective emissivity is about 0.6, which is why the Stefan-Boltzmann estimate of its surface temperature differs from reality.
The T⁴ dependence comes from integrating the Planck spectrum over all wavelengths. Planck's law gives the spectral radiance of a blackbody at each wavelength, and the peak intensity scales as T³ while the peak wavelength shifts as 1/T. Integrating over the full spectrum produces the T⁴ dependence. The Stefan-Boltzmann law was discovered experimentally in 1879 by Josef Stefan before Ludwig Boltzmann derived it theoretically in 1884 from thermodynamic arguments. Planck's quantum theory later explained it from first principles.
The formula L = 4πR²σT⁴ assumes a sphere, since 4πR² is the surface area of a sphere. For a non-spherical body, replace 4πR² with the actual surface area A: L = AσT⁴. For a cube, A = 6s². For an irregular asteroid, use the measured surface area. For a flat plate radiating from both sides, A = 2 × area. The physics is unchanged — only the geometry factor differs.
Effective temperature Teff is the temperature a blackbody of the same radius would need to have in order to radiate the same total luminosity. For a star, it is defined by L = 4πR²σTeff⁴, where R is the photospheric radius and L is the observed luminosity. The effective temperature is not necessarily the temperature at any specific physical depth in the star — it is the temperature that matches the total energy output. For the Sun, Teff = 5,772 K.
Luminosity L is the total power radiated in all directions. Apparent brightness (flux at Earth) depends on distance d: F = L / (4πd²). So a star with high luminosity can still appear dim if it is far away, and a low-luminosity star can appear bright if it is nearby. Combining the Stefan-Boltzmann law with the inverse-square law allows astronomers to derive distances from measured fluxes and inferred temperatures — an important method in stellar astrophysics.
Yes — the same law governs Earth's thermal emission. Earth absorbs solar radiation and re-emits it as infrared. Balancing absorbed solar power with emitted blackbody power gives an effective temperature of about 255 K (−18 °C). The observed surface temperature is about 288 K (+15 °C) because the atmosphere traps some outgoing infrared radiation — the greenhouse effect. So the Stefan-Boltzmann law sets the baseline, and atmospheric physics explains the difference.
σ = 5.670374419×10⁻⁸ W·m⁻²·K⁻⁴. It is small because the watt is a macroscopic unit and the kelvin is a fairly large temperature step. At room temperature (300 K), the surface flux is only σ × 300⁴ ≈ 459 W/m². At the Sun's surface (5,778 K), it is σ × 5,778⁴ ≈ 6.3×10⁷ W/m² — about 137,000 times larger. The small numerical value of σ reflects the fact that blackbody radiation becomes dominant only at high temperatures.
Variables
| Symbol | Quantity | Unit |
|---|---|---|
| L | Luminosity | W |
| R | Stellar radius | m |
| σ | Stefan-Boltzmann constant | |
| T | Surface temperature | K |
What it means
The Stefan‑Boltzmann law states that the total energy radiated per unit time (luminosity, L) from a blackbody is proportional to the fourth power of its temperature (T) and its surface area (4πR²). The constant σ is the Stefan‑Boltzmann constant. This law is a cornerstone of stellar astrophysics: by measuring a star’s luminosity and temperature, we can determine its radius. It also applies to planets, asteroids, and any body emitting thermal radiation. In cosmology, it is used to model the cosmic microwave background. Understanding this law helps astronomers classify stars and understand their energy output, evolution, and life cycles. It is also used in thermal engineering and climate science.
Worked example
Stefan‑Boltzmann Law (Luminosity) – Two Detailed Examples
Real‑World| Parameter | Value |
|---|---|
| R (m) | 6.96e8 |
| σ (W/m²·K⁴) | 5.6704e-8 |
| T (K) | 5778 |
| Parameter | Value |
|---|---|
| R | 7.00e8 |
| σ | 5.6704e-8 |
| T | 10000 |
Common mistakes
- Units: R in metres, T in Kelvin, σ = 5.67×10⁻⁸ W/(m²·K⁴).
- Luminosity: Total power output – in watts.
- Blackbody: Assumes the object is a perfect blackbody – real stars have spectral lines.
- Radius: Use the stellar radius (photosphere).
- Temperature: Effective temperature (surface) – not core temperature.
Applications
The Stefan‑Boltzmann law, L = 4πR²σT⁴, relates the luminosity (L) of a star to its radius (R) and effective temperature (T). This fundamental relation allows astronomers to determine stellar radii from luminosity and temperature, to classify stars, and to understand stellar evolution. By measuring a star's spectrum and distance, its luminosity and temperature can be obtained, and the radius derived. This law is also used to estimate the sizes of planets and brown dwarfs. In exoplanet studies, it helps in modelling the thermal emission of hot Jupiters. Understanding the Stefan‑Boltzmann law is essential for interpreting stellar observations and for building models of stellar structure and evolution.
- Determination of stellar radii and classification (Hertzsprung–Russell diagram)
- Estimation of exoplanet equilibrium temperatures
- Study of stellar evolution and energy generation
- Modelling of brown dwarfs and low‑mass objects
- Understanding of blackbody radiation in astrophysics
Related calculators · Stellar Physics
Recently updated formulas
Suggest an improvement
Found a mistake? Have a better example? Let us know.
You may send up to 3 suggestions per 24 hours.