Wavelength Calculator

Calculate wavelength, frequency, or wave speed using lambda = v/f. Speed of light preset for EM waves. Shows period, wave number, and EM spectrum reference.

This wavelength calculator solves the wave equation lambda = v/f for wavelength, frequency, or wave speed. It includes a speed-of-light preset for electromagnetic wave calculations and quick-set buttons for sound in air, water, and steel. Results show derived quantities including period, wave number, angular frequency, and photon energy for electromagnetic waves.

Ad

For educational purposes only. These calculators use simplified models and should not be used for engineering or safety-critical decisions.

Ad

About Wavelength Calculator

The Wave Equation

Wavelength equals wave speed divided by frequency: lambda = v/f. For electromagnetic waves in vacuum, v = c = 299,792,458 m/s exactly (fixed by the 2019 SI redefinition, per NIST). For sound waves, v depends on the medium's density and elasticity.

Solve ForFormulaExample
Wavelengthlambda = v / f343 m/s / 440 Hz = 0.780 m (concert A in air)
Frequencyf = v / lambda3 x 10⁸ m/s / 550 nm = 5.45 x 10¹⁴ Hz (green light)
Wave speedv = f x lambda440 Hz x 0.780 m = 343 m/s (confirms speed of sound)

Worked example: FM radio station broadcasts at 101.5 MHz. Wavelength = 299,792,458 / 101,500,000 = 2.953 m. This is why FM antennas are about 75 cm long - one quarter of the wavelength.

Derived Wave Properties

The calculator also computes these related quantities from your input:

PropertyFormulaUnitWhat It Means
Period (T)1 / fsecondsTime for one complete wave cycle
Wave number (k)2 pi / lambdarad/mSpatial frequency - cycles per metre (x 2 pi)
Angular frequency (omega)2 pi x frad/sHow fast the wave oscillates in radians per second
Photon energy (EM only)E = hfeV or JEnergy of one photon at this frequency

The Electromagnetic Spectrum

RegionWavelength RangeFrequency RangePhoton EnergyCommon Uses
Radio (AM)100 m - 10 km30 kHz - 3 MHz0.12 - 12 neVAM radio, navigation
Radio (FM)1 - 10 m30 - 300 MHz0.12 - 1.24 ueVFM radio, TV broadcast
Microwave1 mm - 1 m300 MHz - 300 GHz1.24 ueV - 1.24 meVWiFi, radar, cooking
Infrared700 nm - 1 mm300 GHz - 430 THz1.24 meV - 1.77 eVRemote controls, thermal imaging
Visible (red)620 - 700 nm430 - 484 THz1.77 - 2.00 eVHuman vision
Visible (green)495 - 570 nm526 - 606 THz2.18 - 2.50 eVHuman vision (peak sensitivity)
Visible (blue/violet)380 - 495 nm606 - 789 THz2.50 - 3.26 eVHuman vision
Ultraviolet10 - 380 nm789 THz - 30 PHz3.26 - 124 eVSterilisation, sunburn
X-ray0.01 - 10 nm30 PHz - 30 EHz124 eV - 124 keVMedical imaging, security
Gamma rayBelow 0.01 nmAbove 30 EHzAbove 124 keVCancer treatment, nuclear physics

Higher frequency means shorter wavelength and more energy per photon. This is why gamma rays can penetrate materials and damage DNA, while radio waves pass through your body harmlessly.

Speed of Sound in Different Media

Sound waves are mechanical - they need a medium to travel through. The speed depends on the material's density and elasticity.

MediumSpeed (m/s)Wavelength of 440 HzNotes
Air (20 °C)3430.780 mIncreases ~0.6 m/s per °C
Air (0 °C)3310.752 mUsed in older reference tables
Helium1,0072.289 mWhy voices sound high in helium
Water (20 °C)1,4823.368 mSonar, underwater acoustics
Seawater1,5313.480 mVaries with salinity and depth
Steel5,96013.545 mUltrasonic testing, rail inspection
Diamond12,00027.273 mFastest common solid

Sound travels about 4.4 times faster in water than in air, and about 17 times faster in steel. This is why you can hear a distant train by putting your ear to the track long before you hear it through the air.

Photon Energy and Planck's Equation

For electromagnetic waves, each photon carries energy E = hf, where h is Planck's constant (6.626 x 10⁻³⁴ J s). Since f = c/lambda, this can also be written E = hc/lambda. Shorter wavelength means higher photon energy. A single photon of violet light (400 nm) carries about 3.1 eV of energy, while a radio photon at 100 MHz carries only 0.41 micro-eV - a factor of about 7.5 million less.

For energy-mass relationships at extreme energies, the E = mc² calculator converts between mass and energy. For sound-related speed calculations, the velocity calculator solves v = d/t problems. All calculations run in your browser with no data sent to any server.

Why Sound Speed Varies With the Medium

Sound speed follows v = sqrt(K / rho), where K is the bulk modulus (stiffness) and rho is the density of the medium. Stiffer materials carry sound faster; denser ones slow it down. That explains why steel (very stiff) beats water, which beats air, despite air being the least dense. Temperature matters for gases: the speed of sound in dry air rises by about 0.6 m/s for every 1 °C, which is why an outdoor concert in summer sounds slightly different to one in winter for a listener far from the stage.

