Skip to content
Physics 11 min read

How to Convert Wavelength to Frequency (With Examples)

Observation recorded
Red laser pointer on an optical post sending a 650 nm beam to a white card, with the electromagnetic spectrum marking 650 nm in visible light: frequency 461.219 THz, photon energy 1.90745 eV

Pick up a cheap red laser pointer and read the label: 650 nm. That number is the distance from one crest of the light wave to the next, about a hundredth of the width of a human hair. The same light wave passes any point 461 million million times every second. Getting from the first number to the second takes one division, and almost every mistake people make with it is a unit slip, not physics.

This post shows the conversion step by step for light, radio and sound, with the unit handling written out in full. All the numbers here come from the wavelength and frequency calculator, which does wavelength, frequency, period and photon energy at once and marks where your wave sits on the spectrum.

Quick answerDivide the wave's speed by its wavelength: f=v/λf = v/\lambda. For light and radio, v is exactly 299,792,458 m/s. Convert the wavelength to metres first, and the answer is in hertz. A 650 nm red laser is 299,792,458 ÷ (6.5 × 10⁻⁷) = 461.219 THz. For sound in air at 20 °C, use 343.23 m/s instead.

What is the formula for wavelength and frequency?

A wave moves forward by one wavelength in the time it takes to make one full oscillation, its period TT. Speed is distance over time, so

v=λT=λfv = \frac{\lambda}{T} = \lambda f

where f=1/Tf = 1/T is the frequency in hertz (cycles per second). Rearranged, that gives the two conversions you actually use:

f=vλλ=vff = \frac{v}{\lambda} \qquad \lambda = \frac{v}{f}

The only thing that changes between light, radio and sound is vv. Light and every other electromagnetic wave in vacuum travel at c=299,792,458 m/sc = 299{,}792{,}458\ \text{m/s}. That value is exact: since 1983 the metre has been defined from it, so there is no uncertainty to worry about. Sound is far slower and depends on what it is travelling through.

How do you convert wavelength to frequency for light?

Three steps: convert the wavelength to metres, divide 299,792,458 by it, and then pick a sensible prefix for the answer.

Example 1: a 650 nm red laser

λ=650 nm=650×10−9 m=6.5×10−7 mf=299,792,458 m/s6.5×10−7 m=4.61219×1014 Hz=461.219 THz\begin{aligned}\lambda &= 650\ \text{nm} = 650 \times 10^{-9}\ \text{m} = 6.5 \times 10^{-7}\ \text{m} \\ f &= \frac{299{,}792{,}458\ \text{m/s}}{6.5 \times 10^{-7}\ \text{m}} = 4.61219 \times 10^{14}\ \text{Hz} \\ &= 461.219\ \text{THz}\end{aligned}

One terahertz is 101210^{12} Hz, so 4.61219×10144.61219 \times 10^{14} Hz is 461.219 THz. The period is the reciprocal, T=1/f=2.16817T = 1/f = 2.16817 femtoseconds.

Red laser pointer on an optical post sending a 650 nm beam to a white card, with the electromagnetic spectrum marking 650 nm in visible light: frequency 461.219 THz, photon energy 1.90745 eV
Figure 1. A 650 nm red laser: 461.219 THz and 1.90745 eV per photon. The spectrum bar shows how thin the visible slice is. Open this in the calculator.

A green laser pointer at 532 nm works the same way: 299,792,458 ÷ (5.32 × 10⁻⁷) = 563.52 THz. Shorter wavelength, higher frequency. The two always move in opposite directions because their product is fixed at the wave speed.

Green laser at 532 nm drawn in green with one wavelength measured on the wave, the visible light zoom marking 532 nm: frequency 563.52 THz, photon energy 2.33053 eV
Figure 2. A 532 nm green laser: 563.52 THz and 2.33053 eV per photon. Open this in the calculator.

How do you convert frequency to wavelength for radio?

Radio stations, Wi-Fi channels and microwave ovens are labelled by frequency, so you usually go the other way. Convert the frequency to hertz and divide it into the speed of light.

Example 2: an FM station at 100 MHz

f=100 MHz=100×106 Hz=108 Hzλ=299,792,458 m/s108 Hz=2.99792 m\begin{aligned}f &= 100\ \text{MHz} = 100 \times 10^{6}\ \text{Hz} = 10^{8}\ \text{Hz} \\ \lambda &= \frac{299{,}792{,}458\ \text{m/s}}{10^{8}\ \text{Hz}} = 2.99792\ \text{m}\end{aligned}

A handy shortcut falls out of this: wavelength in metres is about 300 divided by the frequency in MHz. 300 ÷ 100 = 3 m. A quarter of that, about 75 cm, is why car FM aerials are the length they are; the quarter wave antenna guide works out how much shorter a real whip has to be.

