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.
| Aspect | Powder XRD | Single-crystal XRD |
|---|---|---|
| Sample | Finely ground powder, bulk solid or thin film | One crystal, typically tens to a few hundred micrometres |
| Data | 1D pattern: intensity vs 2θ | 3D set of indexed reflections |
| Main use | Phase identification, quantification, crystallite size, strain, texture | Full structure solution: atomic positions, bond lengths, absolute configuration |
| Speed | Minutes for a routine scan | Hours, plus structure refinement |
| Limitation | Peak overlap, especially at high angles and in low-symmetry phases | Requires 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
- 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.
- Collect a scan over a suitable range, for example 5–80° 2θ for many inorganic materials, with enough counting time for weak peaks.
- Remove the background and, if needed, the Kα2 contribution, then locate peaks and convert them to d-spacings.
- 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.
- Check that all observed peaks are explained and that the relative intensities make sense.
- 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.
| Technique | Main information | Spatial resolution | Typical strength |
|---|---|---|---|
| Powder XRD | Phases, lattice parameters, crystallite size, texture, residual stress | Bulk average, no imaging | Statistically robust phase identification and quantification |
| SEM with EDS | Morphology and local elemental composition | Nanometres (imaging), around a micrometre for EDS in bulk samples | Where phases are and what they contain |
| EBSD in the SEM | Crystal orientation, grain size, phase maps | Tens of nanometres | Microtexture and grain boundary maps |
| TEM with electron diffraction | Crystal structure of individual grains, defects, interfaces | Down to atomic scale | Nanoscale 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.