How to use the wavelength calculator
- Choose what to find: the wavelength, the frequency or the speed of the wave.
- Pick the wave: light in a vacuum or a material, sound in air, water or metal, or another speed that you type in.
- Enter the frequency or the wavelength with its unit. For sound in air, enter the temperature too.
- 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.
| Material | n | Speed |
|---|---|---|
| Vacuum | 1 | 299.8 million m/s |
| Air, 0 °C | 1.000293 | 299.7 million m/s |
| Water, 20 °C | 1.333 | 224.9 million m/s |
| Window glass | 1.52 | 197.2 million m/s |
| Diamond | 2.417 | 124.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.
| Color | Wavelength |
|---|---|
| Violet | 380–450 nm |
| Blue | 450–485 nm |
| Cyan | 485–500 nm |
| Green | 500–565 nm |
| Yellow | 565–590 nm |
| Orange | 590–625 nm |
| Red | 625–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.
| Part | Wavelength in a vacuum |
|---|---|
| Gamma rays | under 10 pm |
| X-rays | 10 pm to 10 nm |
| Ultraviolet | 10 nm to 380 nm |
| Visible light | 380 nm to 750 nm |
| Infrared | 750 nm to 1 mm |
| Microwaves | 1 mm to 1 m |
| Radio waves | over 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.
| Band | Frequency | Wavelength |
|---|---|---|
| ELF | 3 Hz to 30 Hz | 9.9931 Mm to 99.931 Mm |
| SLF | 30 Hz to 300 Hz | 999.31 km to 9.9931 Mm |
| ULF | 300 Hz to 3 kHz | 99.931 km to 999.31 km |
| VLF | 3 kHz to 30 kHz | 9.9931 km to 99.931 km |
| LF | 30 kHz to 300 kHz | 999.31 m to 9.9931 km |
| MF | 300 kHz to 3 MHz | 99.931 m to 999.31 m |
| HF | 3 MHz to 30 MHz | 9.9931 m to 99.931 m |
| VHF | 30 MHz to 300 MHz | 999.31 mm to 9.9931 m |
| UHF | 300 MHz to 3 GHz | 99.931 mm to 999.31 mm |
| SHF | 3 GHz to 30 GHz | 9.9931 mm to 99.931 mm |
| EHF | 30 GHz to 300 GHz | 999.31 µm to 9.9931 mm |
| THF | 300 GHz to 3 THz | 99.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.
| Medium | Speed |
|---|---|
| Air, 0 °C | 331.3 m/s |
| Air, 20 °C | 343.2 m/s |
| Fresh water, 20 °C | 1,481 m/s |
| Seawater | 1,500 m/s |
| Aluminum | 6,420 m/s |
| Copper | 4,760 m/s |
| Iron | 5,950 m/s |
| Steel | 5,930 m/s |
| Gold | 3,240 m/s |
| Lead | 2,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
- Mixing up the prefixes. A megahertz is a million hertz and a gigahertz a billion, so the same number in MHz and GHz gives wavelengths a thousand times apart. Choose the unit in the list instead of converting by hand.
- Using the speed in a vacuum for light in glass or water. Light is slower there, so the wavelength inside the material is shorter by the refractive index, while the frequency and the color stay the same.
- Forgetting the temperature for sound in air. Sound in air at 0 °C is about 12 m/s slower than at 20 °C, so a wavelength worked out for a warm room is about 3.6% too long outdoors in winter.
- Rounding the speed of light to 300,000,000 m/s. That is 0.07% too fast, enough to turn the 2.9979 m of a 100 MHz wave into 3 m.
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.