X-Ray Diffraction and Bragg’s Law

Use Bragg’s law to read X-ray diffraction peaks and calculate crystal-plane spacing. See why atomic spacing, wavelength, and scattering angle matter.

Updated . Sources

On this page

X-rays scattered from neighboring crystal planes reinforce one another at certain angles, producing diffraction peaks. Bragg’s law connects those angles to the spacing between planes. A peak can form when the extra distance traveled by a wave from the deeper plane is a whole number of wavelengths.

Prerequisites: You should know that waves have wavelength and can interfere constructively or destructively. Review interference and Young’s double-slit experiment and electromagnetic radiation if needed.

How diffraction works

Diffraction is the spreading of a wave around an edge or through an opening. It’s easy to see when the opening or obstacle is about the size of the wavelength. For a given opening, a longer wavelength spreads through a wider range of angles. Waves from different parts of the opening can travel different distances to a detector. That path difference changes with angle, so the waves reinforce in some directions and weaken in others.

Sound reaching you around a corner and water ripples fanning out beyond a narrow gap are examples of diffraction. Refraction has a different cause. Light that enters water at an angle changes direction because its speed changes at the boundary.

X-rays and crystal planes

A crystal’s atoms form a repeating pattern. You can picture the pattern as a stack of parallel planes. X-rays scatter from atoms in each plane. Waves scattered from neighboring planes can travel different distances to the detector, just as waves from different parts of an opening can.

Bragg’s law

When the path difference equals a whole number of wavelengths, the waves from neighboring planes arrive in phase and reinforce. Bragg’s law gives the condition for this constructive interference.

nλ=2dsin⁡θ.n\lambda=2d\sin\theta.

Here, n=1,2,3,…n=1,2,3,\ldots is the diffraction order, λ\lambda is the X-ray wavelength, dd is the perpendicular distance between adjacent planes, and θ\theta is the angle between the incoming beam and the planes. Use the same length unit for dd and λ\lambda.

Two parallel incident X-rays scatter from separate crystal planes and reflect upward. The planes are separated by d, and θ is measured from the plane. Incident X-rays Reflected X-rays Crystal planes θ d Path difference = 2d sin θ Peak when nλ = 2d sin θ
Two parallel X-rays scatter from neighboring crystal planes separated by d. With θ measured from the planes, the lower ray travels an extra distance of 2d sin θ; constructive peaks occur when nλ equals that difference.

The incoming and outgoing rays make the same angle with the planes in this geometry. Compare their paths from a common incoming wavefront to a line perpendicular to the outgoing rays. The ray from the deeper plane travels an extra dsin⁡θd\sin\theta on the way in and another dsin⁡θd\sin\theta on the way out. Together those segments give the path difference 2dsin⁡θ2d\sin\theta.

That path difference can be at most 2d2d, since sin⁡θ≤1\sin\theta\leq1. A positive-order peak therefore requires λ≤2d\lambda\leq2d. X-rays with wavelengths on the scale of atomic spacings can meet that condition.

Reading diffraction peaks

With the wavelength and order known, you can find plane spacing from the peak angle using d=nλ/(2sin⁡θ)d=n\lambda/(2\sin\theta). A diffraction plot may show 2θ2\theta, the angle between the forward direction of the incoming beam and the scattered beam. Divide that reading by two to get the Bragg angle. Peak heights also depend on how atoms are arranged within the crystal. Each peak combines scattering from many atoms, and the full pattern helps reveal their repeating arrangement.

Feature Ordinary aperture or edge diffraction X-ray diffraction from a crystal
Wave interaction Parts of a wave spread and interfere Waves scattered from repeated planes interfere
Relevant scale Opening or obstacle compared with wavelength Plane spacing compared with X-ray wavelength
Observed result An intensity pattern, such as light and dark fringes Intensity peaks at specific angles
What it reveals Wave spreading and geometry of the opening Repeated plane spacing and crystal arrangement

Worked example: compare two crystals

Traps

  • Check what the angle is measured from. For an angle α\alpha measured from the normal, use θ=90∘−α\theta=90^\circ-\alpha. For a detector reading labeled 2θ2\theta, halve the reading.
  • Count both extra segments. Include the inbound and outbound contributions before comparing the extra path with nλn\lambda.
  • Match the diffraction order. A peak at a larger angle could be a higher-order peak from the same set of planes. Use the same order and wavelength when comparing plane spacings by angle alone.

For related patterns produced by slits and gratings, continue with thin films, diffraction grating, and single-slit diffraction.


Study the whole MCAT with Wizeprep

Try sample video lessons, AAMC-style practice passages and a practice test for free.

Get Started for Free