Physics: Mechanics, Waves & Thermodynamics Waves, Sound & Optics v = fλ; c = 299,792,458 m/s (SI exact)

Wave Speed, Wavelength and Frequency Calculator

Every wave obeys one relation: speed equals frequency times wavelength. Choose which of the three you want, pick a medium — air, fresh water, seawater, steel, or light in vacuum or in a material — and this calculator returns the missing quantity along with the period, angular frequency and wavenumber. It handles hertz through gigahertz and nanometres through kilometres, so it works equally for a 440 Hz musical note, a 2.4 GHz Wi-Fi carrier and a 589 nm sodium line.

Calculator

This calculator runs in your browser. Enable JavaScript for live results — the inputs, formula and worked example below remain fully readable without it.

Inputs this calculator takes, with typical values
InputWhat to enterExample
Solve forChoose the unknown; supply the other two below.Wavelength λ
MediumSets the wave speed unless you are solving for it, in which case the choice is ignored.Sound in air, 20 °C (343.2 m/s)
Refractive index nOnly used for light in a medium: the wave speed becomes c divided by this number.1.5168
Wave speed vEnter the propagation speed directly when the medium list does not cover your case.343.2 m/s
Frequency fCycles per second at the source; it does not change when the wave enters a new medium.440 Hz
Wavelength λDistance between two successive crests, measured in the medium the wave is travelling through.0.78 m

It returns

  • Wavelength — Crest-to-crest distance in the selected medium.
  • Frequency
  • Wave speed
  • Period
  • Angular frequency ω
  • Angular wavenumber k

The formula

v=fλ
v=ωk=λT

In plain text: v = f · λ

  • vPropagation speed of the wave in the medium (m/s)
  • fFrequency — cycles passing a fixed point each second (Hz)
  • λWavelength — distance between successive crests (m)
  • TPeriod — time for one complete cycle, equal to 1/f (s)
  • kAngular wavenumber, 2π/λ (rad/m)
  • ωAngular frequency, 2πf (rad/s)

The relation holds for any travelling wave — sound, light, water, seismic or a wave on a string. Only the speed depends on the medium.

Updated Category Waves, Sound & Optics Verified against published test cases Reading time 11 min

Why speed equals frequency times wavelength

Stand at a fixed point and count crests going past. If f crests pass every second and each crest is λ metres behind the last, then the wave train has advanced metres in that second. That is the whole derivation: v = fλ is a bookkeeping identity, not a physical law about any particular medium.

The physics enters through v. What sets the speed is always the same competition: a restoring force that pulls the medium back, divided by an inertia that resists the return. For a stretched string it is v = √(T/μ), tension over linear density. For a gas it is v = √(γRT/M), which is why sound in air depends on temperature but not on pressure, and why helium — light molecules, low M — carries sound at about 1,007 m/s and raises the pitch of your voice. For a solid rod it is v = √(E/ρ), giving 5,960 m/s in steel. For light in a material it is c/n.

The consequence that trips people up is what happens when a wave crosses a boundary. Frequency is fixed by the source and never changes. The last particle in medium 1 drives the first particle in medium 2 at exactly the frequency it is oscillating at. Speed changes, so wavelength must change by the same factor. A 589 nm sodium line entering water at n = 1.333 becomes 442 nm inside the water, but it is still the same yellow line and still 5.09 × 1014 Hz. This is also why the refraction angle changes — it is the same fact viewed geometrically.

Period, angular frequency and wavenumber

Three companion quantities appear constantly in wave equations, and all are simple rearrangements of what you have already entered.

Period T = 1/f is the time for one full cycle. A 440 Hz tone has a period of 2.273 ms. Oscilloscopes measure period, spectrum analysers measure frequency, and confusing the two by an inverse is a common slip in laboratory work.

Angular frequency ω = 2πf is what appears inside the sine: a wave is written y = A sin(kx − ωt), and the 2π converts cycles into radians. Filter and resonance formulas are almost always written in ω, which is why a 1 kHz corner frequency appears as 6,283 rad/s in a transfer function.

Angular wavenumber k = 2π/λ is the spatial counterpart, radians of phase per metre. It gives the compact identity v = ω/k. Note that spectroscopists use a different quantity also called wavenumber, ν̃ = 1/λ in cm−1, without the 2π — an infrared band at 1,700 cm−1 is a wavelength of 5.88 µm. Check which convention a source uses before comparing numbers; they differ by a factor of 2π and a factor of 100.

One further distinction matters for dispersive media. The phase velocity ω/k is what this calculator returns; the group velocity dω/dk is the speed at which energy and information actually travel. They coincide only when the speed is independent of frequency. In air and in vacuum they are the same for practical purposes; in optical fibre, deep water waves and waveguides they are not, and pulse spreading is the direct consequence.

Worked example: sizing a bass trap and a Wi-Fi antenna