Humidity and altitude also shift the figure. The Engineering ToolBox lists dry air at sea level at 343 m/s at 20 °C, rising to around 349 m/s at 30 °C. At 10 km altitude where commercial jets cruise, air is cold enough that sound drops to roughly 295 m/s, which is why the threshold Mach 1 for a passenger airliner is a smaller true airspeed at altitude than at ground level.

Worked example: a submarine sonar emits a 25 kHz pulse in seawater at 1,531 m/s. Wavelength = 1,531 / 25,000 = 0.0612 m (6.12 cm). This short wavelength is what gives sonar good angular resolution for detecting objects.

What Is a Good Reference for Visible Light Wavelengths?

The human eye sees wavelengths from about 380 nm (violet) to 700 nm (red), per the International Commission on Illumination (CIE). Peak photopic sensitivity is near 555 nm (yellow-green) in daylight, shifting to 507 nm (green-blue) in low light (the Purkinje shift). This is why emergency exit signs and high-visibility workwear use yellow-green colours.

ColourWavelength (nm)Frequency (THz)Typical Source
Deep red700428Diode laser, sunset
Orange610492Sodium streetlights (589 nm)
Yellow580517Sun peak emission
Green530566Plant reflection, LEDs
Cyan490612Tropical ocean water
Blue470638Clear sky (Rayleigh scatter)
Violet400750Blacklight edge, some LEDs

Lasers are defined by a single dominant wavelength: a 532 nm green laser pointer is a frequency-doubled Nd:YAG (originally 1064 nm infrared), while a 650 nm red laser pointer uses a gallium-indium-phosphide diode. The BIPM maintains the official colour-matching functions that underpin all industrial colour standards.

How Wavelength Sets the Size of Antennas

A quarter-wave antenna has physical length of lambda/4, because that geometry maximises radiation efficiency for a given frequency. This is why antenna size scales inversely with frequency.

ServiceFrequencyWavelengthTypical Antenna Length (lambda/4)
LW radio198 kHz (BBC R4)1,514 mNot practical - uses a loaded loop
AM MW1 MHz300 m75 m tower (or loaded short whip)
FM radio100 MHz3 m75 cm car aerial
DAB / TV200-800 MHz37-150 cm9-38 cm
4G mobile2.1 GHz14.3 cm3.6 cm (hidden inside phone)
Wi-Fi2.4 GHz12.5 cm3.1 cm
5G mmWave28 GHz10.7 mm2.7 mm (array of hundreds)
Starlink uplink14 GHz (Ku-band)21.4 mmPhased-array dish

5G mmWave is why recent mobile phones carry dozens of tiny antennas in an array: each element is only a few millimetres long, but the array shapes a beam that compensates for the short wavelength's poor building penetration. For the energy carried by these photons, the kinetic energy calculator handles KE = 1/2 m v^2 for mechanical waves and particles.

Common Mistakes When Using the Wave Equation

Mixing units is the top mistake. If frequency is in MHz and speed in m/s, a direct division gives wavelength in units of (m/s)/(1/s) = m only after the MHz is converted back to Hz (x 10^6). The calculator handles this automatically when you pick a unit from the dropdown, but hand-calculations routinely trip on prefixes. A 2.4 GHz signal is 0.125 m (12.5 cm), not 1.25 x 10^8 m.

A second pitfall: assuming light travels at c in materials. Light slows in glass to about 2.0 x 10^8 m/s (refractive index n = 1.5), and in water to about 2.25 x 10^8 m/s (n = 1.33). The frequency stays constant as light enters a new medium, but wavelength shortens by 1/n. This is why a straw in a glass of water looks bent - it is refraction, not a wavelength calculator bug.

A third pitfall: confusing group velocity with phase velocity in dispersive media. The wave equation lambda = v/f uses phase velocity, which is what matters for resonance, antenna length, and cavity dimensions. Group velocity governs how a pulse envelope travels and matters for fibre-optic timing and pulse dispersion in GPS signals. For most everyday calculations the two match closely, but ignoring the distinction can cause errors above 1% in optics and acoustics textbook problems.

Sources

Frequently Asked Questions

What is the relationship between wavelength and frequency?

Wavelength and frequency are inversely related through the wave equation lambda = v/f. Higher frequency means shorter wavelength, and vice versa. For electromagnetic waves in vacuum, the speed is always the speed of light (about 3 x 10^8 m/s).

What is the speed of light?

The speed of light in vacuum is exactly 299,792,458 m/s. It is the maximum speed at which energy or information can travel. Light slows down in materials like glass or water, but its frequency remains the same.

What is the electromagnetic spectrum?

The EM spectrum is the range of all electromagnetic radiation, from radio waves (long wavelength, low frequency) through microwaves, infrared, visible light, ultraviolet, X-rays, to gamma rays (short wavelength, high frequency). All travel at the speed of light.

How are wavelength and energy related?

For photons (EM waves), energy equals Planck's constant times frequency (E = hf). Since f = c/lambda, shorter wavelengths carry more energy. This is why UV and X-rays are more energetic (and potentially harmful) than visible light or radio waves.

Link to this tool

Copy this HTML to link to this tool from your website or blog.

<a href="https://toolboxkit.io/tools/wavelength-calculator/" title="Wavelength Calculator - Free Online Tool">Try Wavelength Calculator on ToolboxKit.io</a>