Math & Statistics

Wavelength to Frequency Calculator

Convert a wavelength to its frequency, or a frequency to its wavelength, for light in a vacuum, air, water or glass, and for sound. You also get the period, the photon energy and the part of the spectrum.

Free, runs in your browserUpdated October 2026
Convert
Examples
Frequency
–
In hertz–
Period T = 1/f–
Photon energy–
Spectrum band–

Wavelength to frequency calculator diagram: 532 nm green light in a vacuum has a frequency of 563.52 THz
How the Wavelength to Frequency Calculator works: Turn any wavelength into frequency, or back, for light, radio or sound.

How to use the wavelength to frequency calculator

How to use the wavelength to frequency calculator: pick direction, enter value and medium, read the frequency
Numbered steps on the Wavelength to Frequency Calculator. Follow them in order.
  1. Choose wavelength to frequency, or frequency to wavelength.
  2. Enter the value and pick its unit, from pm to km.
  3. Choose the wave and medium: light in vacuum, air, water or glass, sound, or a custom speed.
  4. Read the frequency, then check the period, photon energy and spectrum band.

Choose the direction, enter the value and pick its unit, from picometres to kilometres for wavelength or hertz to petahertz for frequency. Then choose the kind of wave and the medium it travels through. The result appears in the most readable unit, along with the value in base SI units, the period, the photon energy for light, and the band of the spectrum. For visible light the calculator also shows the approximate color.

The wave equation

v = f × λ    so   f = v ÷ λ   and   λ = v ÷ f
For light in a vacuum v = c = 299,792,458 m/s (exact)
Photon energy E = h f = h c ÷ λ, h = 6.62607015 × 10−34 J·s
Period T = 1 ÷ f

The speed of light in a vacuum and the Planck constant are exact values in the SI system. In a material, light slows to c ÷ n, where n is the refractive index. Its frequency does not change, so the wavelength inside the material is shorter by the same factor.

Worked examples

  • Green laser, 532 nm: f = 299,792,458 ÷ (532 × 10−9) = 5.635 × 1014 Hz = 563.52 THz. The photon energy is about 2.3305 eV.
  • Wi-Fi at 2.4 GHz: λ = 299,792,458 ÷ (2.4 × 109) = 0.1249 m, or about 12.5 cm.
  • Musical note A4, 440 Hz in air: with sound at 343 m/s, λ = 343 ÷ 440 = 0.780 m.

The electromagnetic spectrum

BandWavelengthFrequency
Radioover 1 munder 300 MHz
Microwave1 mm to 1 m300 MHz to 300 GHz
Infrared750 nm to 1 mm300 GHz to 400 THz
Visible380 to 750 nm400 to 790 THz
Ultraviolet10 to 380 nm790 THz to 30 PHz
X-ray and gammaunder 10 nmover 30 PHz

Band edges are conventions and different sources draw them slightly differently.

Sound waves

For sound, the speed depends on the medium and its temperature: about 343 m/s in dry air at 20 °C, about 1,481 m/s in fresh water and about 5,960 m/s for compression waves in steel. Choose "Custom wave speed" for any other value, such as sound in air at a different temperature (roughly 331.3 + 0.606 × T m/s, with T in °C) or waves on a string.

Choosing units

Optical work usually quotes wavelength in nanometres, infrared in micrometres, radio in metres or by frequency in MHz and GHz, and sound by frequency in hertz. Because f and λ are inversely proportional, a smaller wavelength always means a higher frequency: halving the wavelength doubles the frequency.

Notes

The refractive indices used are typical values for visible light: 1.000293 for air, 1.333 for water and 1.5 for common glass. Real indices change slightly with wavelength (dispersion) and temperature. Visible colors are approximate, since perceived color depends on the display and the viewer.

Frequently asked questions

How do you convert wavelength to frequency?

Divide the wave speed by the wavelength: f = v ÷ λ. For light in a vacuum, use c = 299,792,458 m/s and make sure the wavelength is in metres.

What is the frequency of 500 nm light?

f = 299,792,458 ÷ (500 × 10−9) ≈ 5.996 × 1014 Hz, or about 600 THz. That is blue-green light.

Does frequency change when light enters water?

No. The frequency stays the same, but the speed drops to c ÷ n, so the wavelength gets shorter by the factor n, about 1.333 for water.

How is photon energy related to wavelength?

E = hc ÷ λ. A handy form is E (in eV) ≈ 1239.84 ÷ λ (in nm), so a 620 nm photon carries about 2 eV.

What is the wavelength of a 2.4 GHz Wi-Fi signal?

About 12.5 cm, since 299,792,458 ÷ 2.4 × 109 = 0.1249 m.