The Sun’s light, spread across wavelengths, peaks at about 502 nanometers, a blue-green. A human body peaks near 9.5 micrometers, deep in the infrared, invisible but bright enough for a thermal camera. Both numbers come from one line, Wien’s displacement law, which says the peak wavelength of a hot object’s glow is inversely proportional to its temperature. Computing the full Planck curve from the exact SI constants checks the law, shows why a “peak” depends on how the spectrum is plotted, and recovers the Sun’s total power output to four significant figures from nothing but its temperature and size.
The constants
Exact by definition
Since the 2019 redefinition of the SI, three constants that govern thermal radiation are fixed exactly. NIST’s “Meet the Constants” page gives the Planck constant as exactly 6.626 070 15 × 10⁻³⁴ joule-seconds, the speed of light as 299,792,458 meters per second, and the Boltzmann constant as 1.380649 × 10⁻²³ joules per kelvin.
Planck’s law
A perfect absorber and emitter, a blackbody, at temperature T gives off radiation whose brightness at wavelength λ is set by Planck’s law:
B(λ, T) = (2hc² ÷ λ⁵) × 1 ÷ (e^(hc/λkT) − 1)
Every other result in this post follows from that formula and the three constants.

Wien’s law from the formula
Finding the peak
Setting the slope of Planck’s law to zero gives an equation in the single variable x = hc/λkT: x = 5(1 − e⁻ˣ). Solving it numerically gives x ≈ 4.965114. The peak wavelength is then λ_max = hc ÷ (4.965114 kT).
A quick mental version
In everyday units the law is easy to carry around: the peak wavelength in micrometers is about 2,898 divided by the temperature in kelvins. A 300 K object peaks near 9.7 micrometers, a 1,000 K stovetop element near 2.9, a 3,000 K filament near 0.97 and a 6,000 K star near 0.48, just inside the blue-green. Ten times hotter means a peak at one-tenth the wavelength.
Wien’s constant
Putting in the exact constants gives λ_max × T = 2.897772 × 10⁻³ meter-kelvins. That’s Wien’s displacement law: double the temperature and the peak wavelength halves.
The Sun’s peak
NASA’s Sun fact sheet lists the Sun’s effective temperature as 5,772 K. Dividing: 2.897772 × 10⁻³ ÷ 5,772 = 502 nanometers.
Peaks across temperatures
A table from the formula
| Object | Temperature | Peak wavelength | Share of output at 380–750 nm (visible) |
|---|---|---|---|
| Sun’s surface | 5,772 K | 0.502 µm | 43.8% |
| Incandescent filament (typical) | 2,800 K | 1.03 µm | 8.2% |
| Candle-flame range | 1,800 K | 1.61 µm | 0.6% |
| Human skin (typical) | about 306 K | 9.47 µm | essentially 0 |
| Room-temperature wall | 293 K | 9.89 µm | essentially 0 |
The filament, candle and skin temperatures are representative values chosen for illustration; the visible share comes from integrating Planck’s law between 380 and 750 nanometers.
Why bulbs waste energy
At 2,800 K, the peak sits in the near infrared and only about 8 percent of a perfect blackbody’s output falls in the visible band. Most of an incandescent bulb’s power leaves as heat radiation. That’s the physics behind replacing them with LEDs, which don’t rely on heat to make light.
The Sun isn’t mostly visible either
Even the Sun puts only about 44 percent of its blackbody output in the visible range. By the same integration, about 46 percent is infrared beyond 750 nanometers and about 10 percent is ultraviolet below 380.

