MCM 2019
14th Multinational Congress on Microscopy

September 15-20, 2019 in Belgrade, Serbia

Days
Hours
Minutes
Seconds

X-Ray Diffraction (XRD): Bragg's Law, Patterns and Phase Analysis

· 8 min read

X-ray diffraction (XRD) identifies crystalline materials by measuring the angles at which X-rays are scattered by atomic planes, following Bragg's law nλ = 2d sin θ. This explainer covers powder and single-crystal XRD, how to read a diffractogram, crystallite size from the Scherrer equation and where XRD fits next to SEM, TEM and EBSD.

What X-ray diffraction measures

X-ray diffraction exploits the fact that the spacing between atomic planes in a crystal, typically a few ångströms, is of the same order as the wavelength of X-rays. When a monochromatic X-ray beam hits a crystalline material, the waves scattered by electrons in regularly repeating planes interfere. In most directions they cancel out; in a few specific directions they add up and produce a measurable diffracted beam.

Those directions depend only on the geometry of the crystal lattice, and the intensities depend on which atoms sit where in the unit cell. A diffraction pattern is therefore a fingerprint of the crystal structure. That is why XRD is the standard technique for phase identification, lattice parameter measurement, texture analysis and residual stress studies in materials science, geology, pharmaceuticals and battery research.

The method has a long history: Max von Laue showed in 1912 that crystals diffract X-rays, and William Henry and William Lawrence Bragg turned the effect into a quantitative tool for solving crystal structures within a year. Both discoveries were recognised with Nobel Prizes in Physics in 1914 and 1915.

Bragg's law: the core of the x-ray diffraction technique

Constructive interference occurs only when the path difference between waves reflected from neighbouring planes equals a whole number of wavelengths. This condition is Bragg's law:

nλ = 2d sin θ

  • λ is the X-ray wavelength (for a copper anode, Cu Kα1 = 1.5406 Å);
  • d is the spacing between a family of lattice planes (hkl);
  • θ is the angle between the incident beam and those planes, so the detector sits at 2θ relative to the incident beam;
  • n is the diffraction order, usually absorbed into the plane indices in practice.

A worked example

A peak recorded with Cu Kα radiation at 2θ = 44.5° gives θ = 22.25° and sin θ ≈ 0.379. Solving for d gives 1.5406 / (2 × 0.379) ≈ 2.03 Å. That value matches the (111) spacing of face-centred cubic nickel, whose lattice parameter is about 3.52 Å (3.52 / √3 ≈ 2.03 Å). In real analysis a single peak is never enough; the full set of peaks and their relative intensities must fit.

Because d and θ are inversely related, large lattice spacings appear at low angles and small spacings at high angles. Switching to a molybdenum anode (Mo Kα ≈ 0.71 Å) compresses the pattern to lower angles and reaches more reflections, which is useful for single-crystal work and for heavy-element samples.

Powder XRD vs single-crystal x-ray diffraction crystallography

The same physics underlies two quite different experiments. In powder XRD, millions of randomly oriented crystallites ensure that every set of planes is in Bragg condition for some grains, so the pattern collapses into rings that a scanning detector records as peaks along 2θ. In single-crystal diffraction, one small crystal is rotated in the beam and thousands of individual reflections are measured in three dimensions.

AspectPowder XRDSingle-crystal XRD
SampleFinely ground powder, bulk solid or thin filmOne crystal, typically tens to a few hundred micrometres
Data1D pattern: intensity vs 2θ3D set of indexed reflections
Main usePhase identification, quantification, crystallite size, strain, textureFull structure solution: atomic positions, bond lengths, absolute configuration
SpeedMinutes for a routine scanHours, plus structure refinement
LimitationPeak overlap, especially at high angles and in low-symmetry phasesRequires a good-quality crystal, which can be the hardest step

Most laboratory diffractometers for powders use the Bragg–Brentano geometry: the sample is at the centre of a goniometer, it rotates by θ while the detector moves by 2θ, and the beam is focused on a flat specimen surface. For thin films, grazing-incidence geometry keeps the incident beam at a fixed low angle so that the signal comes mainly from the near-surface layer.

How to read an XRD pattern (diffractogram)

An XRD pattern plots intensity against 2θ. Each feature carries specific information:

  • Peak positions give d-spacings and hence the unit cell; shifts can indicate solid solution, lattice strain or thermal expansion.
  • Relative intensities reflect atom types and positions, but also preferred orientation of grains.
  • Peak widths contain instrumental broadening plus contributions from small crystallite size and microstrain.
  • Background and broad humps point to amorphous content, fluorescence or sample holder scattering.

Step by step: x-ray diffraction analysis of an unknown powder

  1. Grind the sample to a fine powder (roughly below 10 µm) to reduce graininess and preferred orientation, and pack it flat and level with the holder surface.
  2. Collect a scan over a suitable range, for example 5–80° 2θ for many inorganic materials, with enough counting time for weak peaks.
  3. Remove the background and, if needed, the Kα2 contribution, then locate peaks and convert them to d-spacings.
  4. Run a search/match against a reference database such as the ICDD Powder Diffraction File or an open crystallography database, restricting the search by the elements known from chemical analysis.
  5. Check that all observed peaks are explained and that the relative intensities make sense.
  6. For quantitative phase analysis, refine the whole pattern with the Rietveld method rather than relying on single peak heights.

