Starlight Lab

Estimate a star’s surface temperature from its colour. Move the slider and watch Planck’s law shape the star’s spectrum, its peak wavelength and the energy it radiates.

380 nmTap the spectrum to retune the site’s light750 nm

Sun

Surface temperature
5,772 K
Spectral class
G
Peak wavelength (Wien)
502 nm
Photon energy at peak
2.47 eV
Power per m² vs the Sun
1.00 ×

The scale is logarithmic, from 2,500 K (cool red dwarf) to 40,000 K (hot blue giant).

Temperatures of the named stars are approximate published values. Real stars are close to, but not exactly, blackbodies; their spectra also show absorption lines.

Try this

Three short investigations. Predict first, then check with the lab.

Where does the peak go?

Move from Betelgeuse to Rigel. The peak wavelength moves from the infrared towards the ultraviolet. Check that the product of peak wavelength and temperature stays close to 2.9 × 10⁶ nm·K: that is Wien’s displacement law.

Why are there no green stars?

Set about 5,800 K. The spectrum peaks in the green, yet the star looks white-yellow, because the curve is broad and our eyes mix all the visible light it emits. A single colour peak does not decide the colour we see.

Double the temperature

Compare 5,000 K with 10,000 K. The power radiated per square metre rises sixteen times, because it grows as T⁴: the Stefan–Boltzmann law. Hot stars are far more luminous for their size.

The physics behind the colours

The same constant h that you measure in the Planck’s constant LED lab sets the shape of every star’s spectrum.

Planck’s law

Bλ(T) = 2hc²λ⁵ · 1ehc/λkT − 1

Spectral radiance of a perfect emitter at temperature T. It explains the full shape of the curve.

Wien’s displacement law

λmax T = b ≈ 2.898 × 10⁻³ m·K

Hotter bodies peak at shorter wavelengths, so hot stars look blue and cool stars look red.

Stefan–Boltzmann law

F = σT⁴

Total power radiated per unit area, with σ = 5.67 × 10⁻⁸ W m⁻² K⁻⁴. With the star’s radius it gives luminosity, L = 4πR²σT⁴.

Why this lab is here

Dr. Parameswara P’s M.Sc. in Physics at Bangalore University (2005) specialised in Astrophysics. Blackbody radiation is where that astrophysics meets the engineering-physics syllabus: it opens the quantum unit, connects to the photoelectric effect and the LED experiment, and is the physics behind solar cells and light-driven photocatalysis.

More learning resourcesPhotoelectric effect

↑ ↓ to moveEnter to open/ or Ctrl K opens search on any page