ThisCalculator

Physics

EM Wavelength Calculator: Formula & How to Use

Updated · Standard formula, shown below

Wavelength 2.998000 m
Wavelength in cm
299.80 cm
Result
Wavelength in nm
2,998,000,000.00 nm
Result
Frequency
100 MHz
You entered

EM Wavelength Calculator: Formula & How to Use

This electromagnetic wavelength calculator converts between frequency and wavelength for any EM wave — radio, microwave, infrared, visible light, ultraviolet, X-rays, or gamma rays. You enter the frequency (or wavelength) and the speed of the wave (defaulting to the speed of light in a vacuum), and it returns the corresponding wavelength (or frequency) in your choice of units. The result is instantaneous, and the formula behind it is one of the simplest and most fundamental in physics.

Formula

The relationship between wavelength (λ) and frequency (f) is:

λ = v / f

where:

  • λ (lambda) is the wavelength in meters (m)
  • v is the speed of the wave in meters per second (m/s)
  • f is the frequency in hertz (Hz, or cycles per second)

For electromagnetic waves in a vacuum, v equals the speed of light, c ≈ 2.998 × 10� m/s. In air, the speed is only about 0.03% slower, so for most practical purposes you can use the vacuum value. In other media (glass, water, optical fiber), the speed is reduced by the refractive index, and the wavelength shortens accordingly while the frequency stays the same.

The calculator uses the standard form: it converts your frequency from MHz to Hz, multiplies the speed of light (entered as ×10� m/s) to get m/s, and divides. The first output is wavelength in meters; the second and third give the same value in centimeters and nanometers for convenience.

Worked Example

Using the default values — frequency = 100 MHz, speed = 2.998 × 10� m/s:

  1. Convert frequency to Hz: 100 MHz = 100 × 10� Hz = 1.00 × 10� Hz
  2. Use the formula: λ = (2.998 × 10� m/s) / (1.00 × 10� Hz)
  3. Divide: λ = 2.998 m

The calculator shows 2.998000 m (rounded to 6 decimals). In centimeters that’s 299.80 cm, and in nanometers it’s 2.998 × 10� nm (about 3 billion nm). For comparison, 100 MHz is a typical FM radio frequency, and its wavelength is indeed about 3 meters — that’s why FM antennas are often around that size.

How to Use the Calculator

Enter any positive frequency in megahertz (MHz) and the wave speed in units of 10� m/s. The speed of light in a vacuum is 2.998, so you can leave it as is for most EM wave problems. If you’re working in a medium, adjust the speed. For example, in glass with refractive index 1.5, the speed is about 2.0 × 10� m/s, so you’d enter 2.0.

The calculator gives you the wavelength in meters first, then in centimeters and nanometers. If you need millimeters or micrometers, just multiply or divide the meter value by powers of 10.

Why Wavelength Matters

Wavelength determines how an electromagnetic wave interacts with matter. It dictates:

  • Antenna size — antennas are often half or quarter of the wavelength.
  • Resolution of imaging — optical microscopes and telescopes are limited by wavelength; shorter wavelengths resolve finer details.
  • Atmospheric absorption — certain wavelengths pass through the atmosphere (radio windows, visible window), while others are absorbed (most infrared, X-rays).
  • Energy per photon — shorter wavelength means higher energy (E = hc/λ), which is why UV and X-rays can damage tissue.

Knowing the wavelength helps you choose the right equipment, from radio antennas to diffraction gratings.

Common Mistakes and Misconceptions

One frequent error is mixing up units. If you enter frequency in GHz but the calculator expects MHz, your result will be off by a factor of 1000. Always check the unit labels. Another mistake is using the speed of light in a vacuum when the wave travels through a medium — for fiber optics, the wavelength inside the fiber is shorter than in air, which matters for interference calculations.

A common misconception: “higher frequency means faster speed.� No — in a given medium, all EM waves travel at the same speed. Frequency and wavelength are inversely proportional; if frequency goes up, wavelength goes down, but speed stays constant.

Limits of the Formula

The formula λ = v/f is exact for any wave, but it assumes a uniform, non-dispersive medium. In real materials, the speed of light depends on frequency (dispersion), so different frequencies travel at slightly different speeds. This is why prisms spread white light into a rainbow. For most everyday calculations, the vacuum value is fine, but for precision work in optics or radio propagation, you need the frequency-dependent refractive index.

Also, the calculator treats the wave as a continuous sine wave. It does not account for modulation, pulses, or quantum effects. For a single photon, the wavelength is related to its momentum, but the same formula applies.

Frequently Asked Questions

How do I convert wavelength to frequency?

Rearrange the formula: f = v / λ. If you have a wavelength in meters and speed in m/s, divide speed by wavelength to get frequency in Hz. For example, a 500 nm green light in vacuum: f = (3.00 × 10� m/s) / (500 × 10�� m) = 6.00 × 10¹� Hz (600 THz).

What is the wavelength of 2.4 GHz Wi-Fi?

Using c = 3.00 × 10� m/s, λ = (3.00 × 10�) / (2.4 × 10�) = 0.125 m = 12.5 cm. That’s why Wi-Fi antennas are often a few centimeters long — they’re designed around a fraction of this wavelength.

Why does wavelength change in water but frequency doesn’t?

When a wave enters a medium, its speed changes, and since frequency is determined by the source, it stays the same. Because λ = v/f, a lower speed means a shorter wavelength. For example, red light in water has a shorter wavelength than in air, but the color (frequency) remains the same.

What is the difference between wavelength and frequency?

Frequency is how many wave cycles pass a point per second (measured in hertz). Wavelength is the physical distance between consecutive peaks (measured in meters). They are inversely proportional: multiply them together and you get the wave speed. High frequency means short wavelength, and vice versa.

Can I use this calculator for sound waves?

Yes, the formula is the same, but you must change the speed to the speed of sound (about 343 m/s in air at 20°C). Enter that speed as 0.00343 (in units of 10� m/s) — but note that the calculator’s unit labels are for EM waves, so it’s clearer to use a dedicated sound calculator. The physics is identical: λ = v/f.

What is the wavelength of visible light?

Visible light ranges from about 380 nm (violet) to 750 nm (red). In meters, that’s 3.8 × 10�� m to 7.5 × 10�� m. The corresponding frequencies are roughly 400 THz to 790 THz. Our calculator gives wavelengths in meters and nanometers, so you can check any color’s wavelength if you know its frequency.

Related

Formula used
in f | Frequency | MHz | 100 | 0
in c | Wave speed | 10^8 m/s | 2.998 | 0
out wl | Wavelength | m | c * 10^8 / (f * 10^6) | 6
out wl_cm | Wavelength in cm | cm | (c * 10^8 / (f * 10^6)) * 100 | 2
out wl_nm | Wavelength in nm | nm | (c * 10^8 / (f * 10^6)) * 1e9 | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.