Home / Learn / Science / Astronomy / Lesson 1.2
All lessons

Module 1: Light: the messenger · Lesson 1.2 · about 25 min

Blackbody radiation: a star's colour is its temperature

Hot things glow, and the hotter they are the bluer and brighter they glow. Wien's law gives a star's temperature from its colour, and the Stefan-Boltzmann law gives its power from its size and temperature.

Key points, meanings and formulas on one page: choose "Save as PDF" in the print box.

Module 1 · about 25 minutes · read first: 1.1 The electromagnetic spectrum and the atmosphere’s windows · maths: powers and the T⁴ law. You’ll be able to read a star’s temperature from its colour, work out how much power it gives off, and explain why stars are red, white or blue but never green.

Anything hot glows with a spectrum set only by its temperature: hotter objects peak at shorter, bluer wavelengths (Wien) and give out far more power per square metre (Stefan-Boltzmann, T⁴).

1. Why this matters

You can’t put a thermometer on a star, yet astronomers quote star temperatures to within a few percent. The trick is that hot objects glow in a very predictable way. Learn that pattern and the colour of a point of light becomes a temperature reading, and its brightness plus its distance gives its size.

2. The glow of hot things

Heat a piece of iron and it glows dull red, then orange, then yellow-white. A blackbody is an ideal object that absorbs all light falling on it and gives off light only because it is hot. Stars are close to blackbodies. The shape of their glow depends on one thing: temperature.

Try it: heat the star
peak wavelength (Wien)
power per m² vs the Sun
looks
Each curve is the light given off per square metre of surface at each wavelength by a perfect emitter (a blackbody). Dashed: the Sun's surface temperature, 5,772 K (IAU). The rainbow band is visible light. Hotter bodies are brighter at every wavelength and peak at shorter (bluer) wavelengths. Star colours are approximate; screens can't show them exactly.

Things to notice:

  • Raise the temperature and the curve grows taller at every wavelength.
  • The peak slides to the left (bluer) as it gets hotter.
  • The Sun’s peak sits in green light, but the curve is so wide that the mixture looks white.

Heat a lump of iron in a forge and watch its glow change:

Room temperature, 300 K. It glows already, but at 10 μm in the infrared, which only a thermal camera sees.
1,000 K. The peak moves to 2.9 μm. The short-wave tail now reaches visible red: the iron glows dull red.
3,000 K, a lamp filament. The peak is near 1 μm. Enough yellow and orange join in to look orange-white. Power per square metre is 81 times what it was at 1,000 K (3⁴).
5,800 K, the Sun's surface. The peak sits near 500 nm, in the middle of what we see, so sunlight looks white.
20,000 K, a hot blue star. The peak is in the ultraviolet at 145 nm. The visible part slopes up to the blue end, so the star looks blue-white.
Maths and principle

Planck’s law gives the shape (power per area, per wavelength, per angle):

Bλ(T)=2hc2λ51ehc/λkBT−1

You won’t need it by hand. Two simple laws come out of it.

Wien’s law (peak wavelength):

λpeak=2.898×10−3 m KT

Stefan-Boltzmann law (total power of a star with radius R), with σ=5.67×10−8 W m⁻² K⁻⁴:

L=4πR2σT4

Try it: the Sun, T=5772 K: λpeak=2.898×10−3/5772=502 nm, green.

3. What it means physically

Temperature is how fast the particles in a gas are jiggling. Faster particles bump harder and give out more energetic photons, so the light shifts to shorter wavelengths. More energetic collisions also happen more often, which is why the total power climbs so steeply, as the fourth power of temperature. A star twice as hot with the same surface area pours out sixteen times the energy.

λpeak = b / T
Wien's law: the wavelength where the glow is brightest, with b = 2.898 × 10⁻³ m K.
σT⁴
Power given out per square metre of surface (σ = 5.67 × 10⁻⁸ W m⁻² K⁻⁴).
L = 4πR²σT⁴
A star's total power: its area times the power per square metre.
Physical meaning
Temperature is how fast atoms jiggle. Faster jiggling shakes out more photons and more energetic ones, so the whole curve grows and slides to the blue. A star's colour is therefore a thermometer you can read from trillions of kilometres away.

“Red stars are hot and blue stars are cool, like taps.” It is the other way round in physics. Taps use red for hot by tradition, but a red star is the coolest kind (about 3,000 K) and a blue star the hottest (20,000 K or more).

4. Worked example

Betelgeuse is a red supergiant at about 3,600 K that shines with roughly 100,000 times the Sun’s power. How big is it?

Rearrange Stefan-Boltzmann for the radius, comparing with the Sun so the constants cancel:

RR⊙=LL⊙(T⊙T)2=100,000×(57723600)2=316×2.57=813

About 800 times the Sun’s radius, wider than the orbit of Mars. Its peak wavelength is 2.898×10−3/3600=805 nm, in the infrared, which is why it looks orange-red.

5. Practice

More practice (answers below):

  1. Sirius is about 9,900 K. Where does its light peak?
  2. Your body is about 310 K. Where does it glow brightest, and can you see it?
  3. A star has the Sun’s temperature but 10 times its radius. How much more power does it give off?
Answers
  1. 2.898×10−3/9900=293 nm, in the ultraviolet. Sirius looks blue-white.
  2. 2.898×10−3/310=9.3 μm, far infrared. Thermal cameras see it; eyes can’t.
  3. L∝R2, so 102=100 times.
  • A blackbody’s spectrum depends only on its temperature.
  • Wien: λpeak T = 2.898 × 10⁻³ m K, so colour gives temperature.
  • Stefan-Boltzmann: power per area ∝ T⁴; luminosity L = 4πR²σT⁴.
  • Knowing L and T gives a star’s radius without seeing its disc.

Try it with real numbers: plot any temperature’s curve with the blackbody calculator.

New words: blackbody, Planck’s law, Wien’s law, Stefan-Boltzmann law, luminosity.

Check yourself

1A star looks blue-white and another looks orange. Which is hotter?
2If a star's surface temperature doubles and its size stays the same, its power goes up by:
3Why are there no green stars?

Sources

  • IAU 2015 Resolution B3 (nominal solar values)
  • CODATA 2018 constants (NIST)

Your ticks stay in this browser. Save them as a file on the course home.

Updated 2026-11-22. Numbers in the examples are made up to show the idea unless a source is given. Simulations run in your browser on made-up data; nothing you type is sent anywhere. Astronomy only: nothing here is astrology.