Wavelength, frequency, and photon energy — any one in, all three out, with the spectrum band named.

c = lambda f and E = hf. Enter a wavelength, frequency, or energy and the rest follow exactly.

Workbench — SpectraLab

Wavelength, frequency & photon energy converter

Enter any one of the three and the other two follow, with the spectrum band.

About this wavelength frequency calculator

Light is a traveller with three passports, and any one of them identifies it completely. A beam of light can be described by its wavelength, the distance between successive crests, by its frequency, how many crests pass each second, or by the energy of its individual photons, and each description can be converted exactly into the other two. A wavelength, frequency, and photon energy converter does that conversion instantly and also names the part of the electromagnetic spectrum the light belongs to, from gamma rays through visible light to long radio waves. That naming step matters, because the same equations describe the light that lets you read this page and the radio waves carrying a phone call, and the only difference is where they sit on the spectrum.

The two equations behind the tool are among the most famous in physics. The wave equation says that the speed of light equals wavelength times frequency, c = lambda times f, where c is 299,792,458 metres per second in a vacuum. The quantum equation, due to Planck, says that a photon's energy equals Planck's constant times its frequency, E = h times f, where h is 6.626 times 10 to the minus 34 joule-seconds. Together they mean that short wavelengths imply high frequencies and high energies, while long wavelengths imply low frequencies and low energies, and the relationship is exact rather than approximate. Visible light, for example, occupies only a sliver of the spectrum, roughly 380 to 750 nanometres, yet it is the sliver our eyes evolved to use, because it is the part of sunlight that passes most easily through air and water.

Using the tool is a one-input job. Choose whether you know the wavelength, the frequency, or the photon energy, type in the value in the stated unit, nanometres for wavelength, hertz for frequency, or electronvolts for energy, and press convert. The preset buttons jump to landmarks across the spectrum: green light at 500 nanometres, FM radio at 100 megahertz, an X-ray at 0.1 nanometres, and Wi-Fi at 2.4 gigahertz, which together show how wildly the numbers range while the same two equations keep working. Results show all three quantities, with energy in both electronvolts, the natural unit for single photons, and joules, the standard unit of physics, plus the spectrum band, and the history keeps a trail of the conversions you compared.

Green light makes a satisfying worked example. A wavelength of 500 nanometres is 500 times 10 to the minus 9 metres, and dividing the speed of light by that wavelength gives a frequency of about 5.996 times 10 to the 14 hertz, nearly six hundred trillion waves per second. Multiplying that frequency by Planck's constant gives a photon energy of about 3.97 times 10 to the minus 19 joules, which is about 2.48 electronvolts. Those numbers are worth pausing over: a single photon of green light carries an almost unimaginably small amount of energy, yet a sunlit scene delivers so many photons that the total is ample, and the whole of human colour vision rests on distinguishing photons that differ by less than an electronvolt.

The spectrum bands themselves tell a story about technology and safety. Radio waves, the longest, carry broadcasts and phone calls precisely because they travel far and pass through obstacles. Microwaves heat food by agitating water molecules and also carry Wi-Fi and radar. Infrared is felt as heat and is used by remote controls and night-vision cameras. Visible light is the narrow band our eyes detect. Ultraviolet, just beyond violet, causes sunburn and is used for sterilisation, because its photons carry enough energy to damage molecules. X-rays pass through soft tissue but not bone, which is why they image skeletons, and gamma rays, the most energetic of all, come from nuclear processes and are used carefully in medicine and industry. The converter's band label is therefore not decoration: it tells you what kind of interaction with matter to expect.

Two practical points prevent most errors. First, mind the units: wavelengths in this tool are nanometres, so a wavelength quoted in micrometres or metres must be converted first, and a frequency quoted in megahertz must be expanded to hertz, since a factor of a million in either direction produces a confidently wrong answer. Second, remember that these equations describe light in a vacuum; inside glass or water, light slows and its wavelength shortens, while its frequency, and therefore its photon energy, stays the same, which is why a beam changes colour neither when it enters water nor when it leaves. Keep those two cautions in mind, and the tool becomes a reliable bridge between the wave picture and the photon picture of light, two views of the same reality that every physics student must learn to hold at once.

A second worked example at the radio end of the spectrum shows how extreme the numbers become. An FM station broadcasting at 100 megahertz has a wavelength of the speed of light divided by 100 million, which is exactly 3 metres, and its photons each carry about 6.63 times 10 to the minus 26 joules, or about 4.14 times 10 to the minus 7 electronvolts, an almost absurdly small energy. A radio antenna a metre or two long is therefore not an arbitrary size: it is a substantial fraction of the wavelength it is built to receive, which is why antennas scale with the band they serve. Compare that with an X-ray photon at 0.1 nanometres, carrying about 12,400 electronvolts, roughly thirty billion times more energetic, and the reason X-rays image bone while radio waves pass through walls becomes a matter of arithmetic rather than mystery.

The spectrum was assembled piece by piece over more than a century, and the story is worth knowing. Newton split sunlight with a prism in the 1660s but knew only visible light. In 1800 William Herschel discovered infrared by measuring heat beyond the red end of the spectrum, and the following year Johann Ritter found ultraviolet beyond the violet end. Radio waves were predicted by Maxwell's equations in the 1860s and produced by Hertz in the 1880s, X-rays were discovered by Roentgen in 1895, and gamma rays by Villard in 1900. Maxwell's great unification showed that all of these are the same phenomenon, oscillating electric and magnetic fields travelling at one speed, differing only in frequency, and this converter is, in a small way, a monument to that unification.

Practical measurement brings one more consideration: the values this tool computes assume light travelling in a vacuum, where its speed is exactly 299,792,458 metres per second. In air the speed is only very slightly lower, by about three parts in ten thousand, so the vacuum values are accurate for nearly every purpose outside a laboratory. In water or glass, however, the speed falls noticeably, to about 225 million metres per second in water and 200 million in glass, which shortens the wavelength while leaving the frequency unchanged. That is why a beam of light keeps its colour when it enters water even though its wavelength changes, and why optical instruments must be designed for the medium they actually operate in.

A final practical note: when you use this converter for photography or lighting, remember that colour names are approximate. Two lights can share a wavelength yet look different if one is a narrow laser line and the other a broad spectrum, and human colour perception depends on all three cone types together. The converter gives you exact physical quantities; the eye adds its own interpretation on top.

Frequently asked questions

How are wavelength and frequency related?

By c = wavelength times frequency, with c = 299,792,458 m/s. Longer wavelength always means lower frequency, and vice versa.

What is a photon's energy?

E = h times f, where h is Planck's constant. Higher frequency light has more energetic photons; that is why ultraviolet can damage skin while radio waves cannot.

What wavelength is visible light?

Roughly 380 to 750 nanometres, from violet to red. Green light sits near 500 nm, with a frequency near 6 times 10 to the 14 Hz.

Why use electronvolts for photon energy?

Because joules give absurdly small numbers for single photons. One electronvolt is 1.602 times 10 to the minus 19 joules, a much handier scale.

Does light change frequency entering glass?

No. Frequency and photon energy stay the same; the wavelength shortens because light travels slower in the medium.

What band is Wi-Fi in?

Microwave: 2.4 GHz corresponds to a wavelength of about 12.5 cm, in the microwave part of the spectrum.