30

The Physics of Light, Wavelength, and Spectrum

Before color is biology, before it is perception, it is physics. Photons travelling at 299 792 458 m·s⁻¹ carry energy at definite frequencies and obey the same wave equations that describe radio broadcasts and gamma rays. This article is the deep physics groundwork on which every later page about cones, standards, and displays will rest.

Physics · 03 11 Live Demos ~50 min read EM spectrum → photometry
c
299 792 458 m/s
h
6.626 × 10⁻³⁴ J·s
555 nm
Peak photopic V(λ)
1 lm
683 mW @ 555 nm
ADV

Advanced light workbench

The pieces below are usually taught separately: wavelength, photon energy, refractive index, diffraction, photometry, and polarization. In real optical systems they are coupled. This bench lets you push them together and watch the numbers move as one system.

Interactive 00 - Coupled optics bench

Model wavelength, medium, aperture, distance, and polarizers together

Sweep a monochromatic beam through a dispersive medium, clip it with an aperture, and rotate a second polarizer. Frequency and photon energy stay fixed across media; phase velocity and wavelength inside the material do not.

Frequency --
Photon energy --
Medium index --
Phase velocity --
Wavelength in medium --
Diffraction spot --
Polarizer pair --
Photopic efficacy --

A single wavelength is not a color-management workflow, but it is a clean way to see the physics underneath every spectral power distribution.

01

The electromagnetic family

What we call "light" is one stripe in a very wide family of electromagnetic radiation. The whole family obeys the same Maxwell equations and travels through vacuum at the same speed - the speed of light, c ≈ 2.998 × 10⁸ m/s. The differences between radio waves, microwaves, infrared, visible light, ultraviolet, X-rays, and gamma rays are differences of wavelength and frequency, not of fundamental nature.

Interactive 01 · EM spectrum zoom

Sweep across 14 orders of magnitude of wavelength

Drag the slider. The pointer travels logarithmically from kilometer-scale radio waves down to picometer gamma rays. The narrow visible window - everything we will ever see with our eyes - lives in less than one octave of the whole spectrum.

radio microwave IR vis UV X-ray γ 10³ m 10⁻³ m 10⁻⁵ m 10⁻⁷ 10⁻⁹ 10⁻¹²
Band
Infrared
Wavelength λ
100 nm
Frequency ν
2.998 × 10¹⁵ Hz
Photon energy E
12.40 eV
Typical source
Thermal radiator
Typical detector
Bolometer
Radio (> 1 m)
FM, AM, broadcast, Wi-Fi at the short end. Lowest photon energy.
Microwave (1 mm-1 m)
Cellular, radar, microwave ovens. Vibrates molecular bonds.
Infrared (700 nm-1 mm)
Thermal radiation from warm bodies. Felt as heat.
Visible (380-780 nm)
The narrow octave our cones detect. The subject of every other article in this library.
Ultraviolet (10-380 nm)
Sunburns, fluorescence, sterilization. Bee-visible.
X-ray & γ (< 10 nm)
Ionizing. Used for imaging dense matter; biologically harmful in large doses.
02

Wavelength, frequency, energy

Three numbers describe a beam of monochromatic light: its wavelength λ (the distance between successive wave crests), its frequency ν (how many crests pass a point per second), and its photon energy E. Two equations link them. The first is Maxwell's: every electromagnetic wave in vacuum travels at the same speed, so wavelength and frequency are inversely related.

c = λν speed of light = wavelength × frequency