Practical tip: always feed elemental information into the phase search. An EDS or XRF result that tells you which elements are present cuts the list of candidate phases dramatically and prevents attractive but chemically impossible matches.

Routine powder XRD detects minor crystalline phases down to roughly 1–2 wt% in a mixture, depending on how strongly they scatter and on peak overlap. Amorphous phases do not give sharp peaks, so they can be missed unless an internal standard is used to quantify them.

Crystallite size from XRD: the Scherrer equation

Small coherent crystalline domains broaden diffraction peaks. The Scherrer equation relates that broadening to an average domain size:

τ = K λ / (β cos θ)

Here τ is the mean size of coherently diffracting domains, K is a shape factor commonly taken as about 0.9, λ is the wavelength, β is the peak width (full width at half maximum, in radians) after subtracting instrumental broadening, and θ is the Bragg angle. For example, a corrected width of 0.30° (0.0052 rad) at 2θ = 44.5° with Cu Kα gives τ ≈ 0.9 × 1.5406 / (0.0052 × 0.926) ≈ 290 Å, or about 29 nm.

Limits you should respect

  • The result is a volume-weighted domain size, not the particle size seen in SEM; one particle can contain many domains.
  • Above roughly 100–200 nm the size broadening becomes too small to separate from the instrumental contribution.
  • Instrumental width must be measured with a standard reference material such as LaB6 and removed first.
  • Microstrain also broadens peaks; methods such as Williamson–Hall analysis or full-pattern refinement separate size and strain effects.

X-ray diffraction of DNA and biological molecules

XRD is also central to structural biology. In 1952 Rosalind Franklin and Raymond Gosling recorded fibre diffraction images of DNA; the famous Photo 51 shows an X-shaped pattern characteristic of a helix, which informed the double-helix model published in 1953. Fibre diffraction differs from crystal diffraction because the molecules are aligned along one axis but not ordered in three dimensions.

Protein crystallography later became the main route to atomic structures of enzymes, receptors and viruses, increasingly at synchrotron sources. Today it works alongside cryo-electron microscopy, which can solve structures of large complexes that are hard to crystallise.

How XRD complements SEM, TEM and EBSD

XRD averages over a large volume of material, typically a sampled area of millimetres and a depth of micrometres to tens of micrometres. Electron microscopy gives local, spatially resolved information. The two approaches answer different questions, and good materials characterisation uses both.

TechniqueMain informationSpatial resolutionTypical strength
Powder XRDPhases, lattice parameters, crystallite size, texture, residual stressBulk average, no imagingStatistically robust phase identification and quantification
SEM with EDSMorphology and local elemental compositionNanometres (imaging), around a micrometre for EDS in bulk samplesWhere phases are and what they contain
EBSD in the SEMCrystal orientation, grain size, phase mapsTens of nanometresMicrotexture and grain boundary maps
TEM with electron diffractionCrystal structure of individual grains, defects, interfacesDown to atomic scaleNanoscale phases and defects too small or rare for XRD

A typical workflow starts with XRD to establish which phases exist and in what proportions, then uses SEM and EDS to see where they are located. EBSD adds grain orientations and phase maps, as described in our explainer on electron backscatter diffraction. When a phase is present only as nanoscale precipitates below the XRD detection limit, transmission electron microscopy with selected-area diffraction is often the only way to identify it.

Common pitfalls in XRD analysis

  • Preferred orientation: plate- or needle-shaped crystals align in the holder and distort relative intensities.
  • Sample displacement: a specimen surface above or below the goniometer axis shifts all peaks and leads to wrong lattice parameters.
  • Fluorescence: iron- and cobalt-rich samples under Cu radiation give a high background; a different anode or an energy-discriminating detector helps.
  • Over-interpreting single peaks: one matching reflection is not a phase identification.

Conclusion

X-ray diffraction turns Bragg's law into a precise tool for identifying crystalline phases, measuring lattice parameters and estimating crystallite size. Powder XRD gives a fast, statistically robust picture of the whole sample, while single-crystal methods deliver full atomic structures. Combined with SEM, EDS, EBSD and TEM, it closes the gap between bulk crystallography and local microstructure.

Frequently asked questions

What is X-ray diffraction used for?

XRD is used to identify crystalline phases, measure lattice parameters, estimate crystallite size and strain, and analyse texture and residual stress. Single-crystal XRD determines complete atomic structures of molecules and materials.

What does Bragg's law tell you?

Bragg's law, nλ = 2d sin θ, gives the angles at which X-rays reflected from parallel lattice planes interfere constructively. Measuring those angles with a known wavelength gives the spacing between the planes.

What is the difference between powder and single-crystal XRD?

Powder XRD measures many randomly oriented crystallites and gives a one-dimensional pattern used mainly for phase identification. Single-crystal XRD measures thousands of reflections from one crystal and solves the full three-dimensional structure.

Can XRD detect amorphous materials?

Amorphous materials do not produce sharp peaks, only broad humps in the background. Their amount can be estimated by adding a known quantity of a crystalline internal standard and refining the pattern.

How accurate is the Scherrer equation?

It gives a reasonable estimate of mean domain size for crystallites smaller than about 100 nm, provided instrumental broadening is removed. Because the shape factor is approximate and strain also broadens peaks, results are best treated as estimates.

How was X-ray diffraction used to study DNA?

In 1952 Rosalind Franklin and Raymond Gosling recorded fibre diffraction images of DNA, including Photo 51. Its X-shaped pattern indicated a helical structure and informed the 1953 double-helix model.