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.
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.
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.
A single wavelength is not a color-management workflow, but it is a clean way to see the physics underneath every spectral power distribution.
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.
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.
- Band
- Infrared
- Wavelength λ
- 100 nm
- Frequency ν
- 2.998 × 10¹⁵ Hz
- Photon energy E
- 12.40 eV
- Typical source
- Thermal radiator
- Typical detector
- Bolometer
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.
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.
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.
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.
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.
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.
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.
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.
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⁹
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
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:
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.
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.
- Refracted angle θ₂
- 28.13°
- Critical angle
- 41.81°
- Mode
- Refraction
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.
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.
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.
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.
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
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(λ).
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.
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.
- V(λ) photopic
- 1.000
- V'(λ) scotopic
- 0.387
- Luminous efficacy (1 W)
- 683 lm/W
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.
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.
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.
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
Test your understanding
Six questions on the physics of light. Wrong answers come with brief explanations.
Quick check
Continue your journey
Diffraction and Diffraction Gratings: The CD Rainbow
The other way to split a spectrum - by structure, not by a prism.
Physics · 50Polarization and Color
Another property of the light wave - and the color it hides until you filter for it.
Physics · 40Color in Nature: Sky, Rainbows, Atmosphere
Scattering and refraction painting the sky with the same light.
Physics · 33How Colorants Work: Pigments, Dyes, Structural Color
What matter does with the wavelengths once light arrives.
Physics · 28Color Temperature and White Balance
Blackbody radiation applied: the Kelvin scale and neutralizing light.
Foundations · 01What Color Is and How Humans See It
The starting cornerstone: light, surface, eye, brain, standards in one interactive primer.
Foundations · 02History of Color Science from Newton to Hering
Three centuries of thought: prism, three receptors, opponent process, standards era.
Physics · 04Spectral Power Distributions and Why RGB Is Not Enough
How real-world sources look as energy-per-wavelength curves - and where tristimulus falls short.
Vision · 05Human Color Vision: Cones, Opponent Signals, and the Brain
The biology that turns physics into experience: receptors, retinal recoding, cortex.
Colorimetry · 08CIE XYZ Explained
How the standard observer plus a spectrum produces a single, numerical color.
Colorimetry · 10Chromaticity Diagrams Without the Intimidation
The horseshoe diagram, spectral locus, white points, and the line of purples.