One wave, two descriptions
Every electromagnetic wave can be described by its wavelength — the distance between crests — or by its frequency, the number of crests passing a point each second. In a vacuum the two are locked together by the speed of light.
T = 1 / f
ν̃ = 1 / λ (wavenumber)
E = hf = hc / λ h = 6.62607015×10⁻³⁴ J·s
Frequency is the more fundamental quantity: a photon's energy depends on it directly, and it does not change when light passes from air into glass. Wavelength does change in a medium, which is why spectroscopists often quote wavenumber instead — it is proportional to energy and independent of the refractive index.
Worked example: 532 nm green light
532 nanometres is 5.32 × 10⁻⁷ metres. Dividing the speed of light by that gives 5.6352 × 10¹⁴ Hz, or 563.52 THz. The period is the reciprocal, 1.7746 femtoseconds.
Multiplying by Planck's constant gives 3.7339 × 10⁻¹⁹ joules, which converts to 2.3305 electronvolts. That number is the reason 532 nm lasers are everywhere in labs: it sits in the green where the eye is most sensitive, and 2.33 eV is enough to excite many fluorophores without ionising anything.
| Quantity | Value | Unit |
|---|---|---|
| Wavelength | 5.3200 × 10⁻⁷ | m |
| Frequency | 563.5197 | THz |
| Period | 1.7746 × 10⁻¹⁵ | s |
| Wavenumber | 18 796 992.25 | m⁻¹ |
| Photon energy | 3.7339 × 10⁻¹⁹ | J |
| Photon energy | 2.3305 | eV |
Electronvolts are used because the numbers become human-sized. A visible photon is about 2 eV; a chemical bond is a few eV; a dental X-ray is tens of thousands. Working in joules would mean writing exponents all day.
The spectrum as a table of wavelengths
| Region | Wavelength | Frequency | Photon energy |
|---|---|---|---|
| Gamma ray | < 10 pm | > 30 EHz | > 100 keV |
| X-ray | 10 pm – 10 nm | 30 PHz – 30 EHz | 100 eV – 100 keV |
| Ultraviolet | 10 – 400 nm | 750 THz – 30 PHz | 3.1 – 100 eV |
| Visible | 380 – 750 nm | 400 – 790 THz | 1.65 – 3.26 eV |
| Infrared | 750 nm – 1 mm | 300 GHz – 400 THz | 1.24 meV – 1.65 eV |
| Microwave | 1 mm – 1 m | 300 MHz – 300 GHz | 1.24 µeV – 1.24 meV |
| Radio | > 1 m | < 300 MHz | < 1.24 µeV |
The visible band is remarkably narrow — less than one octave — yet it spans the whole range of colours. Everything from red at 700 nm to violet at 400 nm fits inside a factor of 1.75, which is a smaller range than a single piano octave.
Why the inverse direction is useful
Spectrometers and laser specifications usually give a wavelength, because that is what a grating physically disperses. Detectors, antennas and quantum calculations work in frequency or energy. Converting is a routine step, and getting the unit wrong is the routine mistake.
- Laser safety — the hazard depends on wavelength; 1064 nm is invisible but focuses onto the retina just as well as visible light.
- Antenna design — a half-wave dipole is λ/2 long, so the wavelength sets the physical size of the antenna.
- Photovoltaics — a semiconductor only absorbs photons above its bandgap, which is quoted in eV and corresponds to a cutoff wavelength.
- Telecommunications — fibre optics uses 1310 nm and 1550 nm because those are the windows where silica absorbs least.
- Astronomy — redshift is measured as a shift in wavelength, then converted to velocity.
Units and precision
The unit selector covers the four scales that appear most often. Nanometres for visible light, micrometres for infrared and cell dimensions, millimetres for microwave and radar, and metres for radio.
The decimal places control is worth using deliberately. Frequency values span more than twenty orders of magnitude, so four decimals on a terahertz figure means something quite different from four decimals on a hertz figure. The tool switches to THz automatically above 10¹² Hz to keep the number readable.
Vacuum values only. The calculation uses c = 299 792 458 m/s, the speed in vacuum. In glass or water the speed drops by the refractive index, so the wavelength shortens while the frequency stays the same.
Frequently asked questions
What is the frequency of 532 nm light?
About 563.52 THz. Dividing the speed of light by 5.32 × 10⁻⁷ m gives 5.6352 × 10¹⁴ Hz.
Why does the answer switch between Hz and THz?
Because a visible-light frequency written in hertz has fifteen digits. The tool switches to terahertz above 10¹² Hz so the significant figures stay readable.
What is a wavenumber?
The reciprocal of the wavelength in metres, quoted in m⁻¹ or sometimes cm⁻¹. It is proportional to photon energy and does not change with refractive index, which makes it convenient in spectroscopy.
Does wavelength change in water?
Yes. The frequency stays fixed but the speed drops by the refractive index, so the wavelength shortens by the same factor. This tool assumes vacuum.
How do I convert photon energy from joules to eV?
Divide by 1.602176634 × 10⁻¹⁹, the charge on an electron. The tool reports both so you never need to do it by hand.
Why is 1550 nm important in fibre optics?
It is the wavelength where silica fibre has its lowest attenuation, around 0.2 dB per kilometre. That single number is why long-haul networks are built around it.