Wien's Law Calculator

Peak wavelength (nm)—
Peak wavelength (µm)—
Radiation band—

How Wien's Law Calculator is calculated: λ_max = b ÷ T (Wien's constant b = 2.898 × 10⁻³ m·K)

What is a Wien's Law Calculator?

A Wien's law calculator finds the wavelength where a hot object shines brightest. Wien's displacement law says the peak wavelength is inversely proportional to temperature: hotter objects peak at shorter wavelengths, which is why a cooling ember fades from white to red to invisible infrared. The law lets astronomers measure the temperature of a star from its colour alone, and it explains why the Sun looks yellow-white while a cooler red giant peaks in the infrared. It is one of the most direct links between colour and temperature in physics.

Enter the temperature in kelvin. The Sun's surface is about 5,800 K; a human body is about 310 K; a light-bulb filament is about 2,700 K. The calculator returns the peak wavelength in nanometres and micrometres, and names the radiation band it falls in: ultraviolet, visible, or infrared.

Everything runs in your browser. No account, no sign-up, no data sent anywhere — the numbers you type never leave your device, and you can use the calculator as many times as you like.

One more thing before you start: the defaults on this page are a real, worked example, not random numbers. They are chosen to be typical values for the problem, so the results you see on first load are already meaningful — read them, understand them, and then change the inputs to match your own situation.

How a Wien's Law Calculator works

Wien's law is lambda-max equals b divided by T, where b is Wien's constant, 2.898 × 10⁻³ metre-kelvin. Double the temperature and the peak wavelength halves. The law comes from the shape of the black-body spectrum: as temperature rises, the whole curve shifts toward shorter wavelengths, and its peak moves with it.

With the default of 5,800 K, the Sun's surface, the peak wavelength is 499.6 nm, or 0.5 µm — squarely in the Visible light band. That is no accident: human eyes evolved to see best where sunlight is brightest, which is why visible light sits where it does.

Temperature is entered in kelvin and the wavelength comes out in nanometres and micrometres. One micrometre is 1,000 nanometres. A temperature converter converts Celsius to kelvin first — entering 5,527 °C instead of 5,800 K gives a nearly identical answer here, but only because the numbers are close, not because the units are interchangeable.

It helps to run the calculation in your head once, roughly, before trusting the screen. If the formula says the answer should be near 60 and the calculator says 6, something is off by a factor of ten — usually a unit. That rough check takes five seconds and catches the errors that no amount of precision can fix afterwards.

The the temperature, explained

The temperature is the only input, and the peak wavelength is inversely proportional to it. That simple inverse relationship is what makes the law so useful: measure the peak wavelength of a star's light and you have its surface temperature, with no need to know its distance or size.

The numbers tell the story of colour. At 3,000 K a filament peaks near 966 nm, in the infrared, with only a red tail in the visible — which is why old bulbs wasted most of their energy as heat. At 10,000 K a star peaks near 290 nm, in the ultraviolet, and looks blue-white to the eye.

If the answer looks wrong, check this input first. Most errors in this kind of calculation come from a single mistyped number, not from the formula.

It is worth saying plainly what this input cannot do, too. No single number carries the whole answer: it sets one term of the formula, and the other inputs still matter. A perfect value here does not rescue a sloppy value elsewhere, and a small error here does not ruin an otherwise careful calculation — the formula averages out small mistakes more forgivingly than people expect.

A worked example

Try room temperature: 300 K, roughly the temperature of the walls around you.

The peak wavelength is 9,659.2 nm, or 9.66 µm — deep in the infrared band. Everything at room temperature glows in the infrared, invisible to our eyes but bright to a thermal camera, which is exactly how night-vision and building heat-loss surveys work.

Now try 10,000 K, a hot blue star. The peak is 289.8 nm, in the ultraviolet band. Hotter stars look blue not because they emit only blue light, but because their spectrum peaks in the blue and ultraviolet while still emitting across the visible range.

Who uses it, and why it matters

Astrophysics students use Wien's law to find stellar temperatures from spectra, and to explain why stars have different colours. The classic exam question gives a peak wavelength and asks for the temperature, or the other way round.

Astronomers use it to classify stars: blue stars are hot, red stars are cool, and the peak wavelength gives the temperature directly. Combined with the Stefan-Boltzmann law, temperature plus apparent brightness gives the star's size and distance.

