Wavelength Calculator

Find the wavelength of a sound, radio, light or water wave from its speed and frequency, with the wavenumber and medium effects.

🌊 Wavelength Calculator
Medium (illustrative speeds)
Wave speed (v)
m/s
Frequency (f)
Wave period (T)
s
Water depth (blank = deep)
m
Gravity (g)
m/s²
Wavelength in a vacuum (λ0)
nm
Medium (illustrative indices)
Refractive index (n)
Wavelength λ
—
In metres
—
Wavenumber k
—
Spatial frequency
—
Half wavelength
—
Period
—
Angular frequency
—

Wavelength λ
—
Phase speed
—
Group speed
—
Wavenumber k
—
Frequency
—
Regime
—

Wavelength in medium
—
Vacuum wavelength
—
Shorter by
—
Speed in medium
—
Frequency (unchanged)
—
Wavenumber in medium
—

🌊 What is Wavelength?

Wavelength is the distance over which a wave repeats its shape, for example the distance from one crest to the next crest. It is written with the Greek letter lambda and measured in metres. Wavelength, frequency and speed are tied together by one relation: the speed of the wave equals its frequency multiplied by its wavelength, so lambda = v / f. If the speed is fixed, a higher frequency means a shorter wavelength, and a lower frequency means a longer one.

The idea is used for every kind of wave. Acoustic engineers use the wavelength of sound to design rooms and speaker enclosures, because a 100 Hz bass note is about 3.4 m long in air while a 10 kHz note is only 3.4 cm. Radio engineers size antennas as fractions of a wavelength, optical designers work in nanometres for light, and oceanographers describe swell by its period and wavelength. Medical ultrasound and sonar depend on short wavelengths to see small details.

Three details are worth keeping straight. First, the frequency belongs to the source and does not change when a wave moves from one medium to another, while the wavelength changes with the speed. Light slows down in glass, so its wavelength there is the vacuum wavelength divided by the refractive index. Second, water waves are dispersive: their speed depends on wavelength, so the simple v / f needs the extra relations in the Water mode. Third, this page deals with ordinary waves. The de Broglie wavelength of a particle and the Compton wavelength are quantum ideas covered by their own calculators, such as the de Broglie wavelength calculator and Compton wavelength calculator.

The calculator has three modes. Speed and frequency applies lambda = v / f to any wave, with presets for sound in air, sea water and steel and for light. Water waves converts a wave period into a wavelength, deep or at a finite depth. In a medium converts a vacuum wavelength of light into its shorter wavelength inside a material. For the underlying wave equation see the harmonic wave equation calculator, and for the speed of sound itself the speed of sound calculator. For a refractive index lookup try the index of refraction calculator. The preset speeds and indices here are illustrative round values.

📐 Formula

λ  =  v ÷ f
λ = wavelength (m), v = wave speed (m/s), f = frequency (Hz)
Wavenumber: k = 2π / λ (rad/m), spatial frequency = 1 / λ (cycles per metre)
Deep water: λ = g T² / 2π, phase speed c = λ / T and group speed cg = c / 2
Finite depth h: ω² = g k tanh( k h ) is solved for k, then λ = 2π / k and cg = (c / 2) [ 1 + 2kh / sinh(2kh) ]
In a medium: λ = λ0 / n, with speed c / n and the same frequency
Example: sound in air at 343 m/s and 440 Hz gives λ = 343 / 440 = 0.7795 m

📖 How to Use This Calculator

Steps

1
Choose a mode. Pick Speed and frequency for any wave, Water waves for ocean waves from the period, or In a medium for light inside glass or water.
2
Enter the wave details. Choose a medium preset or type the wave speed and frequency, or the wave period and optional depth, or the vacuum wavelength and refractive index. The frequency unit selector only labels your number.
3
Read the wavelength. The result appears in a readable unit with the wavenumber, period and related values, and the chart shows how the wavelength changes around your input.

💡 Example Calculations

Example 1 — Concert A in Air

