Wien's Law Calculator

By: Calculator Grid

Wien's Law Calculator

Convert among blackbody temperature, peak wavelength, and peak frequency using Wien's displacement relations.

Driving input: temperature Peak wavelength: 501.692 nm Peak frequency: 339.567 THz

The startup example is ready to export.

Inputs

Enter an absolute temperature or a Celsius/Fahrenheit value above absolute zero.

Use the wavelength where spectral radiance per unit wavelength reaches its maximum.

Use the maximum of spectral radiance per unit frequency, not c divided by the wavelength peak.

The last quantity you edit becomes the driving input; the other two are recalculated.

Live results

Black body temperature

5,776 K

Equivalent to 5,502.85 °C

Peak wavelength

501.692 nm

Peak frequency

339.567 THz

Approximate spectral region

Visible light – green

At 5,776 K, the wavelength-form peak is 501.692 nm and the frequency-form peak is 339.567 THz.

Calculation details

Quantity Relation Current value
Wavelength-form peak λmax = bλ ÷ T 501.692 nm
Frequency-form peak fmax = bν × T 339.567 THz
Wavelength displacement product λmax × T 2.8977719 × 10⁻³ m·K
Frequency displacement ratio fmax ÷ T 5.8789232 × 10¹⁰ Hz/K

The two peaks describe different spectral-density functions. Their numerical locations are not related by simply applying f = c/λ to the wavelength-form maximum.

How to use the Wien's law calculator

What this calculator does

This calculator links the absolute temperature of an ideal blackbody to the location of its thermal-emission maximum. It can solve from Black body temperature, Peak wavelength, or Peak frequency. The wavelength result is the maximum of spectral radiance expressed per unit wavelength, while the frequency result is the maximum of spectral radiance expressed per unit frequency. Those are two valid but different descriptions of the same spectrum, so their peak locations are calculated with separate Wien constants. The tool estimates an ideal blackbody relationship; it does not fit a measured spectrum, correct for emissivity, remove absorption lines, or determine total radiated power.

When to use it

Use the calculator to estimate a star's surface temperature from an observed continuum peak, predict the dominant wavelength range of a hot furnace or filament, compare how a thermal peak shifts as temperature changes, or check a laboratory blackbody-source specification. It is most reliable when the source has a smooth, approximately thermal spectrum. OpenStax's explanation of blackbody radiation and Wien's displacement law provides the physical context for the inverse temperature – wavelength relationship.

How to calculate

  1. The calculator opens with a complete Sun-like demonstration: 5,776 K, a wavelength-form peak of 501.692 nm, and a frequency-form peak of 339.567 THz. The example workbook is validated during initialization, so Download Excel is available immediately.
  2. Choose the unit beside the quantity you know. Unit changes convert the current physical value rather than merely relabeling it.
  3. Replace one value. The last edited quantity becomes the driving input, and the other two fields update live from the corresponding Wien relation.
  4. Read Black body temperature, Peak wavelength, Peak frequency, and Approximate spectral region. The calculation table shows both equations and their constant-value checks.
  5. Select Download Excel to export the current canonical values, selected units, assumptions, and notes as a real .xlsx workbook. Reset clears the demonstration and all computed state; export is then disabled until you enter a complete valid quantity again.

Input guide

Black body temperature is a required numeric value when it is the driving input. Select kelvin, Celsius, or Fahrenheit. Plain decimals and scientific notation are accepted, such as 5776 or 5.776e3; comma decimals and grouped numbers are rejected to avoid ambiguous interpretation. Kelvin must be greater than zero, while Celsius and Fahrenheit must be above absolute zero. Increasing temperature shortens the wavelength peak and raises the frequency peak. A common mistake is entering Celsius while the selector remains on kelvin.

Peak wavelength is a required positive numeric value when edited. Select metres, millimetres, micrometres, nanometres, or picometres. A realistic stellar example is 501.7 nm. A longer peak wavelength implies a lower blackbody temperature; a shorter peak implies a higher temperature. Use the peak of radiance per unit wavelength, not an arbitrary visible color or a narrow emission line.

Peak frequency is a required positive numeric value when edited. Select hertz, gigahertz, terahertz, or petahertz. A Sun-like example is about 339.6 THz for the frequency-form maximum. Higher peak frequency implies higher temperature. Do not obtain this input by dividing the speed of light by the wavelength-form peak: changing the spectrum's horizontal variable also changes the density function and therefore the maximum's location.

Output guide

Black body temperature reports the inferred absolute temperature in the selected temperature unit, with a second-line conversion for context. It is an estimate under the blackbody assumption. Values near absolute zero are mathematically valid only above zero kelvin, while very high values push the peak into short-wavelength ultraviolet, X-ray, or gamma-ray regions.

Peak wavelength reports λmax in the selected wavelength unit and is driven by the inverse relation λmax = bλ/T. Peak frequency reports fmax in the selected frequency unit and is driven by the direct relation fmax = bνT. Approximate spectral region classifies the wavelength-form peak as radio, microwave, infrared, visible, ultraviolet, X-ray, or gamma-ray; visible peaks receive a rough color label. Region boundaries are conventional and should be interpreted as orientation rather than a sharp physical transition.

The summary pills repeat the driving input and two peak values for quick scanning. In the table, Wavelength-form peak and Frequency-form peak show the active results; Wavelength displacement product checks that λmaxT equals the wavelength constant; and Frequency displacement ratio checks that fmax/T equals the frequency constant. These last two are exact identities within the constants used by the calculator.

Worked example

For the startup value T = 5,776 K, the wavelength calculation is λmax = 2.8977719 × 10 – 3 m·K ÷ 5,776 K = 5.016918109 × 10 – 7 m, or 501.692 nm. The frequency-form calculation is fmax = 5.8789232 × 1010 Hz/K × 5,776 K = 3.39566604032 × 1014 Hz, or 339.567 THz. The wavelength lies in the visible green range, broadly consistent with a Sun-like photospheric temperature. NASA's astronomy education material also demonstrates using Wien's law to connect stellar temperature and spectral region.

Learn more

The calculator uses the wavelength and frequency displacement constants as fixed model inputs. For reference values and the broader system of physical constants, consult the NIST Fundamental Physical Constants. For an astronomy-focused explanation of why hotter stars appear bluer and how a measured continuum peak acts as a rough thermometer, see OpenStax's discussion of the electromagnetic spectrum and blackbody temperature.

Formula and interpretation

λmax = bλ/T, with bλ = 2.8977719 × 10 – 3 m·K. fmax = bνT, with bν = 5.8789232 × 1010 Hz/K.

The inverse wavelength relation captures the familiar displacement toward shorter wavelengths as temperature rises. The frequency relation rises directly with temperature. Although wavelength and frequency themselves obey c = λf for a single monochromatic wave, a spectrum expressed per metre is not numerically the same density function as that spectrum expressed per hertz. The transformation includes a Jacobian factor, which moves the maximum. That is why this calculator keeps the two peak formulas separate.

Practical limitations

Real materials are not perfect blackbodies. Their emissivity can vary with wavelength, and measured spectra can contain absorption features, emission lines, atmospheric attenuation, detector-response effects, or multiple thermal components. In astronomy, redshift can move the observed peak away from the emitted peak. For precision work, fit an appropriate Planck or greybody model to calibrated spectral data and account for the instrument and propagation path. Wien's law remains valuable as a fast estimate and a consistency check, but it should not be treated as a complete spectral analysis.