Blackbody Radiation Calculator

Introduction

Blackbody radiation is one of the most useful ideas in thermal physics because it gives a clean, ideal standard for how hot objects emit light. A perfect blackbody absorbs all incoming electromagnetic radiation and re-emits energy according only to its temperature. Real materials are never perfect, but many systems come close enough that the blackbody model becomes an excellent first approximation. Heated metal, furnace walls, thermal cameras, planets, and stars all reveal behavior that can be compared to a blackbody curve. That makes this calculator practical, not just theoretical. When you enter a wavelength and a temperature, you are asking a very specific question: for an ideal emitter at this temperature, how much radiant power appears at that wavelength?

The answer comes from Planck's law, one of the landmark results of modern physics. It describes how radiation is distributed across wavelengths, so it does more than tell you that hotter objects glow more brightly. It also tells you where in the spectrum that glow is concentrated. Cool objects mostly radiate in the infrared, while hotter ones push more of their output toward the visible or ultraviolet. That shift explains why a dim red-hot surface looks different from the white glare of a much hotter lamp filament or the bluish light of a hot star. The calculator below helps you see that relationship numerically, with wavelength entered in nanometers and temperature entered in kelvins.

How to Use

Using the calculator is straightforward, but it helps to know what each input means. The wavelength field expects a value in nanometers, abbreviated nm. One nanometer is one billionth of a meter, so 500 nm lies in the visible part of the spectrum, around green light. The temperature field expects kelvins, abbreviated K. Kelvin is the absolute temperature scale used in physics, where 0 K is absolute zero. Everyday room temperature is roughly 293 K, a glowing filament may be a few thousand kelvins, and a star like the Sun has an effective surface temperature near 5778 K.

  1. Enter a wavelength in nanometers. Try a visible wavelength such as 450 nm, 500 nm, or 650 nm, or choose an infrared value such as 1000 nm.
  2. Enter a temperature in kelvins. For example, 3000 K is a hot filament, 5778 K is Sun-like, and 12000 K represents a much hotter blue-white star.
  3. Click Compute Spectral Radiance to evaluate Planck's law.
  4. Read the result table, which reports your input wavelength, the temperature, the spectral radiance, and the Wien peak wavelength for that temperature.

The result is given in watts per steradian per square meter per meter of wavelength, written here as W·sr⁻¹·m⁻³. That unit can look intimidating at first, but it simply means the emitted intensity is measured per direction, per emitting area, and per wavelength interval. If you want to explore how a spectrum changes, keep the temperature fixed and vary the wavelength. If you want to compare different objects at one wavelength, keep wavelength fixed and vary the temperature. After a calculation appears, the copy button lets you save a compact summary for lab notes, class exercises, or quick comparisons across several runs.

Formula

The wavelength form of Planck's law gives the spectral radiance of a blackbody. This page already uses the standard expression in MathML, and it is preserved below so the formula remains machine-readable as well as visually readable:

The spectral radiance of a blackbody can be expressed using Planck's law as B ( λ , T ) = 2 h c 2 λ 5 1 e h c λ k T - 1 .

Here h is Planck's constant, c is the speed of light, k is Boltzmann's constant, λ is wavelength, and T is absolute temperature. The first fraction, which contains λ5 in the denominator, pushes the value sharply with wavelength. The exponential term then suppresses short wavelengths unless the temperature is high enough to populate them strongly. Together, those two ingredients create the famous blackbody curve: low at very short wavelengths, rising to a peak, and then falling away again at longer wavelengths.

Because the constants are in SI units, the calculator converts your wavelength from nanometers to meters before computing the result. That internal conversion matters. If you type 500, the script interprets that as 500 nm, then uses 500 × 10-9 m in the equation. This is why the calculator can accept the units people naturally use for optics while still returning physically consistent SI-based radiance values.

To estimate where the curve peaks, the calculator also reports the wavelength from Wien's displacement law:

λmax=bT, where b is Wien's displacement constant. In nanometer form this is often written as roughly 2.898 × 106 nm·K divided by temperature. The idea is simple and powerful: increase the temperature and the peak shifts to shorter wavelengths. That is why hotter stars look bluer and cooler stars look redder, and why ordinary room-temperature objects radiate primarily in the infrared rather than in visible light.

Example

A classic worked example is the Sun. If you enter a wavelength of 500 nm and a temperature of 5778 K, the calculator returns a spectral radiance of about 2.60 × 1013 W·sr⁻¹·m⁻³. It also reports a Wien peak near 5.01 × 102 nm, or about 501 nm. That peak sits in the visible range, which is one reason sunlight is so intense where human eyes are most sensitive. The result does not mean the Sun emits only at 500 nm. Instead, it means that if you look at a narrow slice of the solar spectrum centered on 500 nm, the ideal blackbody model predicts an extremely large radiance there.

Now compare that with a cooler object, such as a 3000 K source. Wien's law puts the peak near 966 nm, which is just beyond deep red and into the near infrared. If you probe that source at 500 nm, the radiance drops far below the solar example because the temperature is not high enough to support as much visible emission. If you instead evaluate the source near 1000 nm, the radiance becomes much stronger. This contrast is exactly what the calculator is meant to reveal: the same physical law explains both the brightness level and the shift of the spectrum across wavelength.

When you build intuition from examples like these, the output table becomes easier to read. A short Wien peak wavelength signals a hot emitter. A long Wien peak wavelength signals a cooler one. And a large spectral radiance at your chosen wavelength tells you that the selected wavelength sits in a strong part of the object's emission curve.

