01

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.

The relationsf = c / λ c = 299 792 458 m/s
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.

02

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.

The same wave in four units
QuantityValueUnit
Wavelength5.3200 × 10⁻⁷m
Frequency563.5197THz
Period1.7746 × 10⁻¹⁵s
Wavenumber18 796 992.25m⁻¹
Photon energy3.7339 × 10⁻¹⁹J
Photon energy2.3305eV

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.

03

The spectrum as a table of wavelengths

Electromagnetic spectrum
RegionWavelengthFrequencyPhoton energy
Gamma ray< 10 pm> 30 EHz> 100 keV
X-ray10 pm – 10 nm30 PHz – 30 EHz100 eV – 100 keV
Ultraviolet10 – 400 nm750 THz – 30 PHz3.1 – 100 eV
Visible380 – 750 nm400 – 790 THz1.65 – 3.26 eV
Infrared750 nm – 1 mm300 GHz – 400 THz1.24 meV – 1.65 eV
Microwave1 mm – 1 m300 MHz – 300 GHz1.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.

04

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.
05

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.