Sound at 343 m/s (air near 20 °C) and a frequency of 440 Hz

1
λ = 343 / 440 = 0.7795 m = 77.955 cm
2
Wavenumber k = 2π / 0.7795 = 8.0601 rad/m and spatial frequency = 1.2828 cycles per metre
3
Half wavelength = 38.977 cm, period = 1 / 440 = 2.273 ms and ω = 2764.602 rad/s
Wavelength = 77.955 cm
Try this example →

Example 2 — FM Radio Station

Light speed 299792458 m/s and a frequency of 100 MHz

1
λ = 299792458 / 100,000,000 = 2.9979 m
2
A half-wave antenna would be about 1.499 m long. Period = 10.000 ns.
3
Wavenumber k = 2π / 2.9979 = 2.0958 rad/m
Wavelength = 2.998 m
Try this example →

Example 3 — Green Light

Light speed 299792458 m/s and a frequency of 540 THz

1
f = 540 × 1012 Hz, so λ = 299792458 / 5.4×1014 = 5.5517×10-7 m
2
That is 555.171 nm, in the green part of the visible spectrum
3
Period = 1.852 fs and wavenumber = 1.1318×107 rad/m
Wavelength = 555.171 nm
Try this example →

Example 4 — Ocean Swell in Deep Water

Wave period 8 s, deep water, g = 9.80665 m/s²

1
λ = g T² / 2π = 9.80665 × 64 / 6.28319 = 99.89 m
2
Phase speed c = λ / T = 12.486 m/s and group speed = c / 2 = 6.243 m/s
3
Frequency = 1 / 8 = 0.1250 Hz and k = 0.06290 rad/m. The sea must be deeper than about half a wavelength (50 m) for this to apply.
Wavelength = 99.89 m
Try this example →

Example 5 — Swell Approaching a 20 m Shelf

Wave period 10 s, depth 20 m

1
In deep water this period would give λ = 156.08 m, but the depth is only 20 m, so the finite-depth relation ω² = g k tanh(k h) is solved for k
2
k = 0.05184 rad/m, so λ = 121.21 m and the phase speed is 12.121 m/s
3
The depth to wavelength ratio is 0.165, an intermediate depth. The group speed is 9.272 m/s, closer to the phase speed than in deep water.
Wavelength = 121.21 m
Try this example →

Example 6 — Sodium Light Inside Glass

Vacuum wavelength 589 nm in glass with an assumed index of 1.5

1
λ = 589 / 1.5 = 392.667 nm, shorter by 1 − 1/1.5 = 33.33 %
2
Speed in the glass = 299792458 / 1.5 = 1.9986×108 m/s
3
The frequency stays at 299792458 / 589 nm = 508.985 THz. The wavenumber rises to 2π × 1.5 / 589 nm = 1.6001×107 rad/m.
Wavelength in glass = 392.667 nm
Try this example →

❓ Frequently Asked Questions

