Skip to content
Tutorials Center
My learning

Topics

Lesson 33 of 38 · The Electromagnetic Spectrum

Electromagnetic Waves and the Spectrum

Explore electromagnetic waves from radio to gamma rays: the wave equation c = fλ, wavelength and frequency ranges, and the photon energy formula E = hf.

Visible light is only a thin slice of a much larger family. Radio waves, microwaves, infrared, visible light, ultraviolet, X-rays and gamma rays are all the same kind of wave, called electromagnetic (EM) waves. They differ only in frequency and wavelength. Your phone, a microwave oven, a TV remote and a hospital X-ray machine all use different parts of the same spectrum.

This lesson explains what EM waves are, what they have in common, and how to move between frequency, wavelength and photon energy.

What is an electromagnetic wave?

An EM wave is a self-sustaining pattern of oscillating electric and magnetic fields. The two fields vibrate at right angles to each other and to the direction of travel, so EM waves are transverse. A changing electric field produces a magnetic field, and a changing magnetic field produces an electric field, which is why the wave can carry on across empty space. Unlike sound, an EM wave does not need a medium.

All EM waves share these properties:

  • They are transverse waves and can be polarized, reflected, refracted, diffracted and made to interfere.
  • They travel at the same speed in a vacuum, c = 3.00 × 10⁸ m/s (more precisely 299,792,458 m/s).
  • They carry energy, and can transfer it to matter when absorbed.
  • They obey the wave equation c = fλ.

The wave equation

For any wave, v = fλ. For EM waves in a vacuum (and almost exactly in air):

c = f λ

Example. An FM radio station broadcasts at f = 100 MHz = 1.00 × 10⁸ Hz. Then λ = c/f = 3.00 × 10⁸ / 1.00 × 10⁸ = 3.0 m.

Example. A microwave oven uses f = 2.45 GHz. Then λ = 3.00 × 10⁸ / 2.45 × 10⁹ ≈ 0.12 m, about 12 cm.

Example. Green light has λ = 550 nm. Then f = c/λ = 3.00 × 10⁸ / 550 × 10⁻⁹ ≈ 5.5 × 10¹⁴ Hz.

When light enters glass, its frequency stays the same, but its speed and wavelength both drop by the factor n.

The spectrum in order

Ordered from longest to shortest wavelength (lowest to highest frequency). The boundaries are conventional and overlap, so the ranges below are approximate.

Region Typical wavelength Typical frequency
Radio above about 1 m (up to km) below about 300 MHz
Microwaves about 1 mm to 1 m about 300 MHz to 300 GHz
Infrared about 700 nm to 1 mm about 300 GHz to 430 THz
Visible light about 400 nm to 700 nm about 430 THz to 750 THz
Ultraviolet about 10 nm to 400 nm about 750 THz to 30 PHz
X-rays about 0.01 nm to 10 nm about 30 PHz to 30 EHz
Gamma rays below about 0.01 nm above about 30 EHz

A handy memory aid for the order, low frequency to high: Radio, Microwave, Infrared, Visible, Ultraviolet, X-ray, Gamma ("Really Mad Indian Vampires Use X-ray Guns" is one of many).

flowchart LR
    A["Radio"] --> B["Microwave"] --> C["Infrared"] --> D["Visible"] --> E["Ultraviolet"] --> F["X-ray"] --> G["Gamma"]

Frequency and photon energy increase from left to right; wavelength decreases.

The gamma-ray and X-ray ranges overlap. The difference is mostly origin: X-rays are usually made by electrons slowing down or dropping to lower energy levels in atoms; gamma rays come from atomic nuclei or from high-energy processes.

Photon energy

EM radiation is emitted and absorbed in packets of energy called photons. The energy of one photon is proportional to the frequency:

E = h f = h c / λ

where h = 6.626 × 10⁻³⁴ J·s is Planck's constant. Since photon energies are tiny in joules, they are often given in electronvolts, where 1 eV = 1.602 × 10⁻¹⁹ J.

Higher frequency means more energy per photon. A single X-ray photon carries thousands of times more energy than a radio photon, which is why X-rays can damage cells and radio waves cannot.

Python Wavelength, frequency and photon energy converter

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Look at the last column. The photon energy of visible light is a few electronvolts, which is about the energy scale of chemical bonds. That is why light can trigger chemical reactions in your eye and in plants.

Plotting the spectrum on a log scale

The wavelengths span more than 15 orders of magnitude, so we use a logarithmic axis.

Python The spectrum on a logarithmic scale

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. What do all electromagnetic waves have in common in a vacuum?

    All EM waves travel at c ≈ 3.00 × 10⁸ m/s in a vacuum, whatever their frequency.
  2. 2. A radio wave has a frequency of 1.5 × 10⁶ Hz. What is its wavelength? (c = 3.0 × 10⁸ m/s)

    λ = c/f = 3.0 × 10⁸ / 1.5 × 10⁶ = 200 m.
  3. 3. Which has the greatest photon energy?

    Photon energy E = hf increases with frequency, and X-rays have the highest frequency among these.
  4. 4. What happens to the frequency of light when it passes from air into glass?

    Frequency is set by the source. Speed and wavelength change, but frequency does not.

Summary

  • EM waves are transverse oscillations of electric and magnetic fields and need no medium.
  • In a vacuum all travel at c = 3.00 × 10⁸ m/s, and c = fλ.
  • Order, low to high frequency: radio, microwave, infrared, visible, ultraviolet, X-ray, gamma.
  • Photon energy E = hf = hc/λ, with h = 6.626 × 10⁻³⁴ J·s.

Next: Light, Color and Dispersion