Stefan-Boltzmann Law and Radiation Pressure
Point a thermometer at the Sun and, without ever touching it, you can read its surface temperature. Aim an infrared camera at a wall and it paints the temperature of every square centimetre. Both tricks rest on a single fact discovered in the nineteenth century: the power a hot body radiates climbs as the fourth power of its absolute temperature. Double the temperature and the glow brightens sixteenfold. That startling steepness is the Stefan–Boltzmann law, and it is nothing more than the thermodynamics of a box full of light. The physics is disarmingly clean. Radiation in equilibrium inside a cavity is a gas — a gas of photons: massless, uncharged, spin-1 bosons with two polarizations, moving at , carrying energy and momentum . Because the cavity walls create and destroy photons at will, their number is not fixed and the chemical potential is pinned at . From those facts the energy density comes out proportional to , and — because photons are ultrarelativistic — the pressure is exactly one third of the energy density, . Both the energy stored in radiation and the pressure it exerts scale as . Remarkably, the power was known before quantum mechanics existed. Boltzmann derived it in 1884 from Maxwell's radiation pressure and the second law alone, fixing the exponent without any . What thermodynamics could not supply was the constant out front — that had to wait for Planck's quantum, which is where the companion article aq-qm-blackbody-radiation-planck-quantum takes over the microscopic story. Here we take that spectrum as given and extract the thermodynamics: the flux that runs every pyrometer, the pressure that props up massive stars against gravity, and the adiabat that cooled the cosmic microwave background from a fireball to 2.7 K.
- Blackbody radiation is a photon gas: massless spin-1 bosons, two polarizations, , dispersion .
- Integrating the Planck spectrum over frequency gives the energy density with — the Stefan–Boltzmann law.
- The flux leaving a small hole is , with .
- Because photons are ultrarelativistic (), the equation of state is — one third, not the two thirds of a non-relativistic gas.
- Boltzmann (1884) fixed the exponent 4 from and the second law alone, long before Planck supplied the constant.
- Key idea: a photon gas has and ; the linear dispersion turns the energy integral into , and the relativistic kinematics forces , so both energy density and pressure grow as the fourth power of temperature.
Treat radiation as a Bose gas of photons with and ; the energy integral gives , and because photons move at their momentum is , so the pressure is exactly one third of the energy density, — both scaling as .
Where this lives today
The flux law (with emissivity ) is the engine of every non-contact thermometer: the forehead scanner at a clinic, the infrared camera on a drone surveying a solar farm for hot cells, the pyrometer reading a furnace too hot to touch. The fourth-power sensitivity is what makes these instruments precise — a small temperature change is a large signal. At the other extreme of scale, radiation pressure sets the maximum steady luminosity of a star (the Eddington limit ), shapes the outflows from the most massive stars and accreting black holes, and — through the , equation of state — defined the expansion of the Universe during its first fifty thousand years. The CMB's near-perfect blackbody spectrum, cooled adiabatically to 2.725 K along the track, is a photon gas you can still measure directly with a radio dish.
The physical picture
Picture the cavity as an orchestra of standing electromagnetic waves. Heating the walls excites more modes and pushes the population toward higher frequencies. Two effects compound: the number of modes available near frequency grows as , and the band of thermally accessible frequencies (those with ) widens in proportion to . Multiply the energy per mode (), the density of modes, and the width of the active band, and the total energy density climbs as . The extra powers beyond a naive equipartition are the price of counting how many modes wake up as the box heats. The hero picture below shows why the pressure is one third of the energy density — the single most important number distinguishing radiation from ordinary gas.
Radiation pressure is the momentum flux of photons bouncing off a wall. Each photon of energy delivers momentum , but only the component along the surface normal, , pushes; and the arrival rate is itself . Averaging over the incoming hemisphere gives exactly . This is the same geometric factor that appears in the kinetic theory of gases — but there the momentum is , whereas here . That swap is the whole story: a non-relativistic gas gives , radiation gives . Because a photon costs no rest energy to make, equilibrium chooses the photon number rather than letting you set it. Minimizing the free energy over forces , so a cavity at temperature holds a fixed, -dependent number — you cannot dial it independently. The payoff figure shows the two headline scalings side by side.
Finally, unlike a solid whose phonon heat capacity saturates at the Dulong–Petit plateau, the photon never levels off: there is no upper cutoff on photon frequencies, so heating always wakes new modes. The photon gas is the Debye model — treated in aq-sm-debye-model-phonons — with its cutoff pushed to infinity.
The core equations
The starting point is the mean occupation of a single radiation mode, which the companion QM article aq-qm-blackbody-radiation-planck-quantum derives from Planck's quantization of the energy exchange. We take it as given and build the thermodynamics on top.
where: — mean number of photons in mode ; ; — polarization index, two values; — chemical potential, zero because photon number is unconstrained. Read physically: this is the ordinary Bose factor with deleted; the deletion is not an approximation but a thermodynamic identity for a gas whose particles can vanish. Multiplying the energy per mode by the number of modes and their occupation, and expressing the mode count with two polarizations, gives Planck's spectral energy density — again, the object aq-qm-blackbody-radiation-planck-quantum owns and states as ; in angular frequency it reads:
where: — energy per unit volume per unit angular frequency; the is the mode density times the energy ; the denominator is the Bose factor. This spectrum peaks at (Wien's displacement law) and its low- and high-frequency wings recover Rayleigh–Jeans and Wien. Summing the spectrum over all frequencies collapses it to a single number that carries all the temperature dependence — the Stefan–Boltzmann law. This is where the thermodynamics of the photon gas begins.
where: — total electromagnetic energy density; — the radiation constant; — Boltzmann constant. The whole climbs out of the frequency integral: three powers of from the mode band-width scaling, one from the energy per mode. The energy escaping a small hole in the cavity is the isotropic flux projected onto the outward normal, giving the geometric factor :
where: — energy radiated per unit area per unit time from a black surface; — the Stefan–Boltzmann constant; — the fraction of isotropic energy density crossing a unit area outward per unit time. As the QM owner memorably puts it, "is , , and in a trench coat" — not a new constant of nature, but a combination. The equation of state closes the thermodynamics. Because photons are ultrarelativistic, the pressure is one third of the energy density:
where: — pressure of the isotropic radiation. The factor is the hemisphere average combined with ; contrast the non-relativistic . Everything else follows from the free energy of the boson gas, , giving and .
We want the total energy density at temperature : the integral of the Planck spectrum over all frequencies. The strategy is to render the temperature dependence explicit with a dimensionless substitution, so that everything reduces to a pure number — the Bose integral — times . The one subtlety is recognizing that this integral is a standard form; watch for the common slip of dropping the factor . The constant that emerges is exactly what Boltzmann's thermodynamic argument could not supply.
Step 1. Sum the Planck spectral density over all frequencies. . Why: total energy density is the spectrum integrated over its whole support; photons have no frequency ceiling, so the range is .
Step 2. Substitute , so and :
Why: this pulls all four factors of out front — three from minus the one already visible — and leaves a pure number.
Step 3. Evaluate the standard Bose integral:
Why: by expanding and integrating term by term; with , and . This is the identical integral the QM owner evaluates for the same photon gas.
Step 4. Collect:
Why: identifying the prefactor as the radiation constant completes the law. Thermodynamics fixed the power 4; the quantum integral fixed the number . *Verified numerically in verify_stefan-boltzmann-radiation-pressure.py: and , reproduced from to CODATA precision; the Bose integral confirmed .*
Go deeper · Derivation B · 1 minThe equation of state P equals u over three
We show directly that radiation pressure is one third of the energy density — the fact that most sharply separates a photon gas from an ordinary one. The clean route is the grand potential of the boson gas: integrating by parts converts the logarithm into the energy integral and produces exactly, whence . A second, purely kinematic route via the box-scaling gives the same and makes clear that the number is set by the linear dispersion, not by any detail of the spectrum.
Step 1. Write the grand potential of the photon gas (, two polarizations):
Why: for bosons ; converting the mode sum to a frequency integral introduces the density of states.
Step 2. Integrate by parts with and (so ). The boundary term vanishes at both ends, leaving
Why: the surviving integral is exactly the total energy from Equation (3); the comes entirely from the antiderivative of .
Step 3. For a homogeneous system , so
Why: combining with gives the ultrarelativistic equation of state.
Step 4. Confirm kinematically. In a box of side each mode has , so
Why: for ; a non-relativistic gas has , giving and hence . The exponent in the dispersion is precisely the numerator of the pressure fraction. *Verified in verify_stefan-boltzmann-radiation-pressure.py: the integration-by-parts identity confirmed numerically, and the box-scaling coefficient gives for (photon) and for (non-relativistic).*
Go deeper · Derivation C · 1 minBoltzmann's thermodynamic route to the fourth power
Here is the historical gem: the law without a single quantum. In 1884 Boltzmann derived it from Maxwell's result and the second law alone. The strategy uses one thermodynamic identity relating to the pressure, feeds in the two radiation facts ( and ), and integrates the resulting ordinary differential equation. The power 4 falls out entirely from the equation of state; the constant stays undetermined — exactly the gap the quantum integral above fills.
Step 1. Start from the exact thermodynamic identity (a consequence of and a Maxwell relation):
Why: this holds for any simple substance; it converts a statement about energy into a statement about how pressure varies with temperature.
Step 2. Insert the radiation properties (so ) and with only:
Why: the energy density depends only on temperature, so the partial derivatives become ordinary derivatives of .
Step 3. Rearrange and integrate:
Why: the factor 4 in the exponent is literally the over from the equation of state. Change to and the exponent would become 5 — the power is a fingerprint of ultrarelativistic kinematics. *Verified in verify_stefan-boltzmann-radiation-pressure.py: the exponent 4 is forced by and the identity; quantum statistics enters only in the constant .*
Limiting cases
The single law controls a wide range of regimes through its derived quantities.
| Case | Result | Meaning |
|---|---|---|
| Low frequency (Rayleigh–Jeans) | Classical equipartition per mode; integrated to it diverges — the ultraviolet catastrophe the Planck factor cures. | |
| High frequency (Wien tail) | Exponentially frozen; the spectrum peaks at (Wien's displacement). | |
| Equation of state | Ultrarelativistic; at fixed the pressure is independent of volume, unlike . | |
| Non-relativistic contrast | Same geometry, but instead of — the source of the vs . | |
| Adiabatic expansion | Polytropic index ; describes the redshift cooling of the CMB. |
Worked examples
1 · The Stefan–Boltzmann constant and the Sun's surface flux (confidence builder)
We first check that the constant really is in combination, then use it to read the Sun's surface temperature backwards from its brightness.
Step 1. Assemble the radiation constant from fundamental constants: . Plugging , , gives .
Step 2. The flux constant is — the tabulated value, recovered with no fitting.
Step 3. The Sun's photosphere is K. Its emitted flux is . Now , so — 63 megawatts off every square metre of the solar surface.
Step 4. The steepness is the point: a sunspot at K radiates as much per unit area — which is why sunspots look dark against the photosphere despite being white-hot. The fourth power turns a 30 % temperature drop into a fourfold dimming.
2 · Radiation pressure inside the Sun and in the cosmic microwave background (exam level)
Now we compare radiation pressure to gas pressure where it matters — a stellar core — and compute the energy density of the oldest light in the Universe.
Step 1. At the Sun's centre K. The radiation pressure is . With , this is — about atmospheres of pressure from light alone.
Step 2. The gas (ideal) pressure there is Pa, so radiation contributes a percent-level fraction in the Sun — but the scaling means that in a star ten times more massive, with a hotter core, radiation pressure dominates and sets the Eddington luminosity ceiling.
Step 3. For the cosmic microwave background, K. The energy density is . With , .
Step 4. The corresponding radiation pressure is Pa — utterly negligible today, but in the hot early Universe (with and thousands of times larger) it was the dominant term in the cosmic equation of state, and its adiabat governed the expansion during the radiation-dominated era.
Origins · 1 minradiation pressure and how this was discovered
That light carries momentum, and hence pressure, was predicted by Maxwell from electromagnetic theory in 1873 — the pressure equals the energy density over for a directed beam, and for isotropic radiation. It was measured only in 1901, by Pyotr Lebedev in Moscow and independently by Ernest Nichols and Gordon Hull in the United States, using delicate torsion balances against the pressure of a light beam. The same propels solar sails today and, scaled up by , holds massive stars against their own gravity.
Going further
References. Pathria & Beale, Statistical Mechanics, 3rd ed., Ch. 7 (The Theory of the Photon Gas) · Kardar, Statistical Physics of Particles, Ch. 7 · Reif, Fundamentals of Statistical and Thermal Physics, Ch. 9 · Landau & Lifshitz, Statistical Physics Part 1, §63 (Black-body radiation) · Sethna, Statistical Mechanics: Entropy, Order Parameters, and Complexity, Ch. 7.
Provenance. Equations and constants standard in Pathria & Beale Ch. 7, Kardar Ch. 7, Landau–Lifshitz §63. A verifier should recompute: (i) the Bose integral ; (ii) and (CODATA); (iii) the integration-by-parts identity yielding ; (iv) the Wien peak . All confirmed in verify_stefan-boltzmann-radiation-pressure.py. CMB values use K.
Builds on: Photon Gas and Planck Radiation Law · Density of States for Free Particles · Bose-Einstein Condensation in the Ideal Gas · aq-qm-blackbody-radiation-planck-quantum. Leads to: Thermodynamics of the BEC Transition · Degeneracy Pressure of Fermions.
Why exactly is the chemical potential of the photon gas zero, and not just small?
It is exactly zero as a matter of thermodynamic principle, not approximation. Photon number is not conserved — cavity walls absorb and re-emit them freely — so at fixed and the system is free to adjust to minimize its free energy. Equilibrium is reached at , and that derivative is the chemical potential. A nonzero would require an externally enforced number conservation, which a plain cavity does not have. (Engineered photon condensates in dye-filled microcavities create an effective conservation and can behave differently, but that is a special driven system, not equilibrium blackbody radiation.)
A photon gas and a monatomic ideal gas have the same energy density u. Which exerts more pressure?
The monatomic gas, by a factor of two: it has while radiation has . The difference is entirely kinematic. Both pressures come from the same geometric average of momentum transfer over incidence angles, but the momentum itself differs: a non-relativistic particle carries with , whereas a photon carries . Tracking that difference through the momentum-flux integral produces the versus . It is the same watershed you meet for an ultrarelativistic Fermi gas in aq-sm-degeneracy-pressure-fermions.
Where does the factor c∕4 in the flux law j = (c∕4)u come from?
Photons stream isotropically at speed , but only those moving outward through the hole, and only the component of their velocity along the outward normal, carry energy across the surface. Integrating over the outgoing hemisphere and dividing by the full solid angle gives . So the one-sided energy flux is , and combining with gives with . The is a pure geometry factor, identical to the effusion result in kinetic theory.
Boltzmann derived T⁴ without quantum mechanics — so what did Planck actually add?
Boltzmann's thermodynamic argument fixes the exponent 4 (from the equation of state and the second law) but leaves the constant completely undetermined — thermodynamics has no way to compute an absolute number of that kind. Planck's quantum hypothesis supplied the microscopic spectrum, and integrating it gives in terms of fundamental constants. So the two results are complementary: thermodynamics gives the shape of the law, quantum statistics gives its size. Historically Planck's constant was first extracted from fitting to blackbody data.
Why does radiation pressure become important only in massive stars, if it scales the same T⁴ everywhere?
Because gas pressure and radiation pressure scale differently with temperature and density. Ideal-gas pressure is (linear in ), while radiation pressure is (fourth power). Their ratio grows steeply with temperature and falls with density. Massive stars have hotter, less dense cores, so this ratio can approach or exceed one, and radiation pressure comes to dominate the support against gravity — which is exactly what sets the Eddington luminosity limit and the upper mass cutoff for stable stars.
If the photon number is fixed by temperature, is it conserved during an adiabatic expansion of the CMB?
Yes, to an excellent approximation. In a reversible adiabatic expansion the entropy is constant, so . But the photon number is as well, so it too stays fixed — the photons already present simply redshift together as the volume grows and the temperature falls. This is why the CMB retains a blackbody spectrum as the Universe expands: no photons are created or destroyed, each just stretches, and a redshifted blackbody is still a (cooler) blackbody.
The photon C_V grows as T³ forever — doesn't that violate the third law or run away?
No. The third law requires as , and obeys it beautifully — in fact it vanishes faster than a metal's linear electronic term. The absence of a high-temperature plateau is the honest physics: a solid has a finite number of vibrational modes () so its phonon heat capacity saturates at Dulong–Petit, but a cavity has infinitely many photon modes with no upper frequency cutoff, so heating forever finds new modes to populate. There is no runaway — is perfectly finite at any finite ; it simply never levels off.