What this calculator does
This tool converts between the wavelength and frequency of an electromagnetic wave traveling in a vacuum (or, to a very good approximation, air). Electromagnetic radiation — radio waves, microwaves, infrared, visible light, ultraviolet, X-rays and gamma rays — all propagate at the speed of light, so wavelength and frequency are linked by a single equation. Enter a value in any common unit and the calculator returns the matching quantity instantly.
How to use it
Pick whether you want to solve for frequency or wavelength, type your known value, and choose its unit. Wavelength units (nm, µm, mm, m) and frequency units (Hz, kHz, MHz, GHz, THz) are both supported. The result panel shows the converted value plus handy secondary forms so you don't have to juggle scientific notation yourself.
The formula explained
The governing relation is $$\lambda = \frac{c}{f}$$ where \(\lambda\) is wavelength in meters, \(f\) is frequency in hertz, and \(c\) is the speed of light, \(299{,}792{,}458 \ \text{m/s}\). Because the product \(\lambda \cdot f\) always equals \(c\), increasing frequency shortens wavelength and vice versa. Rearranging gives \(f = \frac{c}{\lambda}\) for the reverse direction.
Worked example
Green light has a wavelength of about \(500 \ \text{nm} = 500 \times 10^{-9} \ \text{m}\). Its frequency is $$f = \frac{c}{\lambda} = \frac{299{,}792{,}458}{5 \times 10^{-7}} \approx 5.996 \times 10^{14} \ \text{Hz}$$ or roughly \(599.6 \ \text{THz}\) — squarely in the visible band.
Electromagnetic Spectrum Reference Table
The electromagnetic (EM) spectrum is continuous, so band boundaries are conventions and differ slightly between sources. The table uses widely accepted approximate values, linked by \(f = c/\lambda\) in vacuum.
| Band | Approx. wavelength range | Approx. frequency range |
|---|---|---|
| Radio | > 1 m | < 300 MHz |
| Microwave | 1 mm – 1 m | 300 MHz – 300 GHz |
| Infrared | 750 nm – 1 mm | 300 GHz – 400 THz |
| Visible light | 380 – 750 nm | ~400 – 790 THz |
| Ultraviolet | 10 – 380 nm | ~790 THz – 30 PHz |
| X-ray | 0.01 – 10 nm | ~30 PHz – 30 EHz |
| Gamma ray | < 0.01 nm (10 pm) | > ~30 EHz |
Notes: PHz = 1015 Hz and EHz = 1018 Hz. Some conventions (for example in engineering) treat microwaves as a sub-range of radio waves, and the X-ray/gamma boundary is often defined by the source of the radiation rather than by a fixed wavelength.
Interpreting Your Result
To identify the spectral region, compare your wavelength or frequency to the table above. Convert to a convenient unit first: wavelengths between about 380 and 750 nm are visible light, hundreds of THz correspond to infrared or visible light, and MHz–GHz values fall in the radio and microwave bands.
Common examples (vacuum values, using \(c = 299{,}792{,}458\) m/s):
- FM radio, ~100 MHz: \(\lambda = \dfrac{299{,}792{,}458}{1\times10^{8}} \approx 3.0\) m.
- Wi-Fi, 2.4 GHz: \(\lambda = \dfrac{299{,}792{,}458}{2.4\times10^{9}} \approx 0.125\) m, about 12.5 cm (microwave band).
- Red light, ~700 nm: \(f = \dfrac{299{,}792{,}458}{700\times10^{-9}} \approx 4.28\times10^{14}\) Hz, about 428 THz.
Frequency and wavelength are inversely proportional: higher frequency means shorter wavelength. Photon energy follows \(E = hf\), so higher frequency also means higher energy per photon. For the 428 THz red light above, \(E = 6.626\times10^{-34}\times4.283\times10^{14} \approx 2.84\times10^{-19}\) J, roughly 1.77 eV.
In a medium other than vacuum (glass, water, a cable), the wave speed is lower than \(c\). The frequency stays the same but the wavelength shrinks, so vacuum-based results do not apply directly there.
Constants Used
| Quantity | Value |
|---|---|
| Speed of light in vacuum, \(c\) | 299,792,458 m/s (exact by definition of the metre) |
| Nanometre (nm) | 10-9 m |
| Micrometre (µm) | 10-6 m |
| Millimetre (mm) | 10-3 m |
| Kilohertz (kHz) | 103 Hz |
| Megahertz (MHz) | 106 Hz |
| Gigahertz (GHz) | 109 Hz |
| Terahertz (THz) | 1012 Hz |
| Planck constant, \(h\) (optional, for photon energy) | 6.62607015 × 10-34 J·s (exact) |
The calculator converts your input to metres or hertz using these prefixes, then applies \(f = c/\lambda\) or \(\lambda = c/f\).
FAQ
Does this account for a medium? No — it assumes propagation in vacuum/air. In glass or water the effective speed is \(c/n\), so multiply wavelength by \(1/n\) if you need the in-medium value.
Why is the speed of light exact? Since 1983 the meter is defined from a fixed value of \(c\), so \(299{,}792{,}458 \ \text{m/s}\) is exact by definition.
Can I use it for sound waves? No. Sound is not electromagnetic; use the local speed of sound instead of \(c\).