Diffraction Gratings and Spectra
Diffraction gratings split light into its component wavelengths by exploiting interference from many closely spaced slits or grooves. They build directly on the double-slit and single-slit diffraction ideas from earlier in this unit, but with far more slits, which makes the interference maxima much sharper and more useful for precise measurements.
These gratings show up everywhere: analyzing starlight in astronomy, separating channels in fiber-optic networks, and measuring emission spectra in chemistry labs. Understanding how they work ties together everything you've learned about constructive interference, path differences, and diffraction patterns.
Diffraction Gratings and Spectra
Structure and Function of Diffraction Gratings
A diffraction grating is a surface with many parallel slits or grooves, spaced at distances comparable to the wavelength of light (hundreds to thousands of nanometers). When light hits the grating, each slit acts as a source of diffracted waves. These waves interfere with each other, and because there are so many slits, the constructive interference peaks are extremely narrow and bright.
The result is that polychromatic (multi-wavelength) light gets separated into its component wavelengths, producing a rainbow-like spectrum. The intensity pattern you observe comes from the combined effects of single-slit diffraction and multi-slit interference.
There are two main types:
- Transmission gratings allow light to pass through the slits
- Reflection gratings bounce light off grooved surfaces
Resolving power describes a grating's ability to distinguish two closely spaced wavelengths. It's directly proportional to the total number of illuminated grooves, so a larger grating (or one with more grooves per mm) can separate finer spectral details.
Applications and Characteristics
- Spectroscopy: The primary use. Gratings let you measure wavelengths precisely, which reveals chemical composition (e.g., identifying elements in a star's atmosphere from its emission lines).
- Telecommunications: Wavelength division multiplexing uses gratings to separate and combine different wavelength channels traveling through a single optical fiber.
- Ultrafast optics: Gratings compress and stretch laser pulses by dispersing different wavelength components at different angles.
- Display technology: Color separation in projection systems relies on diffraction gratings to split white light into RGB components.
The Grating Equation

Derivation and Fundamental Principles
The grating equation comes from a straightforward geometric argument about path differences. Here's the reasoning:
- Consider two adjacent slits separated by distance .
- When light diffracts at angle from the grating normal, the wave from one slit travels a distance farther (or shorter) than the wave from the neighboring slit.
- For constructive interference, that path difference must equal a whole number of wavelengths.
This gives the grating equation:
where:
- = grating spacing (center-to-center distance between adjacent slits)
- = angle of diffraction measured from the normal
- = order of diffraction (an integer: 0, ±1, ±2, ...)
- = wavelength of light
The order number tells you how many full wavelengths of path difference exist between adjacent slits. At , all wavelengths constructively interfere at (the central maximum, which appears white for polychromatic light). At , you get the first-order spectrum, and so on.
Practical Applications and Limitations
By measuring the diffraction angle and knowing the grating spacing , you can calculate unknown wavelengths with high precision. This is the basis for how spectrometers work.
There are two important limitations to keep in mind:
- Maximum observable order: Since , the highest order you can observe is . If , that order simply doesn't appear.
- Order overlap: In higher orders, spectra from different orders can land at the same angle. For example, the second-order maximum of a shorter wavelength might overlap with the first-order maximum of a longer wavelength ( could equal ). This is a real problem in spectroscopic work and requires filters or cross-dispersion to sort out.
Grating Spacing, Wavelength, and Angle
Relationships and Dependencies
The grating equation connects three variables. Changing any one affects the others:
- Smaller grating spacing produces larger diffraction angles for the same wavelength and order. A grating with more lines per mm spreads the spectrum out more.
- Longer wavelengths diffract at larger angles than shorter wavelengths for the same and . That's why red light appears farther from the central maximum than violet in a diffraction spectrum (the opposite of what happens with a prism).
Angular dispersion measures how much the diffraction angle changes per unit wavelength. It increases when you:
- Decrease grating spacing (more lines per mm)
- Use higher diffraction orders
Free spectral range is the range of wavelengths you can observe in a given order before the next order starts overlapping. It decreases at higher orders, which means higher orders give better resolution but over a narrower wavelength window.

Grating Design Considerations
Several design choices affect a grating's performance:
- Blaze angle: Grooves can be shaped at a specific angle to concentrate most of the diffracted energy into one particular order. This dramatically improves efficiency for a target wavelength range.
- Groove density (lines per mm): Higher density increases dispersion and resolving power but narrows the free spectral range. Lower density gives a wider usable wavelength range.
- Grating size: A physically larger grating illuminates more grooves, which directly increases resolving power.
- Coatings and substrate: Aluminum coatings work well for UV and visible light, gold for infrared, and dielectric coatings for specialized high-efficiency applications.
Spectra of Different Gratings
Ruled and Holographic Gratings
Ruled gratings are made by mechanically cutting parallel grooves into a surface with a diamond-tipped tool. They produce reasonably uniform efficiency across a wide wavelength range, but the mechanical process can introduce periodic errors. These errors show up as ghost lines (false spectral lines) and increased scattered light in the spectrum.
Holographic gratings are made by recording the interference pattern of two laser beams in a photosensitive material. The resulting groove profile is sinusoidal rather than triangular. Holographic gratings produce spectra with significantly less stray light and fewer ghost artifacts than ruled gratings, and they generally offer better wavefront quality. The tradeoff is that their sinusoidal profile is harder to blaze efficiently.
Specialized Grating Types
- Echelle gratings have coarse, widely spaced grooves at steep blaze angles. They operate at very high orders ( can be 50 or more), which gives excellent resolving power. Because high orders overlap heavily, echelle gratings are almost always paired with a second dispersive element (a prism or low-order grating) in a cross-dispersed configuration. This is standard in high-resolution astronomical spectrographs.
- Volume phase holographic (VPH) gratings work by creating periodic variations in refractive index within a transparent medium, rather than surface grooves. They can achieve very high efficiencies (above 90% in optimized configurations) and are widely used in astronomy and telecommunications.
- Chirped gratings have groove spacings that vary across the surface. This produces non-linear dispersion, which is useful for compressing or stretching ultrafast laser pulses.
Comparison of Grating Performances
Transmission gratings produce symmetrical spectra on both sides of the central maximum (positive and negative orders).
Reflection gratings typically produce spectra on one side, especially when blazed.
Blazed gratings are optimized so that most diffracted energy goes into a chosen order, producing an asymmetric intensity distribution. They're the standard choice for monochromators and spectrometers.
Efficiency varies considerably across grating types:
- VPH gratings can exceed 90% efficiency in their target wavelength range
- Ruled gratings typically achieve 30-60% efficiency, depending on groove profile and coating
- Holographic gratings fall somewhere in between, with lower peak efficiency than well-blazed ruled gratings but more consistent performance and fewer artifacts