What is the formula for wavelength?+
Wavelength equals wave speed divided by frequency, lambda = v / f. For sound in air at about 343 m/s, a 440 Hz tone has a wavelength of 343 / 440 = 0.7795 m. For light use v = 299,792,458 m/s in a vacuum.
How do I calculate the wavelength of light?+
Divide the speed of light by the frequency. A frequency of 540 THz gives 299,792,458 / 5.4e14 = 555 nm, which is green light. In a medium use lambda = lambda0 / n, where n is the refractive index.
How do I find the wavelength of sound?+
Divide the speed of sound by the frequency. At about 343 m/s in air, 20 Hz is 17.2 m, 440 Hz is 0.78 m and 20 kHz is 1.7 cm. Sound travels faster in water and solids, so the wavelength is longer there.
What is the relationship between wavelength and frequency?+
They are inversely proportional for a given speed: v = f times lambda. A higher frequency means a shorter wavelength. The chart in the calculator shows this as a falling curve with your value marked.
What is the wavenumber?+
The angular wavenumber is k = 2 pi / lambda in radians per metre. The spatial frequency 1 / lambda counts wave cycles per metre. A wavelength of 0.78 m gives k = 8.06 rad/m and 1.28 cycles per metre.
How is the wavelength of a water wave found?+
In deep water, lambda = g T squared / (2 pi), where T is the wave period. A period of 8 s gives about 99.9 m. In shallower water the relation omega squared = g k tanh(k h) applies, which the Water mode solves when you enter a depth.
What happens to wavelength when a wave enters a different medium?+
The frequency stays the same and the speed changes, so the wavelength changes in proportion to the speed. Light slows to c / n in a medium of refractive index n, so its wavelength becomes lambda0 / n.
What units is wavelength measured in?+
The SI unit is the metre. Radio waves use metres or centimetres, infrared and visible light use micrometres or nanometres, and X-rays use picometres. The calculator picks a readable unit automatically and also shows metres.
What is the wavelength of visible light?+
Visible light spans roughly 400 to 700 nanometres in a vacuum, with violet at the short end and red at the long end. Green light near 555 nm is where the human eye is most sensitive in bright conditions.
Is this the same as the de Broglie wavelength?+
No. The de Broglie wavelength h / p belongs to the wave nature of matter, and the Compton wavelength is a property of a particle's mass. This calculator uses lambda = v / f for ordinary waves. The matching calculators are linked above.
Why do the preset speeds differ from the ones I have seen?+
The presets are rounded illustrative values. Sound in air depends on temperature, sea water on temperature, salinity and depth, and steel on the alloy. Type your own speed when you know it, and the preset switches to Custom.

What is the formula for wavelength?

Wavelength equals wave speed divided by frequency, lambda = v / f. For sound in air at about 343 m/s, a 440 Hz tone has a wavelength of 343 / 440 = 0.7795 m. For light use v = 299,792,458 m/s in a vacuum.

How do I calculate the wavelength of light?

Divide the speed of light by the frequency. A frequency of 540 THz gives 299,792,458 / 5.4e14 = 555 nm, which is green light. In a medium use lambda = lambda0 / n, where n is the refractive index.

How do I find the wavelength of sound?

Divide the speed of sound by the frequency. At about 343 m/s in air, 20 Hz is 17.2 m, 440 Hz is 0.78 m and 20 kHz is 1.7 cm. Sound travels faster in water and solids, so the wavelength is longer there.

What is the relationship between wavelength and frequency?

They are inversely proportional for a given speed: v = f times lambda. A higher frequency means a shorter wavelength. The graph in the calculator shows this as a falling curve.

What is the wavenumber?

The angular wavenumber is k = 2 pi / lambda in radians per metre. The spatial frequency 1 / lambda counts wave cycles per metre. A wavelength of 0.78 m gives k = 8.06 rad/m and 1.28 cycles per metre.

How is the wavelength of a water wave found?

In deep water, lambda = g T squared / (2 pi), where T is the wave period. A period of 8 s gives about 99.9 m. In shallower water the relation omega squared = g k tanh(k h) applies, which the Water mode solves when you enter a depth.

What happens to wavelength when a wave enters a different medium?

The frequency stays the same and the speed changes, so the wavelength changes in proportion to the speed. Light slows to c / n in a medium of refractive index n, so its wavelength becomes lambda0 / n.

What units is wavelength measured in?

The SI unit is the metre. Radio waves use metres or centimetres, infrared and visible light use micrometres or nanometres, and X-rays use picometres. The calculator picks a readable unit automatically.

What is the wavelength of visible light?

Visible light spans roughly 400 to 700 nanometres in a vacuum, with violet at the short end and red at the long end. Green light near 555 nm is where the human eye is most sensitive in bright conditions.

Is this the same as the de Broglie wavelength?

No. The de Broglie wavelength h / p belongs to the wave nature of matter, and the Compton wavelength is a property of a particle's mass. This calculator uses lambda = v / f for ordinary waves.