Wavelength, Frequency and Wave Speed: v = f·λ in Practice
The wave equation v = f·λ is one of the most useful identities in physics — it links the spatial period of a wave to its temporal period through the medium it travels in. This guide explains where the formula comes from, why the speed depends entirely on the medium, how it produces the antenna-size and diffraction-limit rules of thumb, and when dispersion or quantum effects mean you need more than just three numbers — the maths behind every input to the wavelength calculator.
What wavelength actually measures
A wavelength is the distance a wave travels in the time it takes to complete one full cycle. Pick any feature of the wave — a crest, a trough, a zero-crossing — and the wavelength is the distance to the next identical feature. It is the spatial period of a repeating pattern, the visible counterpart to the temporal period 1/f. Every periodic wave in physics has one, from the kilometre-long swells of an Atlantic storm to the sub-femtometre matter-waves of protons in a particle accelerator, and the entry point into all of them is the same three-variable identity that the wavelength calculator solves: v = f·λ.
Wavelength is what determines whether a wave can squeeze through a slit, bend around an obstacle, or resonate with a tuned cavity. It sets the size of antennas, the resolution of microscopes, the colour of a laser, the bass response of a room and the diffraction limit of ultrasound imaging. None of those questions can be answered from the frequency alone — you always need the speed of the wave in the relevant medium too. That is why the calculator treats the wave equation as a three-way relationship rather than a one-way formula.
The wave equation: v = f·λ
In one period of oscillation, a wave moves forward by exactly one wavelength. That is true by definition — a period is one full cycle, and one full cycle in space is one wavelength. Distance over time is speed, so:
v = λ / T = f · λ
where v is the propagation (phase) speed of the wave in the medium, f is the frequency in hertz (cycles per second), λ is the wavelength in metres, and T = 1/f is the period in seconds. The relation is presented in Halliday, Resnick and Walker’s Fundamentals of Physics (chapter 16, “Waves I”) as a general result for any sinusoidal travelling wave, and it holds for every type of wave physics recognises — light, sound, water-surface, transverse waves on a string, electromagnetic waves in waveguides, compressional waves in a rock layer.
The three rearrangements are all you need to switch between any two known quantities and the third:
- λ = v / f — wavelength from speed and frequency. Default mode of the wavelength calculator; the most common everyday calculation.
- f = v / λ — frequency from speed and wavelength. Used when you measure a spatial pattern (a diffraction fringe, a standing wave on a string) and need its temporal frequency.
- v = f · λ — propagation speed from frequency and wavelength. The experimental way to measure the speed of sound or the speed of light in a medium: drive a known frequency, measure the wavelength.
The speed depends entirely on the medium
The single most important thing to internalise about v = f·λ is that v is a property of the medium, not of the wave. Change the medium and v changes; the frequency stays fixed (it is set by the source) but the wavelength scales to compensate. A 1 kHz sound has a wavelength of 0.34 m in air, 1.50 m in water and roughly 5.0 m in steel — same frequency, very different wavelengths, because the speed of sound is dictated by the elastic and inertial properties of whatever the wave is travelling through.
The benchmark speeds the wavelength calculator defaults around are:
- Light in vacuum (c) — exactly 299 792 458 m/s. This is a defining constant of the SI, fixed by the 17th General Conference on Weights and Measures (CGPM) in 1983 when the metre was redefined as the distance light travels in 1/299 792 458 of a second. The value has no measurement uncertainty by construction (NIST/CODATA 2018).
- Sound in dry air at 20 °C — about 343.2 m/s. Rises by roughly 0.6 m/s per °C of temperature increase; varies slightly with humidity (humid air carries sound a touch faster, not slower, because water vapour is less dense than the N₂/O₂ it replaces).
- Sound in fresh water at 25 °C — about 1 497 m/s. In seawater, closer to 1 500–1 530 m/s depending on temperature, salinity and depth.
- Sound in steel — about 5 100 m/s for longitudinal waves. In diamond, 12 000 m/s.
- Light in glass — c/n, where n is the refractive index (about 1.5 for crown glass, 2.4 for diamond, 1.33 for water). A green photon slows to roughly 200 000 km/s in glass; its frequency does not change but its wavelength shortens by the factor n.
When you use the wavelength calculator for anything other than vacuum electromagnetic waves, the first decision is which speed to enter. Get the medium right and the formula gives the answer to six significant figures. Get the medium wrong and the answer is off by orders of magnitude — sound in air versus sound in water is already a factor of more than four.
Worked example: an FM broadcast, a piano note, a green photon
Take a mid-FM-band radio station at 100 MHz. Radio waves are electromagnetic, so in vacuum (and to within parts-per-million in air) they travel at the speed of light. With speed and frequency both known, the calculator returns:
λ = c / f = 299 792 458 / 100 000 000 = 2.997 924 58 m
About three metres. This is why an FM aerial — typically a quarter-wave or half-wave monopole — comes out around 75 cm or 1.5 m long; the physical antenna length is a fixed fraction of the wavelength of the signal it is tuned for. Drop the frequency to long-wave AM at 200 kHz and the wavelength balloons to 1 500 m, which is why AM transmitter masts are gigantic towers rather than rooftop sticks.
Now switch the speed input to 343.2 m/s for sound in 20 °C air and enter middle A on the piano at 440 Hz:
λ = v / f = 343.2 / 440 ≈ 0.780 m
Three-quarters of a metre — comparable to the size of the human body, which is why mid-range sound diffracts easily around a person standing between you and the source. The lowest note on a standard piano (A0, 27.5 Hz) has a wavelength of about 12.5 m, longer than most rooms it will ever be played in; that is the physics behind why bass frequencies are hard to localise and why subwoofer placement is less fussy than tweeter placement.
Finally, run the calculator in inverse mode with a wavelength of 550 nm (green light) and the speed of light:
f = c / λ = 299 792 458 / 5.5 × 10⁻⁷ ≈ 5.45 × 10¹⁴ Hz = 545 THz
Five hundred and forty-five terahertz — the peak sensitivity of the human eye, and the reason high-visibility safety gear and emergency lighting cluster around this band. The same three-variable workflow handles every case: pick what you want to solve for, give the other two, and read off the answer from the wavelength calculator.
The electromagnetic spectrum at a glance
Every kind of light — radio, microwave, infrared, visible, ultraviolet, X-ray, gamma — is an electromagnetic wave. They differ only in frequency (equivalently wavelength), and in vacuum they all travel at c. The visible band is a sliver in the middle:
- AM radio — 535 to 1 605 kHz, wavelengths 187 m to 561 m. Long-wave variants extend down to ~150 kHz (λ ≈ 2 km). Follows the Earth’s curvature.
- FM radio and broadcast TV — 88 to 108 MHz (FM) and 470 to 698 MHz (UHF TV), wavelengths 2.8 m to 64 cm. Mostly line-of-sight.
- Mobile (cellular) — 600 MHz to 6 GHz for 4G/5G mid-band; wavelengths 5 cm to 50 cm. Millimetre-wave 5G operates 24 to 40 GHz with wavelengths of 7 to 12 mm, which is why it does not pass through walls but supports very high data rates.
- Wi-Fi and microwave ovens — 2.4 GHz (λ ≈ 12.5 cm) and 5 GHz (λ ≈ 6 cm). Microwave ovens use 2.45 GHz, where water absorbs strongly.
- Infrared — 300 GHz to 430 THz, wavelengths 1 mm down to 700 nm. Thermal imaging, fibre-optic telecoms (1 310 nm and 1 550 nm windows).
- Visible light — about 430 to 770 THz, wavelengths 700 nm (red) to 380 nm (violet). Human eye peaks around 555 nm (green).
- Ultraviolet — 770 THz to 30 PHz, wavelengths 380 nm to 10 nm. UV-A, UV-B and UV-C subdivide this band by biological effect.
- X-rays and gamma rays — above 30 PHz, wavelengths shorter than 10 nm down to picometres and below. Medical imaging, nuclear physics, astrophysics.
Plug any of these frequencies into the wavelength calculator with v = c and the wavelength falls out directly. Conversely, given a wavelength from a spectroscopy table — the sodium D-line at 589 nm, the hydrogen-α line at 656.3 nm, the 21 cm hydrogen radio line — the calculator returns the corresponding frequency in one step.
Why wavelength sets so many practical limits
Antenna size
An efficient radiating antenna is a fraction (typically a quarter or half) of the wavelength it transmits. That is why an FM antenna can be a pocket-sized whip while an AM broadcast antenna has to be a free-standing tower. It is also why early mobile-phone handsets had visible aerials and current ones do not: at the GHz frequencies modern phones use, the wavelength is short enough that the antenna fits invisibly inside the case as a PCB trace or a flexible film.
Diffraction and resolution
A wave can resolve features no smaller than roughly its own wavelength. Visible-light microscopes top out around 200 nm of resolution because that is half the wavelength of blue light (Abbe diffraction limit). To see smaller, you need shorter wavelengths — electron microscopes use de Broglie wavelengths of picometres. Radio waves diffract easily around objects much smaller than λ, which is why you can hear an AM station behind a building but not necessarily a 5 GHz Wi-Fi router two rooms away.
Absorption windows
Different wavelengths are absorbed by different molecules. Water absorbs strongly in the microwave (the basis of cooking) and in parts of the infrared (the basis of climate physics). The atmosphere has clear windows in the visible and in narrow radio bands that astronomy and satellite communications exploit. Choosing the wavelength of a sensor or transmitter is largely about avoiding the absorption peaks of whatever the signal has to pass through.
Standing waves and resonance
Cavities, strings and pipes resonate at frequencies whose wavelengths fit neatly inside their physical dimensions. An open organ pipe of length L supports a fundamental wavelength of 2L; a closed pipe of length L supports 4L. The lowest note of a 1.8 m closed pipe is therefore at λ = 7.2 m, or f ≈ 48 Hz at 343 m/s — comfortably in the audible bass range. Same arithmetic for microwave cavities, optical resonators, swimming-pool seiches and nuclear-reactor neutron flux distributions; the only thing that changes is the speed of the wave.
Doppler shift
When source and observer move relative to each other, the observed frequency (and therefore wavelength) shifts. A 100 MHz emitter approaching at 30 m/s looks like 100.00001 MHz to a stationary observer — a tiny shift in radio terms but the basis of police radar guns and astrophysical redshift measurements. The wavelength relation v = f·λ still holds in the observer’s frame at the shifted frequency.
When v = f·λ needs a footnote
For continuous, single-frequency waves in a non-dispersive medium, the formula is exact. Three caveats turn up often enough to be worth knowing:
- Dispersive media. The phase velocity itself depends on frequency. Light in glass is the canonical example — the refractive index n changes with colour, which is how a prism splits white light into a spectrum. Deep-water gravity waves on the ocean, electromagnetic waves in a plasma below the plasma frequency, and acoustic waves in materials near a resonance are all dispersive. In each case the calculator still works at a single chosen frequency, but v has to be read off a dispersion curve, not treated as a single number for the medium.
- Wave packets. A pulse made of many frequencies has two distinct speeds: the phase velocity at the carrier frequency and the group velocity at which the envelope (and the energy and information) actually travels. In a dispersive medium the two differ, and the group velocity is what matters for signal transmission. v = f·λ gives the phase velocity.
- Relativistic and quantum scales. For matter-waves of particles (de Broglie wavelength λ = h/p, where h is Planck’s constant and p is momentum), v = f·λ still works but with the quantum frequency f = E/h. At everyday energies this is a peculiar bookkeeping exercise; at electron-microscope energies it is essential.
Common mistakes when using v = f·λ
Using the wrong medium speed. The most frequent error. Sound is not light; light in glass is not light in vacuum; sound in air is not sound in water. Match the speed to the actual medium the wave is propagating through, or the answer will be wrong by whichever ratio of speeds you missed.
Mixing units. Hertz and nanometres do not cancel cleanly. Convert to SI base units before plugging into the formula: hertz, metres per second, metres. The wavelength calculator handles the SI-prefix conversions in its breakdown, but the input must be a number with a clear unit. A wavelength of 500 “units” is meaningless unless you specify nanometres, micrometres or metres.
Confusing frequency and angular frequency. ω = 2π·f is the angular frequency in radians per second; it shows up in the time-domain wave equation y(x, t) = A·sin(kx − ωt) where k = 2π/λ is the wavenumber. The relation in those terms is v = ω/k. It is the same physics, but if you plug an ω into the f field of the calculator the answer is off by a factor of 2π.
Forgetting that frequency is set by the source. When a wave crosses from one medium into another (light entering glass, sound from air into water), the frequency is conserved and only the speed and wavelength change. Beginners often assume the colour of light shifts when it enters glass — it does not; the wavelength shortens, but the photon energy E = h·f stays the same, so the colour is unchanged.
Where you will use this in practice
v = f·λ is one of the highest-leverage formulas in physics: a single identity that opens up electromagnetism, acoustics, oceanography, seismology and quantum mechanics. A few of the domains where the wavelength calculator earns its keep:
- RF engineering. Antenna design, transmission-line stub matching, cavity resonator dimensions — all begin with the wavelength of the operating frequency.
- Audio and architectural acoustics. Standing-wave nodes in a listening room, the diffraction radius of a loudspeaker, the resonant frequency of a tube or pipe.
- Optics and photonics. Laser-cavity mode spacing, fibre-optic dispersion windows, anti-reflection coating thickness (a quarter-wave at the design wavelength).
- Medical ultrasound and imaging. Higher-frequency probes give finer resolution but penetrate less; the trade-off is set by f and the speed of sound in tissue (~1 540 m/s).
- Astronomy and spectroscopy. Identifying the elements present in a star from the wavelengths of its spectral lines, or the velocity of a distant galaxy from the shift of those lines.
For the structurally similar three-variable solver from electrical theory, see the Ohm’s Law calculator; for Newtonian mechanics, the force calculator. The pattern is the same in each: rearrange one identity, give two inputs, read off the third.
When the calculator isn’t enough
v = f·λ is a one-dimensional, single-frequency relation. If you are designing a real antenna, modelling a real room, or solving a real diffraction problem, you will need more — an electromagnetic field solver (HFSS, CST), an acoustic ray-tracer or finite-element modal solver, a full wave equation in 2D or 3D. The wavelength calculator is the right tool for the first-order sanity check: it tells you whether the wavelengths in your problem are millimetres, centimetres, metres or kilometres, which sets which approximations are permissible at the next level of detail. Get the wavelength scale wrong at this stage and every downstream calculation inherits the mistake.
Frequently asked questions
Detailed answers to the most common questions about the wavelength formula — what v = f·λ means, why light travels at 299 792 458 m/s exactly, how sound speed varies with medium, the range of visible-light wavelengths, what radio bands are used for, and when the formula needs the group-velocity footnote — are listed in the FAQ section on this page. For related quantities and conversions, see the speed converter for m/s/km/h/mph and the force unit converter for newtons and pound-force. To compute wavelength, frequency or speed directly, return to the wavelength calculator and step through the inputs.
Frequently asked questions
What does v = f·λ actually mean?
It says that the propagation speed of a periodic wave equals its frequency multiplied by its wavelength. Frequency is the number of complete cycles per second (measured in hertz); wavelength is the distance the wave travels in one such cycle (measured in metres). Multiply the two and you get distance per second — the speed of the wave. The identity is exact for any single-frequency travelling wave in a non-dispersive medium and holds for every kind of wave physics recognises: light, sound, water-surface, mechanical, electromagnetic, even quantum matter-waves with the right interpretation of frequency. The three working forms — λ = v/f, f = v/λ, v = f·λ — are simple rearrangements of each other.
Why is the speed of light exactly 299 792 458 m/s?
Because of how the metre is defined. Since 1983 the 17th General Conference on Weights and Measures (CGPM) fixed the speed of light in vacuum at exactly c = 299 792 458 m/s and made the metre derive from it — one metre is the distance light travels in 1/299 792 458 of a second. So c has no measurement uncertainty by construction; it is a defining constant of the SI alongside the second (defined by caesium atomic transitions) and the kilogram (the Planck constant). Earlier definitions used a platinum-iridium bar in Sèvres and then a wavelength of krypton-86 light, both of which carried small but real measurement errors.
How fast does sound travel in different media?
In dry air at 20 °C, about 343.2 m/s — roughly one kilometre every three seconds. The speed rises by about 0.6 m/s per °C of temperature increase and is slightly higher in humid air (water vapour displaces denser N₂ and O₂). In fresh water at 25 °C it is about 1 497 m/s; in seawater closer to 1 500–1 530 m/s. In steel sound travels at around 5 100 m/s for longitudinal waves; in diamond about 12 000 m/s. Sound cannot travel through a vacuum because there is no medium for the pressure variations. Whatever medium you have in mind, enter its sound speed as v in the wavelength calculator; the answer will be wrong by exactly the ratio of true to assumed speed if you pick the wrong medium.
What is the range of visible-light wavelengths?
Roughly 380 nm (violet end) to 750 nm (red end), with peak human-eye sensitivity at about 555 nm (green). In frequency that is roughly 400 to 790 THz. Below 380 nm is ultraviolet, X-ray and gamma; above 750 nm is infrared, microwave and radio. The visible band is narrow precisely because human vision evolved around the peak of the Sun’s emission spectrum, which lies in that range. Bees see further into the UV (~300 nm), pit vipers into the IR (~10 µm). Within the visible range, blue is shorter-wavelength than red — a single fact that explains both the colour of the sky (Rayleigh scattering) and why blue lasers can read denser optical discs than red ones.
What are the main bands of the radio spectrum?
AM broadcast at 535 to 1 605 kHz has wavelengths of 187 to 561 m and follows the curvature of the Earth, reaching well beyond line of sight. Long-wave AM dips below this. FM broadcast at 88 to 108 MHz has wavelengths near 3 m and is mostly line-of-sight. UHF television and many two-way radios run between 470 and 700 MHz (λ ≈ 43 to 64 cm). Modern mobile networks (4G/5G mid-band) run 600 MHz to 6 GHz, with wavelengths from 50 cm down to 5 cm; millimetre-wave 5G uses 24 to 40 GHz, where λ shrinks to 7 to 12 mm. Wi-Fi sits at 2.4 GHz (12.5 cm) and 5 GHz (6 cm). The wavelength sets antenna size, diffraction around obstacles, atmospheric absorption and the maximum data rate.
When does v = f·λ stop being exact?
In dispersive media, where the phase velocity itself depends on frequency. The formula still works at each individual frequency, but v is no longer a single number for the medium. Common examples include light in glass (the refractive index varies with colour — this is how a prism splits white light), deep-water gravity waves (long-wavelength swells outrun short-wavelength ripples), electromagnetic waves in a plasma below the plasma frequency (which is why the ionosphere reflects shortwave radio but is transparent to FM), and acoustic waves near a material resonance. For a continuous single-frequency wave the formula is always correct; for a pulse or wave packet you additionally need the group velocity, which can differ substantially from the phase velocity v = f·λ.
What happens to wavelength when light enters glass or water?
The frequency stays the same (it is set by the source), the speed drops to v = c/n where n is the refractive index of the medium (~1.33 for water, ~1.5 for crown glass, ~2.4 for diamond), and the wavelength scales by the same factor — λ_medium = λ_vacuum / n. Green light at 550 nm in vacuum becomes 414 nm inside crown glass, but its frequency stays at 545 THz so the photon energy E = h·f is unchanged. This is why colour does not visibly shift when light enters glass; only the wavelength inside the glass changes, and that is what governs interference and diffraction within the material.
How is the wavenumber k related to wavelength?
The wavenumber k = 2π/λ is the spatial counterpart to the angular frequency ω = 2π·f, and it appears in the time-domain wave equation y(x, t) = A·sin(kx − ωt). In those terms the wave-speed relation reads v = ω/k, which is mathematically identical to v = f·λ — just multiplied by 2π in both numerator and denominator. Wavenumber is convenient when working with Fourier transforms and dispersion relations because it has units of radians per metre, matching the radians-per-second units of ω. If you have an ω and a k from a physics paper, you can convert to f and λ for the calculator by dividing each by 2π.
Informational only. Not personalised financial, legal, or tax advice.