Wavelength is the distance between consecutive crests (or troughs) of a wave. It is one of the three fundamental wave properties, along with frequency and wave speed. The relationship lambda = v / f connects them: wavelength equals wave speed divided by frequency. For electromagnetic waves (light, radio, X-rays), the wave speed is the speed of light in a vacuum, c = 299,792,458 m/s, which is an exact defined constant. For sound waves, the speed depends on the medium: about 343 m/s in air at 20 degrees Celsius, about 1,480 m/s in water, and about 5,960 m/s in steel. This calculator solves for any of the three wave properties and includes an electromagnetic spectrum reference for light waves.
What This Calculator Does
Choose which variable to solve for (wavelength, frequency, or wave speed), enter the other two values with their units, and read the result. For electromagnetic waves, check the "use speed of light" option to automatically set the wave speed to c = 299,792,458 m/s. The calculator then identifies which part of the electromagnetic spectrum your wavelength falls in (gamma rays, X-rays, ultraviolet, visible light, infrared, microwaves, or radio waves) with a color-coded reference. Supported frequency units include Hz, kHz, MHz, GHz, and THz. Supported wavelength units include m, cm, mm, microns, nm, and pm. Supported speed units include m/s, km/s, and Mach.
For related physics calculations, use our Force Calculator, Acceleration Calculator, or Kinetic Energy Calculator.
Inputs Required
- Wave speed: The speed at which the wave propagates (use speed of light for EM waves)
- Frequency: The number of wave cycles per second
- Wavelength: The distance between consecutive wave crests
Outputs Provided
- Primary result: The solved variable in the selected unit
- EM spectrum band: Which part of the spectrum the wavelength belongs to (for light waves)
- Color-coded spectrum reference: Visual reference of all EM spectrum bands
- Calculation breakdown: Shows the formula with substituted values
How the Calculation Works
Wavelength: lambda = v / f
Frequency: f = v / lambda
Wave speed: v = f x lambda
Speed of light: c = 299,792,458 m/s (exact)
Speed of sound in air: approx 343 m/s at 20 C
Visible light range: 380-750 nm
The calculator converts all inputs to SI base units (m/s, Hz, meters), applies the wave equation, and converts the result back to the selected output unit. For electromagnetic waves, the speed of light is an exact defined constant since the 2019 SI redefinition: the meter is defined as the distance light travels in 1/299,792,458 of a second. For sound waves, the speed depends on the medium and temperature. In air, the speed of sound increases by about 0.6 m/s for each degree Celsius above 0 C. The electromagnetic spectrum reference uses standard wavelength boundaries: visible light spans approximately 380 nm (violet) to 750 nm (red), with each color band following the conventional ranges used in optics.
How to Use the Calculator
- Check "use speed of light" if working with electromagnetic waves, or uncheck and enter the wave speed for sound or other waves
- Select which variable to solve for: wavelength, frequency, or wave speed
- Enter the two known values with their units
- Read the result and check the EM spectrum band for light waves
Example Calculations
A physics student in Boston wants to find the wavelength of red light with a frequency of 430 THz.
- c = 299,792,458 m/s, f = 430 THz = 4.3 x 10^14 Hz
- lambda = c / f = 299,792,458 / 4.3 x 10^14 = 6.97 x 10^-7 m = 697 nm
- This falls in the visible red range (620-750 nm)
In a second example, a sound wave in air at 20 C has a wavelength of 0.5 meters. What is its frequency?
- v = 343 m/s (speed of sound in air at 20 C), lambda = 0.5 m
- f = v / lambda = 343 / 0.5 = 686 Hz
- This is close to the musical note F5 (698 Hz)
Real-World Scenarios
5G Network Design in San Jose, California
A telecommunications engineer in San Jose is designing a 5G millimeter-wave network. The 5G FR2 band operates at 28 GHz. Using the calculator with the speed of light and f = 28 GHz, the wavelength is lambda = 299,792,458 / 28 x 10^9 = 10.71 mm. This short wavelength is why 5G millimeter-wave requires small cell sites with antennas every few hundred meters: the signals do not penetrate buildings or bend around obstacles as well as lower-frequency signals. The engineer also checks the 5G FR1 band at 3.5 GHz: lambda = 299,792,458 / 3.5 x 10^9 = 85.65 mm (about 8.6 cm). The FR1 signal has a wavelength about 8 times longer, allowing it to propagate farther and penetrate walls better. The Federal Communications Commission (FCC) allocates frequency bands for 5G, and the International Telecommunication Union (ITU) coordinates global spectrum usage. The engineer uses the wavelength to design antenna dimensions, since efficient antennas are typically about half a wavelength long.
Medical X-Ray Calibration at Mayo Clinic in Rochester, Minnesota
A medical physicist at the Mayo Clinic in Rochester, Minnesota is calibrating an X-ray machine for diagnostic imaging. The machine operates at 120 kVp (kilovolt peak), which produces X-rays with a maximum photon energy of 120 keV. Using the energy-frequency relationship E = hf (where h is Planck's constant, 6.626 x 10^-34 J x s), the maximum frequency is f = E/h = (120,000 x 1.602 x 10^-19) / 6.626 x 10^-34 = 2.9 x 10^19 Hz. The corresponding wavelength is lambda = c/f = 299,792,458 / 2.9 x 10^19 = 1.03 x 10^-11 m = 0.0103 nm. The calculator confirms this falls in the X-ray band of the electromagnetic spectrum. The physicist uses this wavelength to select appropriate filtration materials: aluminum filters are used to remove low-energy X-rays (longer wavelengths) that would only contribute to patient dose without reaching the detector. The Food and Drug Administration regulates X-ray equipment performance standards under 21 CFR 1020.30, and the American Association of Physicists in Medicine publishes calibration protocols.
Acoustic Design for a Concert Hall in Nashville
An acoustic engineer in Nashville is designing a new concert hall and needs to understand how sound wavelengths interact with room surfaces. At 20 C, the speed of sound is 343 m/s. The lowest note on a pipe organ (C0) has a frequency of about 16 Hz, giving a wavelength of lambda = 343 / 16 = 21.4 meters. This wavelength is longer than most rooms, meaning the bass note fills the entire space as a pressure variation rather than traveling as a distinct wave. At the other extreme, the highest note on a piccolo (C8) is about 4,186 Hz, with a wavelength of lambda = 343 / 4,186 = 0.082 m = 8.2 cm. This short wavelength means high notes are directional and can be blocked by small surfaces. The engineer designs diffusers with surface features sized to specific wavelengths: bass absorbers need to be meters deep, while treble diffusers can be only centimeters deep. The Acoustical Society of America publishes standards for concert hall acoustics (ASA S12.60), and the National Institute of Standards and Technology maintains calibration standards for acoustic measurement equipment.
Common Mistakes to Avoid
- Using the wrong wave speed: Electromagnetic waves travel at the speed of light (299,792,458 m/s in vacuum), but sound waves travel much slower (343 m/s in air). Using the speed of light for a sound wave will give a wavelength about 874,000 times too long. Always verify the wave type and use the correct speed
- Forgetting that wave speed changes in different media: Light slows down in transparent materials. In water, light travels at about 225,000 km/s (75% of c). In glass, it is about 200,000 km/s (67% of c). The frequency stays the same, but the wavelength decreases proportionally. This calculator uses the speed you enter, so adjust for the medium
- Mixing up frequency and angular frequency: Frequency f is measured in Hz (cycles per second). Angular frequency omega is measured in radians per second, where omega = 2 x pi x f. The wave equation lambda = v / f uses regular frequency, not angular frequency. If your data is in rad/s, divide by 2 x pi first
- Confusing wavelength with amplitude: Wavelength is the distance between crests. Amplitude is the height of the wave from the equilibrium position. They are independent properties: a wave can have a long wavelength and small amplitude, or a short wavelength and large amplitude. This calculator only deals with wavelength
Limitations of This Calculator
This calculator uses the basic wave equation lambda = v / f, which applies to sinusoidal waves in a uniform medium. It does not account for dispersion (where different frequencies travel at different speeds, like light in a prism), wave packets, or non-sinusoidal waveforms. The speed of light in vacuum is an exact constant, but light slows in transparent media according to the refractive index. The speed of sound varies with temperature, humidity, and atmospheric pressure. The electromagnetic spectrum boundaries used for the visual reference are approximate; the transitions between bands are gradual, and different sources use slightly different boundary values. The calculator does not compute photon energy (E = hf = hc/lambda), which is useful for quantum physics applications. For wave phenomena like interference, diffraction, or standing waves, additional calculations are needed beyond the basic wave equation.
Authoritative Research and Resources
- NIST Reference on Constants: Speed of Light - The National Institute of Standards and Technology provides the exact value of the speed of light in vacuum (c = 299,792,458 m/s), which is a defined constant in the SI system since 1983. The meter is defined in terms of c.
- ITU Radiocommunication Sector - The International Telecommunication Union manages the global radio-frequency spectrum and satellite orbit resources. Their recommendations define frequency bands for telecommunications, broadcasting, and scientific research.
- FCC: Wireless Telecommunications - The Federal Communications Commission regulates interstate and international communications by radio, television, wire, satellite, and cable in the United States. Their frequency allocation table shows which wavelengths are used for which services.