Radio mast at dusk sending a 100 MHz FM signal to a house aerial, the spectrum marking 2.998 m in the radio band: wavelength 2.99792 m, photon energy 4.13567 × 10⁻⁷ eV
Figure 3. FM radio at 100 MHz has a wavelength of 2.99792 m, in the VHF band. Open this in the calculator.

Wi-Fi at 2.4 GHz: 299,792,458 ÷ (2.4 × 10⁹) = 0.124914 m, or 12.4914 cm. A microwave oven at 2.45 GHz is 12.2364 cm. They sit in the same band, which is why a leaky oven can upset 2.4 GHz Wi-Fi in the next room. That band was chosen for licensing reasons, not because water resonates there, as the microwave resonance myth post explains.

Dish antenna sending a 2.4 GHz Wi-Fi wave to a house, marked 12.49 cm in the microwave band of the spectrum: wavelength 12.4914 cm, photon energy 9.9256 × 10⁻⁶ eV
Figure 4. Wi-Fi at 2.4 GHz: a 12.4914 cm wavelength, a microwave by the usual spectrum chart and UHF by the radio band names. Open this in the calculator.

How do you convert wavelength and frequency for sound?

Same formula, different speed. Sound is a pressure wave in a material, and its speed depends on how stiff and how dense that material is. For dry air it depends mainly on temperature. The ideal gas result, with the constants used by the U.S. Standard Atmosphere 1976, is

v=γRTMv = \sqrt{\frac{\gamma R T}{M}}

with γ=1.4\gamma = 1.4, R=8314.32 J/(kmol K)R = 8314.32\ \text{J/(kmol K)}, M=28.9644 kg/kmolM = 28.9644\ \text{kg/kmol} and TT in kelvin. It reproduces that standard's 340.294 m/s at 15 °C.

Example 3: the note A at 440 Hz, in air at 20 °C

v=1.4×8314.32×293.1528.9644=343.23 m/sλ=343.23 m/s440 Hz=0.780077 m=78.0077 cm\begin{aligned}v &= \sqrt{\frac{1.4 \times 8314.32 \times 293.15}{28.9644}} = 343.23\ \text{m/s} \\ \lambda &= \frac{343.23\ \text{m/s}}{440\ \text{Hz}} = 0.780077\ \text{m} = 78.0077\ \text{cm}\end{aligned}

At 0 °C the air is slower, 331.32 m/s, and the same note is 75.2997 cm long. A musician tuning by ear never notices, because the pitch you hear is the frequency, and that stays at 440 Hz.

Loudspeaker playing the note A at 440 Hz to a listener, with compressions in the air and one wavelength of 78.01 cm marked: sound speed 343.23 m/s in dry air at 20 °C
Figure 5. A 440 Hz note in air at 20 °C: 78.0077 cm from one compression to the next. Open this in the calculator.

Underwater, sound is about 4.3 times faster: 1,482.38 m/s in pure water at 20 °C, from the Marczak equation that metrology labs use for pure water. A 440 Hz note there is 3.36904 m long. Sea water is faster again, because of the salt and pressure.

Common wavelengths and frequencies

Here is the spectrum in one table, every row computed with f=c/λf = c/\lambda and E=hfE = hf. It spans roughly 18 powers of ten in frequency.

WaveWavelengthFrequencyPhoton energy
AM radio299.792 m1 MHz4.13567 × 10⁻⁹ eV
FM radio2.99792 m100 MHz4.13567 × 10⁻⁷ eV
Wi-Fi12.4914 cm2.4 GHz9.9256 × 10⁻⁶ eV
Thermal infrared10 µm29.9792 THz0.123984 eV
TV remote940 nm318.928 THz1.31898 eV
Red laser650 nm461.219 THz1.90745 eV
Green laser532 nm563.52 THz2.33053 eV
UVC lamp254 nm1.18029 PHz4.88127 eV
X-ray0.1 nm2.99792 EHz12.3984 keV
Gamma ray1 pm299.792 EHz1.23984 MeV

Visible light is the narrow strip from about 380 nm to 750 nm, which is 789 THz down to 400 THz. On a log scale covering the whole spectrum it is barely a sliver, which the calculator makes plain with its zoomed bar. Where a colour sits in that strip is what decides, for example, what colour the Sun really is and why auroras glow green and red.

How do you get photon energy from wavelength?

Light comes in photons, and each one carries an energy set by its frequency through Planck's constant, h=6.62607015×10−34h = 6.62607015 \times 10^{-34} J s, exact since the 2019 redefinition of the SI:

E=hf=hcλE = hf = \frac{hc}{\lambda}

Example 4: photon energy of the 650 nm laser