Part 1 — a room mode at 60 Hz. You want to know how big an absorber must be to work at 60 Hz in a room at 20 °C.

  1. Wavelength. λ = v / f = 343.2 ÷ 60 = 5.72 m.
  2. Quarter wavelength. Porous absorbers work on particle velocity, which peaks a quarter wavelength from a rigid wall: 5.72 ÷ 4 = 1.43 m.
  3. Interpret. A 100 mm panel is 7% of a quarter wavelength at 60 Hz, which is why thin foam does nothing for bass. At 1 kHz the wavelength is 0.343 m and a quarter wavelength is 86 mm, so the same panel is genuinely effective there.

Part 2 — a 2.45 GHz antenna. Wi-Fi's 2.4 GHz band centres near 2.45 GHz.

  1. Wavelength in vacuum. λ = 299,792,458 ÷ 2.45 × 109 = 0.12236 m, about 122 mm.
  2. Half-wave dipole. A resonant dipole is close to λ/2 = 61.2 mm tip to tip, and a quarter-wave whip over a ground plane is 30.6 mm.
  3. Velocity factor. Inside coaxial cable with solid polyethylene dielectric the wave travels at about 0.66c, so the same frequency has a wavelength of 0.12236 × 0.66 = 80.8 mm in the cable. Cutting a matching stub to the free-space length would make it 51% too long.

Both parts are the same arithmetic, six orders of magnitude apart in frequency and one in speed. That generality is the point of v = fλ.

Sanity checks and what the numbers imply physically

Start with an order-of-magnitude check. In air, wavelength in metres is roughly 343 divided by frequency in hertz: 20 Hz is 17 m, 1 kHz is 34 cm, 20 kHz is 1.7 cm. For light in vacuum, wavelength in metres is 300 divided by frequency in megahertz: FM radio near 100 MHz is 3 m, and a 500 THz optical wave is 600 nm. If your answer is far from those anchors, a unit prefix has gone astray.

Wavelength then tells you how the wave interacts with objects. A wave diffracts strongly around obstacles much smaller than λ and casts sharp shadows behind obstacles much larger than λ. That single rule explains why you hear the bass from a party through a wall while the vocals are muffled, why a 2.4 GHz signal at 122 mm passes through a doorway but struggles with a foil-backed wall, and why optical microscopy cannot resolve detail much finer than about half a wavelength of visible light.

Wavelength also sets resonator dimensions. An open-ended pipe resonates when its length is a multiple of λ/2; a pipe closed at one end resonates at odd multiples of λ/4, which is why a stopped organ pipe sounds an octave below an open one of the same length. Antennas follow the same rule with electromagnetic waves. The half-wavelength column in the results table gives you that dimension directly.

Finally, be careful with temperature in gases. The speed of sound in dry air is close to 331.3 + 0.606×T m/s with T in degrees Celsius, so a wind instrument tuned in a cold hall will play flat when the hall warms: a 10 K rise raises the speed by 1.8% and every resonant frequency with it, roughly 30 cents.

Wave speed in common media, with wavelengths at two frequencies

Wavelengths are v ÷ f evaluated at 100 Hz and 1 kHz. Speeds are typical values at the stated conditions.
MediumSpeed (m/s)λ at 100 Hzλ at 1 kHz
Air, 0 °C, dry331.33.313 m0.3313 m
Air, 20 °C, dry343.23.432 m0.3432 m
Helium, 20 °C1,00710.07 m1.007 m
Fresh water, 20 °C1,48114.81 m1.481 m
Seawater, 13 °C, 35 ‰1,50015.00 m1.500 m
Ice3,20032.00 m3.200 m
Glass (crown)5,64056.40 m5.640 m
Steel5,96059.60 m5.960 m
Aluminium6,42064.20 m6.420 m
Light in vacuum299,792,4582,998 km299.8 km

Solid-medium figures are longitudinal bulk speeds; a thin rod carries extensional waves more slowly, and shear waves slower again. Seawater speed varies with temperature, salinity and depth by tens of metres per second.

Mistakes that produce a wrong wavelength

  • Using the vacuum speed of light inside a material. In glass at n = 1.5168 the wavelength is a third shorter; in coaxial cable with a velocity factor of 0.66 it is a third shorter again. Cutting cable to a free-space quarter wave is the classic RF beginner's error.
  • Mixing up period and frequency. They are reciprocals, so a factor-of-f² error follows if you substitute one for the other in v = λ/T.
  • Assuming frequency changes at a boundary. It never does for a linear medium. Speed and wavelength change together, leaving f untouched.
  • Ignoring temperature in a gas. Sound in air gains about 0.6 m/s per kelvin. Between a 0 °C morning and a 30 °C afternoon the speed changes by 5.4%.
  • Confusing the two definitions of wavenumber. Physicists use k = 2π/λ in rad/m; spectroscopists use 1/λ in cm−1. The two differ by 2π and by a factor of 100.
  • Applying phase velocity to a pulse in a dispersive medium. Energy travels at the group velocity. In optical fibre that difference is what limits data rate over long spans.
  • Dropping the SI prefix. Entering 2.45 rather than 2.45 GHz gives 299,792,458 ÷ 2.45 = 1.224 × 108 m, a wavelength of about 122,000 kilometres instead of 122 millimetres.

