PhysicsWaves and sound
Diffraction of Waves: Definition, Examples and Diagrams

Diffraction is the spreading of a wave as it passes through a gap or around the edge of an obstacle. A sound you hear around a corner, and the colors on the surface of a CD, are both examples of diffraction. The effect is strongest when the gap is about the same size as the wavelength of the wave.
Contents
What is diffraction?
Diffraction is a change in the direction of a wave that is not caused by a change of material. Imagine water waves moving toward a narrow gap in a harbor wall. Most of the wave is blocked, but the part that passes through spreads out into a semicircle on the far side.
The effect depends on the size of the gap compared with the wavelength. A wavelength is the distance between two neighboring crests, measured in meters (m). If the gap is much wider than the wavelength, the wave passes almost straight through and spreads very little. If the gap is about as wide as the wavelength, or narrower, the wave spreads strongly.
Diffraction affects all waves, including light, sound, water and radio waves. It is not a special property of one type of wave. The only difference is the size of the wavelength, which decides whether the spreading is easy to see.
How diffraction works: Huygens’ principle
Christiaan Huygens explained diffraction in 1678 with a simple idea. Every point on a wavefront acts as a source of new small waves. The new waves spread out in all directions, and the wavefront that you see afterward is the envelope of all those small waves.
When a wavefront reaches a gap, only the points inside the gap can send waves forward. Those points act as sources that spread into the region behind the gap. Near the gap the wave spreads most, and farther away the spread waves overlap and form bright and dark patterns.
Those overlapping waves are interference, which is the adding together of waves. Where two waves arrive in step, they reinforce each other. Where they arrive out of step, they cancel. So a diffraction pattern is really a pattern of interference produced by many small sources at the gap.
The sharpest patterns come from a single narrow slit, where dark bands appear at angles set by the slit width and the wavelength. Light passing through many slits at once produces much sharper bright lines, which is why scientists use gratings to study light.
The formula: gratings and single slits
A diffraction grating has many equally spaced slits. It makes bright spots at angles that follow a simple rule.
d sinθ = nλ
The slit spacing d (m) times the sine of the angle θ to a bright spot equals the order n times the wavelength λ (m). The order n is a whole number: 0 for the central bright spot, then 1, 2, 3 and so on. A larger wavelength gives a bigger angle for each order.
For a single slit of width a, dark bands appear where the following rule holds.
a sinθ = mλ
The slit width a (m) times the sine of the angle θ to a dark band equals a whole number m (1, 2, 3, …) times the wavelength λ (m). The narrower the slit, the wider the pattern spreads.
Worked example. A grating has 600 lines per millimeter, so the spacing is d = 1 ÷ 600 mm, or about 1.67 × 10⁻⁶ m. Green light with a wavelength of 550 nm, which is 550 × 10⁻⁹ m, gives the first-order spot (n = 1) at sinθ = λ ÷ d = 550 × 10⁻⁹ m ÷ 1.67 × 10⁻⁶ m, which is about 0.33. The angle is θ ≈ 19°. Red light, with its longer wavelength, would make the spot appear at a larger angle.
Everyday examples
Sound diffracts around doorways. If someone is talking in the next room, you can hear them even when you cannot see them, because the long sound waves spread through the open door and bend around the frame.
Radio waves bend over hills and buildings. AM radio uses wavelengths of hundreds of meters, so the waves spread far around obstacles, which helps AM signals reach places that line-of-sight signals would miss.
Water waves spread out when they pass through a harbor entrance. Waves that enter the gap become curved ripples on the other side, which is why calm water often appears inside a harbor even when the sea outside is rough.
A CD shows rainbow colors because its tracks act as a grating. White light is split by diffraction into its colors, and each color leaves the disc at a slightly different angle. Tilting the disc changes which colors you see.
Shadows also show diffraction. The edge of a shadow is not perfectly sharp, because light bends slightly around the edge of the object that casts it. The effect is small for visible light, but it is measurable.
Diffraction versus refraction
Diffraction and refraction are often confused. Refraction is the bending of a wave when it passes from one material into another, such as light entering water, and the wave changes speed at the boundary. Diffraction is the spreading of a wave at a gap or an edge, and it can happen entirely within one material, such as air.
A useful test is to ask what the wave meets. If it meets a change of material, the bending is refraction. If it meets a gap or an edge whose size is comparable to its wavelength, the spreading is diffraction.
Diffraction also limits the sharpness of images. A camera lens or telescope has a finite aperture, so even a perfect lens cannot focus a point of light to a point. This limit, called the diffraction limit, is set by the wavelength and the lens size.
Who discovered it
Francesco Maria Grimaldi, an Italian Jesuit, described diffraction in 1665 after he saw light spread into the shadow of a thin rod. He gave the effect its name, from the Latin for breaking apart. At the time, most scientists thought light traveled only in straight lines, so his result was an important clue that light is a wave.
Christiaan Huygens explained the effect in 1678 using wavelets, as described above. Thomas Young showed in 1801 that light interferes, which supported the wave picture. Augustin-Jean Fresnel gave a full mathematical treatment in 1818, and his work led to the modern theory of diffraction.
In the twentieth century, scientists used diffraction to study crystals. Max von Laue showed in 1912 that X-rays diffract from crystals, and the pattern reveals the arrangement of atoms inside the crystal. This became one of the most important tools in chemistry and materials science.
Common mistakes and exam tips
The most common mistake is to think diffraction only happens with large gaps. In fact the effect is largest when the gap is about one wavelength wide. A wide door hardly spreads light, but a narrow slit spreads it strongly.
Students also mix up the two equations. The grating equation d sinθ = nλ has bright spots at whole-number orders, while the single-slit equation a sinθ = mλ gives dark bands. Check whether the question refers to a grating with many slits or to one narrow slit before choosing.
Always convert units before calculating. Wavelengths in nanometers must become meters, and line spacings given in lines per millimeter must be turned into a spacing in meters. Writing units at each step makes it easy to spot a mistake of a factor of a thousand.
Frequently asked questions
What is diffraction in simple terms?
Diffraction is the way a wave spreads out after it passes through a gap or past the edge of an obstacle. The spreading is strongest when the gap is about as wide as the wavelength of the wave.
Why does sound diffract more than light?
Sound waves in air have wavelengths of around 0.1 m to 10 m, while visible light has wavelengths of about 400 to 700 nm. Because sound’s wavelength is much larger, it spreads around doorways and corners far more than light does.
What is the difference between diffraction and refraction?
Refraction is the bending of a wave when it passes from one material into another, such as light entering water. Diffraction is the spreading of a wave at a gap or edge, and it can happen in a single material.
What is a diffraction grating used for?
A diffraction grating is a surface with many closely spaced slits or lines that splits light into separate colors and angles. Scientists use gratings in spectrometers to identify the elements in a sample by their colors.
Why does a CD show rainbow colors?
The tiny tracks on a CD act as a diffraction grating, with a spacing of about 1.6 micrometers. White light reflects off the tracks, and each color leaves at a different angle, which produces the rainbow pattern.
Sources and further reading
- OpenStax, "University Physics Volume 3"
- OpenStax, "College Physics 2e"
- Encyclopaedia Britannica, "Diffraction"
- Richard Feynman, "The Feynman Lectures on Physics"
Cite this page
“Diffraction of Waves: Definition, Examples and Diagrams.” Atoms & Forces, https://science.bigworldlist.com/physics/diffraction/.