Science & Physics

Wavelength and Frequency: The Rule Behind Light, Radio, and Colour

October 8, 2026
6 min read

The short version

  • Wavelength × frequency = the speed of light (c = λ × f) — one equation for all electromagnetic waves.
  • They trade off: longer wavelength means lower frequency, and vice versa.
  • Colour is wavelength — red is long (~700 nm), violet is short (~400 nm).
  • Higher frequency means more energetic photons (E = h × f), which is why UV burns and radio doesn't.
  • To convert between wavelength, frequency, and photon energy, use the Wavelength Calculator.

One equation for radio, light, and X-rays

A radio station announces itself in megahertz. A laser pointer is sold by its wavelength in nanometres. A microwave oven runs at 2.45 gigahertz. These sound like different worlds, but they're all the same kind of thing — electromagnetic waves — described by a single, elegant relationship:

c = λ × f

The speed of light (c) equals the wavelength (λ, the distance between wave peaks) times the frequency (f, how many peaks pass each second). Because the speed of light in a vacuum is fixed at about 299,792 km/s, wavelength and frequency are locked in a see-saw: push one up and the other must come down.

Picturing wavelength and frequency

Imagine ripples moving across a pond past a floating leaf.

  • Wavelength is the distance from one ripple crest to the next — a length, measured in metres (or nanometres for light).
  • Frequency is how many crests pass the leaf each second — a rate, measured in hertz (Hz).

If the ripples travel at a fixed speed, then closely-spaced ripples (short wavelength) must pass more often (high frequency), while widely-spaced ripples (long wavelength) pass less often (low frequency). That's the inverse relationship, and it's exactly what c = λ × f captures. The Wavelength Calculator turns either quantity into the other, and throws in the photon energy too.

Why the same thing looks so different

If radio waves and gamma rays are the same phenomenon, why does one carry your favourite song and the other come out of exploding stars? Only the wavelength differs — but across the electromagnetic spectrum that difference spans an almost absurd range:

  • Radio — wavelengths from centimetres to kilometres; lowest frequencies.
  • Microwaves — centimetre-scale; heat food, carry Wi-Fi.
  • Infrared — just longer than red light; felt as heat.
  • Visible light — a tiny slice, roughly 400–700 nm, the only part our eyes detect.
  • Ultraviolet — shorter than violet; causes sunburn.
  • X-rays and gamma rays — shortest wavelengths, highest frequencies, most energetic.

Everything from your radio to a hospital X-ray machine is working somewhere on this one continuum.

Colour is just wavelength

The slender band we call visible light is where wavelength becomes something we experience directly: colour. Long visible wavelengths (around 700 nm) register as red; short ones (around 400 nm) as violet; the rest of the rainbow fills the gap. White light is all of them mixed together, which is why a prism — bending each wavelength by a slightly different amount — fans sunlight out into a spectrum. A rainbow is the same trick performed by raindrops.

Why higher frequency means more punch

Wavelength and frequency describe the shape of a wave, but there's a third quantity that decides what it can do: the energy it carries. For light, a single packet (a photon) has an energy set purely by its frequency:

E = h × f

where h is Planck's constant. Higher frequency, more energetic photons. This is the crucial safety fact buried in the spectrum. Radio and visible light are low-frequency and gentle. Ultraviolet is energetic enough to damage skin cells (hence sunburn and the need for sunscreen). X-rays and gamma rays carry enough energy per photon to break molecular bonds and damage DNA, which is why their use is carefully controlled. Same family of waves, wildly different consequences — all down to frequency.

A subtlety: wavelength changes in glass and water

One neat wrinkle. When light passes from air into water or glass, it slows down. Its frequency stays the same (that's set by the source), so to keep c = λ × f balanced at the new, slower speed, the wavelength shortens. That change of speed at the boundary is what bends the light — refraction — and it's why a straw looks snapped at the waterline and why lenses can focus an image at all.

Converting your own values

Enter a wavelength or a frequency into the Wavelength Calculator and it returns the other plus the photon energy in joules and electronvolts. For the broader idea of energy in physics, the Energy Calculator covers motion and work.

Sources

  1. National Institute of Standards and Technology (NIST). The speed of light and fundamental constants.
  2. Hecht, Eugene. Optics — standard reference on wave behaviour, refraction, and the spectrum.
  3. BIPM. The International System of Units (SI) — definitions of the metre, second, and hertz.

This article is for general educational purposes.

TA

Written by

Tufail Ahmed

Computer Scientist

Tufail builds CalcPool's calculators and writes the research behind them, turning documented formulas and primary sources into tools and explainers you can actually use.

Reviewed by Khizar Nadim · Technical Reviewer