Blackbody spectrum and HR diagram explorer
Set a star's temperature and radius; watch its Planck spectrum and its place on the HR diagram.
- 3000 K (red dwarf): peak ≈ 966 nm
- 5772 K (Sun): peak ≈ 502 nm
- 9900 K (hot star): peak ≈ 293 nm
What’s happening
A star’s light is close to that of a black body — an ideal object that emits a spectrum set only by its temperature. Planck’s law gives the brightness at each wavelength:
Two results follow, and both are in every school astrophysics syllabus:
- Wien’s law — the peak wavelength is inversely proportional to temperature: with m K. Hot stars look blue-white, cool stars red.
- Stefan–Boltzmann law — the total power from a star of radius is . Doubling the temperature multiplies the luminosity by 16.
On the Hertzsprung–Russell diagram, stars are placed by temperature (decreasing to the right) and luminosity. Because depends on both and , a cool star can still be very luminous if it is huge (a giant), and a hot star can be faint if it is tiny (a white dwarf).
Assumptions and limits. Real stellar spectra have absorption lines and are not perfect black bodies, so a star’s colour from this model is only approximate.
Try this
Use W and m.
- The Sun. With K, where does the Sun’s spectrum peak?
Answer
nm — in the green part of the visible band. - A red dwarf. A star has K and . Find its peak wavelength and luminosity.
Answer
nm (infrared); . - A hot star. A star has K and . Find .
Answer
. - Same temperature, different radius. Two stars have the same temperature, but one is 100 times more luminous. How do their radii compare?
Answer
at fixed , so the brighter star is 10 times larger.
Learn this with a tutor
Want help with this topic?
A 30-minute trial costs €10. We set goals and you see how I teach. After that, lessons are €30 for 60 minutes, or less with a pack.