The second comes from quantum mechanics. In 1905 Einstein showed (extending Planck's 1900 work on blackbody radiation) that light is exchanged with matter in discrete packets called photons, each carrying an energy proportional to frequency.

E = hν = hc / λ photon energy = Planck constant × frequency

Together these say: shorter wavelength → higher frequency → more energy per photon. A violet photon (400 nm) carries roughly 3.10 eV; a red photon (700 nm) carries 1.77 eV - nearly half as much energy. Beyond visible light, an X-ray photon at 0.1 nm carries 12 400 eV - enough to ionize an atom and break chemical bonds.

Interactive 02 · Wavelength / frequency / energy

Three views of the same photon

Adjust any of the three sliders. The other two update instantly, since they are constrained by c = λν and E = hν. Watch the colored swatch follow.

λ × ν = c 555×10⁻⁹ × 540×10¹² = 2.998×10⁸ E = hc/λ ≈ 2.234 eV
03

The visible window

Out of an electromagnetic family spanning more than 16 orders of magnitude in wavelength, our cones can see roughly one octave - from 380 nanometers (deep violet) to 780 nanometers (deep red). Why exactly this band?

Two evolutionary constraints converged. The sun's emission peaks here. The surface temperature of the sun (~5778 K) produces a blackbody-like spectrum whose maximum output, after atmospheric filtering, sits around 500 nm. Any eye trying to gather useful light on this planet would do best to tune itself to this band. Water absorbs everything else. Our eyes are filled with water and aqueous humor. Water is transparent in the visible band and opaque to most ultraviolet and infrared. So even if photoreceptors could in principle respond to other wavelengths, our optical media throw most of them away.

~1 octave
Visible vs all EM
1.77-3.26 eV
Visible photon energy
5778 K
Sun's surface temperature
~500 nm
Solar peak (after atmosphere)
Other animals see other bands. Bees see ultraviolet, where many flowers display "honey guides" invisible to humans. Pit vipers detect infrared (technically not via photoreceptors but with thermal organs in their faces). Mantis shrimp have 12-16 photoreceptor classes spanning UV to visible. Our 3-cone vision is unusual only in that it is so common in primates.
04

Light as a wave

James Clerk Maxwell showed in 1864 that electric and magnetic fields can sustain each other while propagating through space - producing self-perpetuating transverse waves whose speed, computed from purely electrical and magnetic measurements, exactly matched the known speed of light. The conclusion was unavoidable: light is an electromagnetic wave.

"We can scarcely avoid the inference that light consists in the transverse undulations of the same medium which is the cause of electric and magnetic phenomena." James Clerk Maxwell · A Dynamical Theory of the Electromagnetic Field · 1865
Interactive 03 · Animated wave

Watch a wave change wavelength in real time

The two perpendicular oscillating components are the electric field (orange) and the magnetic field (blue). Both oscillate transverse to the direction of propagation. Shortening the wavelength packs more crests into the frame and raises the frequency proportionally.

The wave model immediately explains interference, diffraction, and polarization. Two coherent waves that meet in phase reinforce one another and produce a bright spot; out of phase, they cancel. Thomas Young's 1801 double-slit experiment showed this directly with light passing through two narrow slits - and was the strongest argument for the wave theory until quantum mechanics complicated the story.

05

Light as a photon

The wave model could not explain everything. The photoelectric effect - the ejection of electrons when light strikes a metal - depended on the frequency of light, not its intensity. Below a threshold frequency, no electrons came out no matter how bright the light. Above the threshold, even a faint beam ejected them immediately.

In 1905 Einstein proposed that light arrives in discrete energy packets - photons - each with energy E = hν. A photon either has enough energy to liberate an electron or it does not, regardless of how many photons are present. This explained the photoelectric effect, won Einstein the 1921 Nobel Prize, and gave physics back its particle picture of light - which had been Newton's view all along.

Interactive 04 · Photon counter

Just how many photons does a 1-watt source emit?

Choose a wavelength. The energy per photon is fixed by E = hc/λ. Then choose a total power. Dividing power by per-photon energy tells you the photon emission rate - which, even for a faint lamp, is enormous.

Photon energy E
3.578 × 10⁻¹⁹ J
Photon energy (eV)
2.234 eV
Photon emission rate
2.79 × 10¹⁸ per second
Photons per nanosecond
~2.79 × 10⁹
The number is dizzying. A standard 100 lumen LED bulb dumps roughly 10²⁰ photons per second into the room. Yet a single photon, hitting a rod cell at the right time, is enough for a dark-adapted human eye to register a faint flash. Both extremes are real.
06

Wave-particle duality

So is light a wave or a particle? The honest answer is: neither, exactly. Light is a quantum entity that behaves like a wave in some experiments and like a particle in others. Modern physics regards both pictures as approximate. The full description is the quantum electromagnetic field, in which a photon is an excitation of the field with wave-like statistics and particle-like discrete arrivals.

Wave behavior

Best evidence comes from:

  • Interference (Young's double slit, 1801)
  • Diffraction around obstacles
  • Polarization
  • Refraction at boundaries

Particle behavior

Best evidence comes from:

  • Photoelectric effect (Einstein, 1905)
  • Compton scattering (1923)
  • Photon counting at low intensities
  • Cavity-mode statistics in lasers
"Light brings us the news of the universe." Sir William Bragg · The Universe of Light · 1933
07

Refraction and Snell's law

When light passes from one medium to another - air to glass, water to air - its speed changes, and so its direction bends. The amount of bending is governed by Snell's law:

n₁ sin θ₁ = n₂ sin θ₂ indices of refraction × angles from normal

The index of refraction n of a medium is the ratio of the speed of light in vacuum to its speed in that medium. Vacuum has n = 1; air is essentially 1.0003; water about 1.333; common crown glass 1.52; diamond 2.42. Because n depends slightly on wavelength, different colors bend by different amounts - which is exactly how a prism separates white light into a spectrum.

Interactive 05 · Snell's law

Light bends at the boundary - by how much?

Adjust the incidence angle and the second medium's index of refraction. Watch the refracted ray (and the reflected ray) emerge. Cross the critical angle going from a high-index to a low-index medium, and refraction stops entirely - total internal reflection, the principle behind fiber optics.

θ₁ θ₂ n₁ = 1.00 (air) n₂ = 1.50 (glass)
Refracted angle θ₂
28.13°
Critical angle
41.81°
Mode
Refraction
Dispersion in action: the index of refraction is slightly higher for shorter wavelengths. A typical crown glass bends violet (n ≈ 1.532) more than red (n ≈ 1.514), which is exactly why Newton's prism worked - and why telescope lenses use multiple materials to cancel out chromatic aberration.
08

Scattering: why the sky is blue

When light passes through a medium containing small particles, some photons are deflected - scattered - rather than absorbed or transmitted straight through. The physics depends on how the particle size compares to the wavelength of light. Rayleigh scattering applies when particles are much smaller than the wavelength - molecules of N₂ and O₂ in the atmosphere are a classic case. Its intensity scales as 1/λ⁴, which means short wavelengths scatter far more strongly than long ones.

This single fact explains a lot. The midday sky is blue because incoming sunlight scatters from atmospheric molecules, and the short blue wavelengths scatter most strongly in all directions - including toward your eye. The sun itself at midday looks white-yellow because most of its blue light has been scattered out. At sunset, the path through atmosphere is so long that even the longer-wavelength reds eventually scatter, leaving the direct sun a deep orange.

Interactive 06 · Rayleigh scattering

Watch a sunset develop as the atmosphere thickens

Adjust the sun's altitude. At noon the sun shines through a thin atmosphere, only the short blue end scatters strongly, and the sky is blue. As the sun drops toward the horizon, the optical path through atmosphere lengthens, more wavelengths get scattered out, and the direct sun reddens.

Path length: 1.41 × Direct sun: #fff8e0 Sky color: #82c4ff
Rayleigh scattering
Particles ≪ λ. Intensity ∝ 1/λ⁴. Blue sky, red sunset.
Mie scattering
Particles comparable to λ. Wavelength-neutral. White clouds, fog, milky water.
Tyndall effect
Visible scattering in colloids and aerosols - smoke beams in a dusty room, headlights in fog.
Raman scattering
Inelastic scattering where photons exchange small amounts of energy with molecular vibrations.
09

Blackbody radiation

Any object with a temperature above absolute zero emits electromagnetic radiation. A perfect emitter - one that absorbs all incident light and re-radiates only by its temperature - is called a blackbody. Its emission spectrum is described by Planck's law, the formula whose derivation in 1900 launched quantum mechanics.

B(λ, T) = (2hc² / λ⁵) · 1 / (exp(hc/λkBT) − 1) spectral radiance per unit wavelength of a blackbody at temperature T

Two derived laws follow. Wien's displacement law says the peak wavelength shifts as λpeak = 2898 μm·K / T - hotter objects peak at shorter wavelengths. Stefan-Boltzmann's law says the total power radiated scales as T⁴, so doubling temperature multiplies output by 16.

Interactive 07 · Blackbody radiator

Watch an object's color shift as it heats up

Slide the temperature. At 1500 K the radiator glows dull red (think of a slow-cooled iron coil). At 3000 K it is incandescent yellow-white (tungsten filament). At 5800 K it matches the sun. Above that, the peak crosses into ultraviolet and the visible band looks bluish-white. Three numbers below the curve track the peak wavelength, total radiated power, and the appearance color of a blackbody at that temperature.

Peak wavelength
965 nm (infrared)
Total radiated power (relative)
8.1×
Body appearance
incandescent yellow
Real-world example
Tungsten bulb
10

Photometry vs radiometry

Physics measures light in radiometric units - watts of total radiant power - that ignore the observer. But human vision is wavelength-selective. A 1-watt source emitting in deep red looks much dimmer than a 1-watt source emitting near 555 nm where cone sensitivity peaks. To talk about visual brightness, we need photometry: radiant power weighted by the photopic luminosity function V(λ).

Φv = Km ∫ Φe(λ) V(λ) dλ luminous flux (lm) = 683 lm/W × ∫ radiant power × V(λ)

The constant Km = 683 lm/W at 555 nm sets the definition of the lumen. A monochromatic green light at 555 nm reaches the maximum possible 683 lm/W. The same wattage at 700 nm yields only about 28 lm/W - the same energy, but visually 24 times dimmer.

Interactive 08 · Photopic V(λ)

The same watt of light, different lumens

Adjust wavelength. The orange curve is the standard photopic V(λ), peaking at 555 nm. The black curve is the scotopic V'(λ), peaking at 507 nm (rod sensitivity). One watt of radiant power becomes a different number of lumens depending where in the spectrum it sits.

photopic V(λ) scotopic V'(λ)
V(λ) photopic
1.000
V'(λ) scotopic
0.387
Luminous efficacy (1 W)
683 lm/W
Radiant flux (W)
Total electromagnetic power emitted, integrated over all wavelengths.
Luminous flux (lm)
Visually weighted power. Lumens are V(λ)-weighted watts.
Illuminance (lx)
Lumens per square meter falling on a surface.
Luminance (cd/m²)
Lumens per steradian per square meter of source - the SI unit for "brightness" of a surface.
Luminous intensity (cd)
Lumens per steradian. The candela is one of the seven SI base units.
Luminous efficacy
Lumens delivered per watt of input. Maxes at 683 lm/W for monochromatic 555 nm light.
11

Polarization

A light wave's electric field oscillates transverse to its direction of motion - but the orientation of that oscillation is a separate degree of freedom. Light whose electric field oscillates in one specific direction is linearly polarized. Light whose oscillation orientation is random or rotates over time is unpolarized.

A polarizing filter transmits only the component of the wave whose electric field aligns with the filter's axis. Two polarizers crossed at 90° transmit nothing. This is the principle behind LCD screens, polarized sunglasses, and 3D cinema glasses.

Interactive 09 · Polarizer pair

Rotate two polarizers and watch the transmission curve

Two stacked polarizing filters. The first polarizer transmits half of an unpolarized input beam, then the second analyzer follows Malus's law: I = (I0 / 2) cos^2(theta). At 0 deg the pair transmits 50% of the original beam; at 90 deg it transmits none.

Pair transmission from original beam: 25.0% 50.0% of the light that passed filter 1
12

The inverse-square law

Light from a point source spreads out into a sphere. The same total flux gets distributed over an increasingly large surface area, so the illuminance falling on any patch decreases as 1/r². Doubling the distance quarters the brightness; tenfold the distance, hundredfold the dimming.

E = Φ / (4πr²) illuminance = total flux / surface of sphere at distance r
Interactive 10 · Inverse-square falloff

Move a meter away from a lamp and watch readings collapse

The lamp emits a fixed 1000 lumens. Adjust your distance from it. The illuminance hitting your imaginary 1 m² detector follows 1/r² - which is why moving closer to a desk lamp is dramatically more effective than buying a brighter bulb.

Total flux Φ
1000 lm
Distance r
1.0 m
Surface of sphere at r
12.57 m²
Illuminance at detector
79.6 lx
Why studio photographers care: the inverse-square law is the source of the "soft light" effect. A small, distant source produces hard, evenly-lit pictures across the whole scene. A large source close up produces a steep falloff from one side of the face to the other - dramatic light that varies sharply with position.
13

Test your understanding

Six questions on the physics of light. Wrong answers come with brief explanations.

Quick check

Loading…
 
Question 1 of 6
14

Continue your journey