Interpreting the Result

The spectral radiance numbers produced by Planck's law are often very large, especially when the wavelength is near the peak of a hot source. That is normal. Remember that the value is expressed per meter of wavelength, which is a very fine unit when you are thinking in nanometers. If you ever want a rough per-nanometer quantity, multiply the calculator's output by 10-9. Doing so does not change the underlying physics; it only changes the wavelength interval used in the unit.

The most useful way to interpret the calculator is comparatively. At one fixed temperature, sampling many wavelengths sketches out the Planck curve. At one fixed wavelength, comparing temperatures shows how rapidly radiance grows with temperature. If your chosen wavelength is much shorter than the Wien peak, the exponential term suppresses the result. If it is close to the peak, the result becomes large. If it is much longer than the peak, the radiance falls more gently along the long-wavelength tail. The result table therefore gives both a numerical answer and a clue about where that answer sits on the broader spectrum.

Assumptions and Limits

This calculator assumes an ideal blackbody, meaning emissivity is effectively 1 at all wavelengths. Real materials usually emit less efficiently, and many have emissivity that changes with wavelength. A painted metal surface, polished aluminum, soot, and a stellar atmosphere can all depart from the ideal in different ways. So the result here should be read as the blackbody benchmark or upper-limit-style reference for an emitter at the chosen temperature, not as a perfect prediction for every real object.

There are also two common sources of confusion worth noting. First, the wavelength form of Planck's law is not the same as the frequency form written in terms of ν. The peak position depends on which variable you use, so do not convert peak locations casually between wavelength and frequency without using the proper formulas. Second, the calculator expects strictly positive wavelength and temperature values. Zero or negative inputs are not physically meaningful here, so the page validates against them before computing.

Applications in Astronomy and Engineering

In astronomy, blackbody radiation is a first-pass tool for reading the universe. A star's continuum emission often resembles a blackbody closely enough that astronomers can estimate effective temperature from the overall spectral shape. The cosmic microwave background is even more dramatic: it is one of the most precise blackbody spectra ever measured, corresponding to a temperature of about 2.7 K. Thermal models for exoplanets, dust clouds, and stellar remnants also begin with blackbody reasoning before more detailed chemistry and line physics are layered on top.

In engineering, the same math appears anywhere temperature and radiation meet. Infrared thermometers infer temperature from emitted radiation. Thermal imaging cameras compare measured intensities to calibrated curves. Furnace designers care about how much power is radiated at the operating temperature. Lighting engineers, materials scientists, and sensor designers all rely on Planck-style reasoning to decide which wavelengths matter most. Even digital photography depends on related ideas through color temperature and white balance.

The table below gives a few representative examples that connect temperature, peak wavelength, and apparent color for stellar objects that roughly approximate blackbody behavior. It is not a substitute for detailed stellar atmosphere modeling, but it is a helpful reality check when you compare calculator outputs with familiar astronomical objects.

Representative blackbody peaks by stellar type
Star Effective Temperature (K) Peak Wavelength (nm) Approximate Color
Betelgeuse (Red Supergiant) 3,600 805 Deep orange-red
Sun (G-Type Main Sequence) 5,778 502 White with yellow tint
Rigel (Blue Supergiant) 12,000 242 Blue-white

Those examples show the same pattern you will see in your own calculations: cooler sources peak farther to the red and infrared, while hotter sources push toward blue and ultraviolet wavelengths. That shift is one of the most memorable ideas in thermal radiation, and it is easy to explore numerically with a few sample inputs.

Further Exploration

If you want to keep going, pair this calculator with the Wien's displacement, Stefan–Boltzmann, and radiation pressure calculators. Together, they show how temperature affects peak wavelength, total emitted power, and the momentum carried by light. This page focuses on the wavelength-by-wavelength picture, which is often the best place to start when you want to understand what a hot object is actually emitting and why it looks the way it does.

Use nanometers for wavelength and kelvins for temperature. The calculator converts wavelength to meters internally so Planck's law stays consistent with SI constants.

Examples: 450 nm is blue visible light, 500 nm is green, and 1000 nm is near infrared.

Examples: 3000 K is filament-like, 5778 K is Sun-like, and 12000 K is a hot blue-white star.

Enter wavelength and temperature to compute spectral radiance.

Mini-Game: Peak Shift Sprint

This optional canvas mini-game turns Wien's law into a quick spectrometer challenge. Each round gives you a hot source and a glowing target band that marks the predicted peak wavelength. Your job is to stop the scanning detector on that band before time runs out, while avoiding noisy absorption stripes that drift across the spectrum. It is separate from the calculator above, but it reinforces the same idea: hotter sources push their peak left to shorter wavelengths, while cooler sources push it right toward the infrared.

Score0
Time75s
Streak0
Round0
Progress0 hits
Best0

Peak Shift Sprint

Calibrate the detector by stopping the scanline on each source's Wien peak.

  • Tap or click the canvas, or press Space or Enter, to lock the scanner.
  • Land on the glowing target band for points. Avoid the darker noisy stripes.
  • Every 25 seconds the run gets harder: faster scans, more noise, and tighter target bands.

Mission hint: hotter emitters shift left toward blue and ultraviolet; cooler emitters shift right toward red and infrared.

Optional game only. The calculator result above is unchanged.

Stop the scanner on the Wien peak. A good run makes the temperature-to-wavelength relationship feel intuitive almost immediately.

Embed this calculator

Copy and paste the HTML below to add the Blackbody Radiation Calculator | Planck's Law Spectral Radiance to your website.