E=6.62607015×10−34×4.61219×1014=3.05607×10−19 JE=3.05607×10−19 J1.602176634×10−19 J/eV=1.90745 eV\begin{aligned}E &= 6.62607015 \times 10^{-34} \times 4.61219 \times 10^{14} = 3.05607 \times 10^{-19}\ \text{J} \\ E &= \frac{3.05607 \times 10^{-19}\ \text{J}}{1.602176634 \times 10^{-19}\ \text{J/eV}} = 1.90745\ \text{eV}\end{aligned}

The shortcut most physicists carry around: E (eV)=1239.84/λ (nm)E\,(\text{eV}) = 1239.84 / \lambda\,(\text{nm}). 1239.84 ÷ 650 = 1.90745 eV.

Photon energy is what decides whether light can do chemistry. Red and green photons, at 2 eV or so, can excite the pigments in your eye. Ultraviolet at 254 nm carries 4.9 eV, enough to break bonds in DNA, which is why that wavelength is used for germicidal lamps. A 100 MHz radio photon carries 4 × 10⁻⁷ eV, millions of times too little to break anything, however powerful the transmitter.

Does the frequency change in water or glass?

No, and this is the most common misconception about the formula. When light enters glass or water it slows down, by the refractive index nn. The frequency stays the same because it is set by the source: the wave crests arrive at the boundary at a fixed rate, and they cannot pile up or vanish there. So the wavelength must shrink instead:

λmedium=λvacuumn\lambda_{\text{medium}} = \frac{\lambda_{\text{vacuum}}}{n}

Red 650 nm light in water (n≈1.33n \approx 1.33) is about 489 nm long, the vacuum wavelength of blue light, yet a red laser still looks red underwater. Colour follows frequency, not wavelength. That is why laser and LED wavelengths are quoted in vacuum (or in air, which changes only the fourth significant figure).

What are the usual unit traps?

Nearly every wrong answer comes from one of these:

  • Prefixes: nano is 10−910^{-9}, micro 10−610^{-6}, milli 10−310^{-3}; kilo, mega, giga and tera are 10310^{3}, 10610^{6}, 10910^{9} and 101210^{12}. 650 nm is 6.5×10−76.5 \times 10^{-7} m, not 6.5×10−96.5 \times 10^{-9} m.
  • Using c for sound: 299,792,458 m/s is only for electromagnetic waves. A 440 Hz tone with c gives 681 km, a radio wavelength.
  • Angular frequency: some textbooks use ω=2πf\omega = 2\pi f in radians per second. If a result is off by 6.28, that is why.
  • Rounding noise: a computer multiplying 650 by 0.000000001 gets 6.500000000000001 × 10⁻⁷. The calculator applies prefixes in decimal and rounds to 6 significant figures, so it prints clean numbers.
Wavelength and frequency calculator set to a microwave oven at 2.45 GHz: wavelength 12.2364 cm, period 408.163 ps, photon energy 1.01324 × 10⁻⁵ eV, with the working shown step by step
Figure 6. The calculator with a microwave oven at 2.45 GHz: 12.2364 cm, 408.163 ps per cycle, and the working written out. Open this in the calculator.

To check your own homework, open the calculator with the 532 nm green laser, press Period, and watch it convert the same wave to 1.77456 femtoseconds; then switch to Sound in water and type your own frequency.

Sources

Frequently asked questions

What is the formula to convert wavelength to frequency?

Frequency equals wave speed divided by wavelength, f = v / λ. For light and radio in vacuum the speed is c = 299,792,458 m/s exactly. Put the wavelength in metres and the answer comes out in hertz.

What is the frequency of 500 nm light?

299,792,458 divided by 0.0000005 m is 599.585 THz, or about 6.0 × 10^14 Hz. Each photon of 500 nm light carries 2.48 eV.

How do you convert frequency to wavelength for sound?

Divide the speed of sound by the frequency. In dry air at 20 °C sound travels at 343.23 m/s, so a 440 Hz note has a wavelength of 343.23 / 440 = 78.0 cm. In water at 20 °C the speed is 1,482.4 m/s and the same note is 3.37 m long.

Does frequency change when light goes into water or glass?

No. The frequency is fixed by the source. The light slows down in the material, so its wavelength shrinks by the same factor, the refractive index. Red 650 nm light is about 489 nm long inside water but it is still red and still 461 THz.

Why do I get the wrong answer by a factor of a billion?

Almost always a unit slip. Nanometres must be multiplied by 10^-9 to get metres, and megahertz by 10^6 to get hertz. 650 nm is 6.5 × 10^-7 m, not 650 m and not 6.5 × 10^-9 m.

Related observations
Physics 5 amazing physics experiment for your kids Physics 50 Hilarious Physics Jokes That Will Make You Laugh Physics Could Ant-Man Really Shrink? The Physics Says No
Transmit