The peak depends on the axis
A different peak in frequency
Plotting the same spectrum per unit frequency instead of per unit wavelength moves the peak. The frequency version solves x = 3(1 − e⁻ˣ), giving x ≈ 2.821. For the Sun, that peak is at about 339 terahertz, which corresponds to a wavelength of about 883 nanometers, in the near infrared.
Which is right
Both are. The total energy is identical; only the bookkeeping differs. Wavelength bins and frequency bins of equal width cover different stretches of the spectrum, so the “brightest” bin lands in a different place. Statements like “the Sun peaks in green” are true for the wavelength plot and false for the frequency plot.
Why it matters
The often-repeated claim that human eyes evolved to match the Sun’s peak needs care for this reason. A peak is a property of a chosen graph, not of the light alone. What doesn’t depend on the plot is how much energy falls inside the visible band, the 44 percent computed above.
Total power: the Stefan-Boltzmann law
Integrating the whole curve
Adding up Planck’s law over all wavelengths gives the total power radiated per square meter: σT⁴. The Stefan-Boltzmann constant σ follows from the same exact constants: σ = 2π⁵k⁴ ÷ (15h³c²) ≈ 5.6704 × 10⁻⁸ W/m²K⁴.
Checking against the Sun
The Sun’s surface at 5,772 K radiates σT⁴ ≈ 6.29 × 10⁷ watts per square meter. NASA’s fact sheet gives a surface emission of 62.94 × 10⁶ J/m²s, a match. Multiplying by the area of a sphere of radius 695,700 km gives a total luminosity of about 3.828 × 10²⁶ watts. NASA lists the luminosity as 382.8 × 10²⁴ J/s. The blackbody formula, the temperature and the radius reproduce it to four figures.
Why T⁴ is so steep
Doubling the temperature multiplies the output sixteenfold. A filament at 2,800 K radiates about 3.5 million watts per square meter of surface; the Sun’s surface, about twice as hot, radiates about 18 times that.

Sunlight in, earthlight out
Earth’s own blackbody temperature
NASA’s Earth fact sheet lists a solar irradiance of 1,361 watts per square meter at Earth, a Bond albedo of 0.294, and a black-body temperature of 254.0 K. The Stefan-Boltzmann law reproduces that temperature: Earth absorbs 1,361 × (1 − 0.294) over its cross-section and radiates σT⁴ over its whole surface, four times as large. That balance comes out at about 255 K, within about a degree of NASA’s figure.
Two curves that barely overlap
At 254 K, Wien’s law puts Earth’s peak at about 11.4 micrometers. At the 288 K average surface temperature the same fact sheet lists, the peak moves to about 10.1 micrometers. Integrating Planck’s law:
| Spectrum | Share on the other side of 4 µm |
|---|---|
| Sun at 5,772 K | 0.98% of its output is longer than 4 µm |
| Earth at 254 K | 0.038% of its output is shorter than 4 µm |
| Earth at 288 K | 0.145% of its output is shorter than 4 µm |
Why that matters
Sunlight arrives almost entirely at wavelengths shorter than 4 micrometers, and Earth sends its heat back out almost entirely at longer ones. Because the two bands are so cleanly separated, a gas can let sunlight through while absorbing outgoing infrared. That separation, which follows directly from Wien’s law and the two temperatures, is the starting point of the greenhouse effect. The 34-degree gap between the 254 K blackbody figure and the 288 K average surface is the size of the effect NASA’s two numbers imply.
The shape of the Sun’s curve
Measured against its own peak, the Sun’s blackbody curve is still at 87 percent of maximum at 400 nanometers, 93 percent at 600, 79 percent at 700 and 41 percent at 1,000. It falls to half its peak value at about 308 nanometers on the short side and 912 on the long side. The curve is broad and lopsided, dropping steeply toward the ultraviolet and trailing off slowly into the infrared, which is why so much solar energy arrives as infrared despite the green peak.
People as infrared lamps
What skin emits
Skin around 306 K, treated as a blackbody, radiates about 497 watts per square meter. A room at 293 K radiates about 418 back. Taking 1.8 square meters as an illustrative body surface area, the net loss by radiation is about 143 watts. Skin isn’t a perfect blackbody and clothing changes the picture, so this is an upper sketch, but it shows radiation is a major way bodies shed heat.
Thermal cameras
The peak near 9.5 micrometers is why thermal cameras work in the long-wave infrared, roughly 8 to 14 micrometers. Everything at room temperature glows there; warmer objects glow brighter and peak slightly shorter.
Color temperature
Lighting is labeled with a color temperature, such as 2,700 K for warm white. The number names the blackbody temperature whose visible color the light resembles. An LED rated 2,700 K isn’t at 2,700 K; it just looks like something that is. A daylight-rated lamp near 6,500 K borrows its number from a blackbody hotter than the Sun’s surface, which is why it looks cooler and bluer, the reverse of what the word “warm” suggests for the lower numbers.
Sources
- NIST, “Meet the Constants” (2019 SI exact values): https://www.nist.gov/si-redefinition/meet-constants
- NASA NSSDCA, “Sun Fact Sheet” (effective temperature, luminosity, surface emission, radius): https://nssdc.gsfc.nasa.gov/planetary/factsheet/sunfact.html
- NASA NSSDCA, “Earth Fact Sheet” (solar irradiance, Bond albedo, black-body and surface temperature): https://nssdc.gsfc.nasa.gov/planetary/factsheet/earthfact.html