Where this relation leads next

Once you have wavelength and frequency, most wave problems become geometry. Interference and diffraction depend on path differences measured in wavelengths: two paths differing by a whole number of wavelengths reinforce, and by an odd number of half wavelengths cancel. That is the basis of thin-film coatings, diffraction gratings and the comb filtering you hear when a reflection arrives shortly after a direct sound.

When source or observer moves, the frequency you measure is no longer the frequency emitted, and the Doppler shift gives the new value; the wavelength ahead of a moving source is compressed by exactly the distance it advances in one period. When a wave crosses into another medium at an angle, the change of wavelength computed here is what bends the ray, which is Snell's law restated. And once you know the amplitude as well as the frequency, the energy carried per second per square metre is the intensity that sets the decibel level.

Standing waves connect this page back to oscillators. A string or air column fixed at its ends supports only wavelengths that fit a whole number of half wavelengths, which quantises the allowed frequencies into a harmonic series — the same discreteness that makes musical instruments play notes rather than noise, and the classical ancestor of the quantised energy levels of a bound electron. The single-oscillator version of that story is the pendulum period, and the restoring-force version is Hooke's law, since a wave on a string is nothing more than a line of masses connected by springs.

Key terms

Wavelength
The distance over which the wave repeats — crest to crest, or trough to trough. It is a property of the wave in a particular medium, not of the source alone.
Frequency
Cycles per second, in hertz. Set by the source and preserved across boundaries between linear media.
Phase velocity
The speed at which a point of constant phase, such as a crest, advances: ω/k. This is what v = fλ returns.
Group velocity
The speed at which a wave packet and its energy travel: dω/dk. Equal to the phase velocity only in a non-dispersive medium.
Velocity factor
For a transmission line, the ratio of propagation speed to the vacuum speed of light — typically 0.66 for solid polyethylene coax and 0.8–0.88 for foam dielectric.

Frequently asked questions

What is the wavelength of a 1 kHz sound in air?

0.343 m at 20 °C, from 343.2 ÷ 1000. At 0 °C it is 0.331 m, because the speed of sound in air falls with temperature. This wavelength is a useful anchor: anything much smaller than about 34 cm scatters and shadows 1 kHz sound, while anything much smaller than that is simply diffracted around.

Does frequency or wavelength change when a wave enters a new medium?

Wavelength changes, frequency does not. The oscillating boundary drives the new medium at exactly the frequency it is vibrating at, so f is continuous across the interface. Because the speed changes, λ = v/f must change in the same proportion. Light entering water at n = 1.333 keeps its 5.09 × 1014 Hz and shortens from 589 nm to 442 nm.

How do I convert frequency to wavelength for radio?

Divide 299.792458 by the frequency in megahertz to get metres — so 100 MHz is 3.00 m and 2,450 MHz is 0.1224 m. Many engineers use 300 ÷ f(MHz) as a 0.07%-accurate shortcut. Inside a cable, multiply the result by the velocity factor, typically 0.66 for solid polyethylene coax.

Why does helium make your voice sound higher?

Because sound travels about three times faster in helium than in air, so every resonance of your vocal tract moves up by that factor. Your vocal folds vibrate at the same frequency, so the pitch of the fundamental barely changes; what shifts is the formant structure, which is why the effect sounds like a change of timbre rather than a transposition.

What is the difference between wavenumber k and wavenumber ν̃?

Physicists write the angular wavenumber k = 2π/λ in radians per metre, which is what appears in sin(kx − ωt). Spectroscopists write ν̃ = 1/λ in reciprocal centimetres, so an infrared band at 1,700 cm−1 corresponds to 5.88 µm. Converting between them needs both the 2π and the factor of 100.

Does the speed of sound depend on pressure?

Not for an ideal gas. The speed is √(γRT/M), which contains temperature and molar mass but not pressure, because raising pressure raises both the stiffness and the density in the same proportion. Altitude changes the speed of sound mainly through the temperature profile, not through the falling pressure.

How is wavelength related to how far a wave can bend around a corner?

Diffraction is strong when the obstacle or aperture is comparable to or smaller than the wavelength. A 100 Hz sound at 3.4 m bends around a person easily; a 10 kHz sound at 34 mm does not, which is why you must face a tweeter but not a subwoofer. The same rule sets the resolution limit of an optical instrument at roughly half a wavelength.

Can I use this for water waves?

The identity v = fλ always holds, but water waves are strongly dispersive, so there is no single speed to enter. Deep-water gravity waves travel at √(gλ/2π), meaning long swells outrun short chop, and shallow-water waves travel at √(gh), which depends on depth instead. Compute the speed for your case first, then use the custom option.

References