Wavelength Calculator

Calculate wavelength from frequency or frequency from wavelength. Supports all EM spectrum bands, refractive index, photon energy, wave number. Includes spectrum visual and reference table.

1 = vacuum, 1.0003 = air, 1.33 = water, 1.5 = glass
Wavelength
12.4914 cm
In medium (n=1)
Frequency
2.400000 GHz
Band: UHF
Photon Energy
0.000010 eV
1.590e-24 J
Wave Number
8.01 m⁻¹
0.08 cm⁻¹
Period
4.167e-10 s
1/f
Phase Velocity
299.7925 Mm/s
100.0000% of c

Electromagnetic Spectrum

ELF
VLF
LF
MF (AM)
HF
VHF
UHF
SHF
EHF
Infrared
Visible
UV
Your signal is in the UHF band

Common Frequencies & Wavelengths

ApplicationFrequencyWavelength
AM radio1 MHz299.79 m
FM radio100 MHz3.00 m
GPS L11575.42 MHz190.29 mm
WiFi 2.4G2.4 GHz124.91 mm
WiFi 5G5 GHz59.96 mm
5G FR228 GHz10.71 mm
Red light430 THz697.2 nm
Green light545 THz550.1 nm
Blue light680 THz440.9 nm
Planning notes, formulas, and examples

About the Wavelength Calculator

The wavelength of an electromagnetic wave is the distance between successive crests, related to frequency by λ = c/f, where c is the speed of light (299,792,458 m/s in vacuum). This fundamental relationship spans the entire electromagnetic spectrum — from radio waves kilometers long to gamma rays smaller than atomic nuclei.

In a medium with refractive index n, the speed of light slows to v = c/n, and the wavelength shortens to λ = c/(nf). The frequency does not change when entering a medium; only the wavelength and speed change. This is why light bends (refracts) at material boundaries.

This calculator converts between frequency and wavelength for any part of the EM spectrum. It computes photon energy (E = hf), wave number, and period. It identifies which frequency band your signal falls in (from ELF to UV) and displays it on a color-coded spectrum visual. A reference table lists common applications from AM radio to visible light with their frequencies and wavelengths.

When This Page Helps

Antenna design, optical engineering, RF planning, and spectroscopy all require converting between frequency and wavelength. A half-wave dipole antenna for WiFi at 2.4 GHz needs to be about 6.25 cm long. Knowing the photon energy tells you whether radiation can ionize atoms or trigger certain chemical reactions. This calculator handles all the conversions plus medium effects.

How to Use the Inputs

  1. Select whether you know the frequency or wavelength.
  2. Enter the value and select the appropriate unit (Hz to THz, or nm to km).
  3. Set the refractive index (1 for vacuum/air, 1.33 for water, 1.5 for glass).
  4. Read the wavelength/frequency, photon energy, wave number, and period.
  5. Check the spectrum visual to see which band your signal is in.
  6. Use presets for common frequencies (FM radio, WiFi, 5G, visible light).
Formula used
λ = v / f = c / (n × f) f = v / λ = c / (n × λ) Where: c = 299,792,458 m/s (speed of light) n = refractive index of medium v = c/n (phase velocity) Photon energy: E = h × f = hc/λ h = 6.626 × 10⁻³⁴ J·s Wave number: k = 1/λ (m⁻¹) or 2π/λ (rad/m)

Example Calculation

Result: λ = 12.49 cm

At 2.4 GHz: λ = 299,792,458 / 2,400,000,000 = 0.1249 m = 12.49 cm. This is why WiFi antennas are typically 5-6 cm (quarter-wave). The photon energy is 9.93 μeV — far too low to ionize anything.

Tips & Best Practices

  • For antenna design: a half-wave dipole is λ/2, a quarter-wave whip is λ/4. At 2.4 GHz, λ/4 ≈ 3.1 cm.
  • Visible light spans roughly 380-700 nm (violet to red). Below 380 nm is ultraviolet; above 700 nm is infrared.
  • The refractive index of air is approximately 1.0003 — close enough to 1 for most calculations. Glass is 1.5, water is 1.33, diamond is 2.42.
  • Photon energy in eV is useful for quantum transitions: visible photons are 1.8-3.3 eV, UV starts at ~3.3 eV, X-rays are keV to MeV.
  • Wave number (cm⁻¹) is the preferred unit in infrared spectroscopy: 4000-400 cm⁻¹ spans the mid-IR fingerprint region.
  • Frequency does not change between media. Wavelength and speed change. This is why fiber optic wavelengths (1310 nm, 1550 nm) are specified in vacuum equivalents.

The Electromagnetic Spectrum in Daily Life

We swim in electromagnetic waves. FM radio (88-108 MHz, 2.8-3.4 m), cell phones (700 MHz-39 GHz), WiFi (2.4/5/6 GHz), Bluetooth (2.4 GHz), GPS (1.2/1.6 GHz), and microwave ovens (2.45 GHz) all use specific wavelengths chosen for propagation, bandwidth, and regulatory reasons. Understanding wavelength helps explain why 5G mmWave (28 GHz, λ=11 mm) has trouble penetrating buildings while FM radio (λ=3 m) propagates around obstacles.

Optical Wavelengths and Color

The visible spectrum runs from violet (~380 nm) through blue, green, yellow, orange to red (~700 nm). Beyond red lies infrared (used for thermal cameras and fiber optics at 850/1310/1550 nm), and beyond violet is ultraviolet (used for sterilization at 254 nm). Lasers are specified by their precise wavelength: red HeNe at 632.8 nm, green DPSS at 532 nm, blue at 445 nm.

Wavelength in Different Media

When light enters a material, it slows by the refractive index factor. In optical fiber (n ≈ 1.467 for silica at 1550 nm), the wavelength inside the fiber is 1550/1.467 ≈ 1057 nm, even though we label it "1550 nm" (the vacuum wavelength). This distinction matters for interference effects: thin film coatings, fiber Bragg gratings, and antireflection layers all depend on the wavelength inside the material, not the vacuum wavelength.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • Exactly 299,792,458 m/s in vacuum (defined since 1983). In air it is 0.03% slower. In water it is 25% slower (n=1.33). In glass, about 33% slower (n=1.5). In diamond, 59% slower (n=2.42).