Blackbody Radiation Calculator

Compute blackbody spectral radiance using Planck's law. Determine peak wavelength (Wien displacement), total radiant exitance (Stefan–Boltzmann), and visualize the spectrum.

Temperature in Kelvin. Wavelength range in micrometers (μm).
☀️ Sun (5778 K)
? Human (310 K)
? CMB (2.725 K)
? Tungsten (2800 K)
? Red giant (3500 K)
Privacy first: All calculations run locally. The spectrum is drawn in your browser – no data leaves your device.

Blackbody Radiation: The Bridge Between Thermodynamics and Quantum Mechanics

A blackbody is an ideal physical object that absorbs all incident electromagnetic radiation, regardless of frequency or angle. When in thermal equilibrium, it emits radiation in a characteristic spectrum that depends only on its temperature. The study of blackbody radiation led Max Planck to introduce the quantum of action h, marking the birth of quantum mechanics. The spectral radiance is given by Planck's law:

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

where h = 6.62607015×10⁻³⁴ J·s, c = 2.99792458×10⁸ m/s, k = 1.380649×10⁻²³ J/K (exact 2019 SI values).

Historical Genesis: From Ultraviolet Catastrophe to Planck's Quantization

At the end of the 19th century, classical physics (Rayleigh–Jeans law) predicted that the spectral radiance would increase indefinitely with frequency – the "ultraviolet catastrophe". In 1900, Max Planck derived an empirical formula that matched experimental data by assuming that energy is exchanged in discrete packets (quanta). This revolutionary idea laid the foundation for quantum theory. Later, Einstein used the quantum concept to explain the photoelectric effect, and the photon was born. Today, blackbody radiation is central to astrophysics (stellar spectra), metrology (defining the kelvin), and remote sensing.

Why Use This Interactive Blackbody Calculator?

  • Astrophysics: Estimate the temperature of stars from their peak wavelength (Wien's law).
  • Thermal imaging: Understand the infrared emission of objects at room temperature.
  • Lighting design: Compare color temperatures of different light sources.
  • Education: Visualize how the spectrum shifts with temperature – the essence of Wien's displacement.

Key Laws Derived from Planck's Formula

Wien's displacement law: λmax · T = b, where b ≈ 2.897771955×10⁻³ m·K (CODATA 2022). This gives the peak wavelength for a given temperature. For the Sun (5778 K), λmax ≈ 0.502 μm (green light).

Stefan–Boltzmann law: The total radiant exitance (power per unit area) is M = σT⁴, with σ = 5.670374419×10⁻⁸ W·m⁻²·K⁻⁴. This law is crucial for stellar luminosity and energy balance.

Approximations: In the long‑wavelength limit (hc/(λkT) << 1), Planck's law reduces to the Rayleigh–Jeans law. In the short‑wavelength limit, it becomes Wien's approximation.

Step‑by‑Step Calculation Guide

  1. Enter the temperature in Kelvin (e.g., 5778 for the Sun).
  2. Adjust the wavelength range (in μm) to zoom in on the region of interest.
  3. Click "Calculate & Plot" – the tool computes the spectrum using Planck's law.
  4. Peak wavelength is found numerically (by scanning the curve) and displayed along with total exitance (σT⁴).
  5. The graph shows spectral radiance (in W·sr⁻¹·m⁻²·m⁻¹) versus wavelength. A vertical red line marks the peak; the visible range is shaded or dashed.

Reference Table: Blackbody Characteristics for Common Sources

Temperatures from NIST and astrophysical data.

Source Temperature (K) λmax (μm) Region
Cosmic microwave background 2.725 1060 microwave
Human body (skin) ~310 9.35 infrared
Tungsten lamp 2800 1.03 near‑IR
Sun (photosphere) 5778 0.502 visible (green)
Blue supergiant (e.g., Rigel) ~12,000 0.24 ultraviolet
Case Study: Estimating the Surface Temperature of a Star

Astronomers measure the spectrum of a star and find that its peak emission occurs at λ = 430 nm (blue). Using Wien's displacement law, the temperature is T = b / λmax ≈ 2.898×10⁻³ / (430×10⁻⁹) ≈ 6740 K. Our calculator with T=6740 K gives a peak at ~0.43 μm, confirming the star is hotter than the Sun. This technique is fundamental for stellar classification (O, B, A, F, G, K, M).

The Physics Behind the Curve: Why Hotter Objects Emit More Blue Light

As temperature increases, the peak wavelength shifts to shorter values (Wien's law). Simultaneously, the area under the curve (total radiance) grows as T⁴ (Stefan–Boltzmann). This explains why a heating element glows red first, then orange, yellow, and finally white as it becomes hotter – the spectrum fills the visible range. The calculator vividly demonstrates this shift.

Common Misconceptions About Blackbody Radiation

  • A blackbody is black in color: False – it emits radiation; "black" refers to perfect absorption. The Sun is approximately a blackbody but appears yellow due to atmospheric scattering.
  • Peak wavelength always lies in the visible: Only for temperatures around 3000–7000 K. Cold objects peak in infrared, hot stars in UV.
  • Planck's law only applies to stars: It applies to any object in thermal equilibrium (ovens, Earth, people).
  • The universe is not a blackbody: The CMB is the most perfect blackbody ever measured, with a temperature of 2.725 K.

Real‑World Applications Across Disciplines

  • Astronomy: Determining stellar temperatures, studying cosmic microwave background.
  • Metrology: Defining the kelvin using the triple point of water and blackbody radiators.
  • Thermal cameras: Calibrating sensors using blackbody references.
  • Climate science: Modeling Earth's radiation budget.

Built on fundamental constants from NIST CODATA – The calculator uses the 2019 SI exact values for h, c, and k (h = 6.62607015×10⁻³⁴ J·s, c = 2.99792458×10⁸ m/s, k = 1.380649×10⁻²³ J/K). Planck's law implementation follows standard references. All results are computed locally in your browser. Last updated March 2025.

Frequently Asked Questions

At 300 K, the peak is around 10 μm, far in the infrared. The human eye cannot detect this; only when the temperature exceeds ~700 K does a faint red glow appear (Draper point).

Spectral radiance Bλ (W·sr⁻¹·m⁻²·m⁻¹) is the power per unit area per unit solid angle per unit wavelength. Exitance M (W/m²) is the total power emitted per unit area into a hemisphere. M = π ∫ Bλ dλ for a Lambertian source.

Wien's displacement law is exact for the peak of the spectral radiance in wavelength. The constant b is derived from setting dBλ/dλ = 0, giving b = hc/(5k) · 1/(W₀) where W₀ is the Lambert W function solution – but the numeric value 2.897772e-3 m·K is very accurate.

At short wavelengths, the exponential term dominates, causing the radiance to drop. At long wavelengths, the λ⁻⁵ factor causes it to drop again. The maximum is a balance between these two trends.

For real objects, multiply the blackbody radiance by the spectral emissivity ε(λ). This tool assumes ε=1 (ideal blackbody). For gray bodies, you can scale the results accordingly.

The NIST CODATA database (https://physics.nist.gov/cuu/Constants/) provides the latest internationally recommended values.
References: NIST CODATA Fundamental Constants; Planck, M. (1901). "On the Law of Distribution of Energy in the Normal Spectrum"; Rybicki, G.B., Lightman, A.P. "Radiative Processes in Astrophysics"; Wikipedia: Black-body radiation.