X-ray diffraction
Single-crystal X-ray diffraction gives the complete three-dimensional structure of a molecule: which atoms it contains, how they are bonded, bond lengths and angles, the conformation in the crystal and, under suitable conditions, the absolute configuration. It is the most direct structural proof, with one condition: a good-quality crystal must be obtained.
Why crystals diffract
X-rays have wavelengths of the order of interatomic distances: 0.71 Å for molybdenum Kα radiation and 1.54 Å for copper. When they pass through a crystal, they are scattered by the electrons of each atom. Since in a crystal the molecules repeat in an ordered way in all three directions of space, the scattered waves reinforce one another only in very specific directions, those that satisfy Bragg's law:

Each family of planes in the crystal gives a diffraction spot, a reflection. The diffractometer rotates the crystal and records tens of thousands of reflections, with their position and intensity.
From diffraction pattern to structure
- The unit cell. The positions of the reflections give the dimensions of the unit cell, the unit that repeats in the crystal, and its symmetry (the space group).
- The phase problem. To reconstruct the electron density, the amplitude and the phase of each diffracted wave are needed, but the detector only measures intensity, which gives the amplitude. The phases are lost. For small molecules, direct methods (Hauptman and Karle, Nobel Prize 1985) estimate them from statistical relationships between the intensities.
- The electron density map. With amplitudes and phases, a Fourier transform gives the electron density in the cell. The maxima correspond to the atoms.
- Refinement. A model is built with the atomic positions and their thermal vibration, the intensities it would give are calculated, and it is adjusted until they match the measured ones. The quality is expressed by the R factor: for a good small-molecule structure it is below 5 %.

The result is described by the coordinates of all the atoms and is shown in the familiar ORTEP diagrams, in which each atom is an ellipsoid that indicates its thermal vibration. Published structures of organic molecules are collected in the Cambridge Structural Database (CSD), with more than a million entries.
Absolute configuration
Under normal conditions, a crystal and its mirror image give the same diffraction pattern, and diffraction would only give the relative configuration. But when the X-ray energy approaches the absorption energy of some atom, anomalous dispersion occurs, which breaks that equivalence: the reflections from a plane and from the opposite plane no longer have exactly the same intensity. Bijvoet used this effect in 1951 to determine the absolute configuration of tartaric acid, the first one ever known.
Today the reliability of the absolute configuration is expressed by the Flack parameter: a value close to 0, with a small error, indicates that the model has the correct configuration; one close to 1, that it is the opposite. The effect is small in molecules containing only C, H, N and O, especially with molybdenum radiation; that is why copper radiation is preferred or a heavy atom (Br, S, Cl) is introduced into the molecule.
Limitations
- A well-ordered single crystal a few tenths of a millimetre in size is needed. Obtaining it is often the hardest part, and many compounds are oils or amorphous solids.
- X-rays “see” electrons, so hydrogen atoms, with a single electron, are poorly located; their positions are usually calculated. For the same reason, C–H bonds appear shorter (about 0.95 Å) than their real length (1.09 Å).
- The structure is that of the crystal: the conformation may differ from the one that predominates in solution, which is what NMR sees.
- The sample measured is a single crystal, which may not represent the whole (for example, if there is a mixture of compounds or of polymorphs).
For compounds that do not form large crystals there are recent alternatives: electron diffraction on microcrystals (microED), which works with crystals a thousand times smaller, and the “crystalline sponge” method, which introduces the molecule into the pores of a ready-made crystal.