Thermal-imaging engineers use it to choose camera sensors. A human body at 310 K peaks near 9.4 µm, so thermal cameras are built to detect that band — and a frequency converter turns the peak wavelength into the frequency the sensor electronics work with.

There is a pattern across all these uses: the calculation is short, but the decision it informs is not. Nobody opens this calculator for the arithmetic alone — they open it because a number they cannot guess is standing between them and a choice about an engine, a diet, a workout, or an exam answer. The calculator removes the arithmetic so the choice itself gets the attention.

Wien's Law Calculator vs Energy Converter

An energy converter converts an energy between units. Wien's law finds the peak wavelength of thermal radiation from a temperature. One is a unit tool; the other is a physics law linking temperature to colour.

Use the Wien's law calculator when the question gives you a temperature and asks where the spectrum peaks, or gives a peak wavelength and asks for the temperature. Use the energy converter when you already have an energy and need it in different units.

They connect through the photon: the peak wavelength gives the energy of the most common photons through E equals h c over lambda, and the energy converter expresses that energy in whatever unit the problem wants.

Common mistakes

The most common mistake is entering the temperature in Celsius. At 300 K the peak is about 9,660 nm, but entering 27 instead gives 107,000 nm — off by a factor of eleven, because the law needs absolute temperature. The second mistake is thinking the peak wavelength is the only wavelength emitted. A blackbody radiates across the whole spectrum; the peak is just where it is brightest. The Sun peaks in green light but radiates plenty of red and blue too.

A third mistake is assuming a hotter object looks red. It is the opposite: hotter objects peak at shorter wavelengths, so they look bluer. A red star is cool, around 3,000 K; a blue star is hot, around 10,000 K or more.

Finally, people confuse Wien's law with the Stefan-Boltzmann law. Wien's law gives the peak wavelength; Stefan-Boltzmann gives the total power. Both depend on temperature, but they answer different questions. Treat the result as a good estimate, not a final verdict. The maths is exact, but the inputs are only as good as the numbers you type — measure carefully, and check anything that will drive a real decision against a second source.

One more trap deserves a mention: rounding too early. If you round an intermediate result to two significant figures and then feed it into the next step, the final answer can drift by more than the rounding you intended. Keep full precision through the working and round only the final answer — which is exactly what this calculator does internally.

How to use this Wien's Law Calculator

Enter the temperature in kelvin. The peak wavelength and its radiation band appear instantly. Try 300 K, 2,700 K, and 5,800 K to see the peak move from infrared through red to visible green.

Start with the default values to see how the calculator behaves, then change one input at a time. Watching a single number move teaches you more about the relationship than changing everything at once.

Wien's law describes ideal blackbodies. Real objects have spectra with bumps and dips from their materials, but the peak still follows the temperature closely enough for stellar classification and thermal imaging.

A good habit is to run the calculation twice with slightly different inputs — a low estimate and a high estimate of the number you are least sure about. The spread between the two answers tells you how much that uncertainty matters. If the answers barely differ, the guess was harmless; if they differ wildly, that input deserves a proper measurement.

One habit that pays off over time is keeping a short note of the inputs you used and the answer you got. When the same question comes up again — a different engine, a different meal, a different lifter — you can compare the new answer with the old one instead of starting from scratch. Patterns show up in a log that a single calculation never reveals: the engine that is always near its limit, the meal that always overshoots, the lift that has stalled for a month.

Frequently Asked Questions

It says the peak wavelength of blackbody radiation equals Wien's constant (2.898 × 10⁻³ m·K) divided by the absolute temperature. Hotter objects peak at shorter wavelengths: the Sun at 5,800 K peaks near 500 nm, while room-temperature objects peak near 9,660 nm in the infrared.

Because the peak wavelength shifts shorter as temperature rises. A cool star at 3,000 K peaks in the infrared and looks red; a hot star at 10,000 K peaks in the ultraviolet and looks blue-white. Colour is a thermometer.

Because at 300 K they peak at about 9,660 nm, deep in the infrared, far beyond the 380–750 nm range human eyes detect. A thermal camera sees that glow clearly, which is how night vision and heat-loss surveys work.

Wien's law gives the wavelength where a hot object shines brightest; the Stefan-Boltzmann law gives the total power it radiates. Wien's law depends on 1 ÷ T, while Stefan-Boltzmann depends on T⁴.

More free tools

More calculators and utilities from Sortrun — free, no sign-up.