Blackbody Temperature of a Star
Enter a star's peak emission wavelength (in nanometers) to estimate its surface temperature via Wien's displacement law and see its visible color.
Peak Wavelength Input
Visible range: 380–700 nm | Infrared: >700 nm | UV: <380 nm
Known stars
Wien's Displacement Law
T = b / λmax
b = 2,897,773 nm·K (Wien's constant)
Temperature Results
Enter a peak wavelength to see the estimated temperature.
Approximate Star Color
Surface Temperature
—
—
Spectral Class
—
—
λmax × T
—
Should equal Wien's constant b = 2,897,773 nm·K
Visible Spectrum Position
380 nm (UV)
700 nm (IR)
Copied!
Summary
Enter a star's peak emission wavelength (in nanometers) to estimate its surface temperature via Wien's displacement law and see its visible color.
How it works
- Enter the peak emission wavelength of the star in nanometers (nm). You can use known values or measure from a stellar spectrum.
- The calculator applies Wien's displacement law: T = b / λ_max, where b = 2,897,773 nm·K.
- The resulting temperature in kelvin is displayed along with its equivalent in Celsius.
- If the peak wavelength falls in the visible range (380–700 nm), a color swatch shows the approximate perceived color.
- The tool also maps the temperature to the Harvard spectral classification (O, B, A, F, G, K, M) and shows a well-known example star.
Use cases
- Determine a star's surface temperature from spectroscopic peak-wavelength data.
- Cross-check stellar classification assignments in astronomy coursework.
- Visualize how a star's color relates to its temperature across the HR diagram.
- Explore the relationship between spectral peak and surface temperature for stellar models.
- Quickly convert observed peak wavelengths from infrared surveys to equivalent temperatures.
- Verify blackbody physics calculations for physics or astrophysics students.
Frequently Asked Questions
Last updated: 2026-06-11 ·
Reviewed by Nham Vu