Skip to content
DeviceCheckHub

Wavelength Calculator

The wavelength of a wave from its frequency, the frequency from its wavelength, or its speed from both, for light in a vacuum, air, water, glass or diamond, sound in air at any temperature, in water or in metal, or any speed you type, with the photon energy and the part of the spectrum.

λ = v ÷ f

Numbers can be typed in powers of ten, such as 5e14 for 5 × 10¹⁴.

Examples:
Light in a vacuum at 100 MHz has a wavelength of 2.9979 m.

λ = 2.9979 m

Wavelength λ
2.9979 m = 9.8357 ft
Frequency f
100 MHz
Wave speed v
299,792,458 m/s
Period T = 1 ÷ f
10 ns
Angular frequency ω = 2πf
6.2832 × 10⁸ rad/s
Wavenumber 1 ÷ λ
0.33356 per m = 0.0033356 cm⁻¹
Photon energy E = hf
413.57 neV = 6.6261 × 10⁻²⁶ J
Part of the spectrum
Radio waves
Radio band
VHF, very high frequency
The same frequency in other media
MediumSpeedWavelength
Vacuum299,792,458 m/s2.9979 m
Air, 0 °C299,705,000 m/s2.997 m
Water, 20 °C224,901,000 m/s2.249 m
Window glass197,232,000 m/s1.9723 m
Diamond124,035,000 m/s1.2403 m

Steps

  1. Light in a vacuum travels at c = 299,792,458 m/s.
  2. λ = v ÷ f = 299,792,458 m/s ÷ 100 MHz = 2.9979 m.
  3. Photon energy: E = h × c ÷ λ₀ = 1.2398 × 10⁻⁶ eV·m ÷ 2.9979 m = 413.57 neV, using the wavelength in a vacuum.

How to use the wavelength calculator

  1. Choose what to find: the wavelength, the frequency or the speed of the wave.
  2. Pick the wave: light in a vacuum or a material, sound in air, water or metal, or another speed that you type in.
  3. Enter the frequency or the wavelength with its unit. For sound in air, enter the temperature too.
  4. Read the answer with the period, the angular frequency and the wavenumber, and for light the photon energy, the color or part of the spectrum and the radio band, with the same wave in other materials below.

The wavelength formula

A wavelength is the distance over which a wave’s shape repeats, such as the distance between two neighboring crests. A wave moves on by one wavelength in each cycle, so its speed is its frequency times its wavelength, v = f × λ. Turned around, the wavelength is the speed divided by the frequency, λ = v ÷ f, and the frequency is the speed divided by the wavelength, f = v ÷ λ. A 440 Hz wave traveling at 343.2 m/s has a wavelength of 343.2 ÷ 440 = 0.78 m, and the calculator works this back as a speed of 343.2 m/s.

The period, the time one cycle takes, is 1 ÷ f, and the angular frequency is 2π × f in radians per second. The wavenumber 1 ÷ λ counts the waves in each meter, and the calculator gives it per centimeter too.

Wavelength of light and radio waves

Light, radio waves and all other electromagnetic waves travel through a vacuum at exactly 299,792,458 m/s, the speed of light c. An FM radio station at 100 MHz therefore sends waves 2.9979 m = 9.8357 ft long, a 2.4 GHz signal has waves of 124.91 mm = 4.9179 in, and the 60 Hz of a power line corresponds to a wavelength of 4.9965 Mm = 4,996.5 km. The other way round, green light with a wavelength of 500 nm has a frequency of 599.58 THz.

Light in water, glass and other materials

In a material light travels more slowly, by a factor called the refractive index n: v = c ÷ n. The frequency stays the same, so the wavelength shrinks by the same factor. Light of 500 nm in water has a frequency of 449.8 THz and a wavelength of 666.5 nm in a vacuum. The color we see and the energy of each photon go with the frequency, not the wavelength in the material. The indices below are from Wikipedia and are measured, as is usual, at the 589 nm yellow line of sodium; they change a little with the wavelength.

Refractive index and the speed of light
MaterialnSpeed
Vacuum1299.8 million m/s
Air, 0 °C1.000293299.7 million m/s
Water, 20 °C1.333224.9 million m/s
Window glass1.52197.2 million m/s
Diamond2.417124.0 million m/s

Colors of visible light

A typical human eye responds to wavelengths from about 380 to about 750 nanometers. Within that range the wavelength sets the color, from violet at the short end to red at the long end. The ranges below are approximate, since the spectrum is continuous with no sharp boundaries between one color and the next. Red light at 700 nm has a frequency of 428.27 THz.

Wavelengths of the spectral colors
ColorWavelength
Violet380–450 nm
Blue450–485 nm
Cyan485–500 nm
Green500–565 nm
Yellow565–590 nm
Orange590–625 nm
Red625–750 nm

The electromagnetic spectrum

Beyond the visible range the spectrum carries on in both directions: ultraviolet, X-rays and gamma rays at shorter wavelengths, and infrared, microwaves and radio waves at longer ones. The calculator names the part of the spectrum for any light wavelength, using the approximate edges below; different sources draw some of these edges in slightly different places. An X-ray of 0.1 nm has a frequency of 2.9979 EHz and a photon energy of 12.398 keV.

Parts of the spectrum by wavelength
PartWavelength in a vacuum
Gamma raysunder 10 pm
X-rays10 pm to 10 nm
Ultraviolet10 nm to 380 nm
Visible light380 nm to 750 nm
Infrared750 nm to 1 mm
Microwaves1 mm to 1 m
Radio wavesover 1 m

Radio frequencies are divided into bands by the International Telecommunication Union, each ten times the frequency of the one before. The UHF band, for example, runs from 300 MHz to 3 GHz and carries television, mobile phones, wireless LAN, Bluetooth and GPS.

ITU radio bands
BandFrequencyWavelength
ELF3 Hz to 30 Hz9.9931 Mm to 99.931 Mm
SLF30 Hz to 300 Hz999.31 km to 9.9931 Mm
ULF300 Hz to 3 kHz99.931 km to 999.31 km
VLF3 kHz to 30 kHz9.9931 km to 99.931 km
LF30 kHz to 300 kHz999.31 m to 9.9931 km
MF300 kHz to 3 MHz99.931 m to 999.31 m
HF3 MHz to 30 MHz9.9931 m to 99.931 m
VHF30 MHz to 300 MHz999.31 mm to 9.9931 m
UHF300 MHz to 3 GHz99.931 mm to 999.31 mm
SHF3 GHz to 30 GHz9.9931 mm to 99.931 mm
EHF30 GHz to 300 GHz999.31 µm to 9.9931 mm
THF300 GHz to 3 THz99.931 µm to 999.31 µm

Photon energy

Light comes in photons, and the energy of each one is E = h × f = h × c ÷ λ, where h is the Planck constant and λ the wavelength in a vacuum. In electronvolts this is about E = 1.2398 ÷ λ with λ in micrometers, and one electronvolt is exactly 1.602176634 × 10⁻¹⁹ J. A photon of green light at 500 nm carries 2.4797 eV, while a radio photon at 100 MHz carries only 413.57 neV.

Wavelength of sound

Sound is far slower than light, and its speed depends on what it travels through. In dry air the speed is about 331.32 × √(1 + θ ÷ 273.15) m/s at θ °C, so it rises by about 0.6 m/s for each degree; at 20 °C it is about 343 m/s, and a 440 Hz tone has a wavelength of 780.08 mm = 2.5593 ft. At 32 °F, the freezing point of water, the same tone is 753 mm = 2.4705 ft long. Humidity raises the speed a little: the difference between 0% and 100% humidity is about 1.5 m/s. Sound travels at about 1,481 m/s in fresh water at 20 °C, so a 1 kHz tone there has a wavelength of 1.481 m = 4.8589 ft, and at about 1,500 m/s in seawater, where it changes by about 4 m/s for each degree. In metals it is faster still. The speeds below for metals are for compression waves in a large piece at room temperature; along a thin rod sound is slower, about 5,120 m/s in iron rather than 5,950 m/s.

Speed of sound
MediumSpeed
Air, 0 °C331.3 m/s
Air, 20 °C343.2 m/s
Fresh water, 20 °C1,481 m/s
Seawater1,500 m/s
Aluminum6,420 m/s
Copper4,760 m/s
Iron5,950 m/s
Steel5,930 m/s
Gold3,240 m/s
Lead2,160 m/s

Worked examples

A 5 GHz radio signal travels at the speed of light, so its wavelength is 299,792,458 ÷ 5,000,000,000 = 59.958 mm = 2.3606 in. A sound with a wavelength of 1 m in air at 20 °C has a frequency of 343.24 Hz, since the speed of sound there is about 343 m/s. An ultrasound wave of 1 MHz in fresh water has a wavelength of 1.481 mm = 0.058307 in, while the same wave in steel is 5.93 mm = 0.23346 in long, four times longer because sound in steel is four times as fast.

To find the speed, enter both the frequency and the wavelength. A wave of 300 MHz with a wavelength of 1 m comes out at 300,000,000 m/s, a little more than the speed of light, because both values are rounded; the calculator shows the answer with a note rather than refusing it.

Common mistakes

Your values stay on your device

Everything is worked out in your browser. Nothing you type is sent anywhere or stored.

Frequently asked questions

How do I calculate wavelength from frequency?

Divide the speed of the wave by its frequency: λ = v ÷ f. For a radio wave at 100 MHz, which travels at the speed of light, λ = 299,792,458 m/s ÷ 100,000,000 Hz = 2.9979 m = 9.8357 ft.

What is the wavelength of 2.4 GHz?

A 2.4 GHz radio wave has a wavelength of 124.91 mm = 4.9179 in in air or a vacuum. It falls in the UHF band, which is used by wireless LAN, Bluetooth and mobile phones.

What is the wavelength of a 440 Hz sound?

In air at 20 °C sound travels at about 343.24 m/s, so a 440 Hz tone has a wavelength of 780.08 mm = 2.5593 ft. In water, where sound is over four times as fast, the same tone is about four times as long.

How do I find the energy of a photon from its wavelength?

Use E = h × c ÷ λ. In electronvolts this is about 1.2398 ÷ λ, with λ in micrometers, so green light at 500 nm, 0.5 µm, carries 2.4797 eV per photon.

Does light change wavelength in water?

Yes. Light keeps its frequency but slows down by the refractive index, 1.333 for water, so its wavelength shrinks by the same factor. Light of 500 nm in water is light of 666.5 nm in a vacuum.

Is anything I type sent anywhere?

No. Everything is worked out in your browser, and nothing you type is sent anywhere or stored.

Last updated · About DeviceCheckHub