Skip to content
ContentLora

    Tip: press / anywhere to search.

    Explainer

    How X-ray diffraction reveals crystal structures

    X-ray diffraction (XRD) works because X-ray wavelengths are about the same size as the gaps between atoms, so a crystal scatters an X-ray beam into a pattern of strong peaks that encodes how its atoms are arranged.[1][2] Since the discoveries honoured by the 1914 and 1915 Nobel Prizes in Physics, it has been an important tool for identifying crystalline materials and determining new structures, from penicillin to proteins.[3][4][5][6]

    Editor reviewedUpdated Explainer16 claims · 31% primaryMaterials science, Physics
    Reading level: 2 passages differ; the rest is the same for everyone.

    Reading order: read crystal structures explained first. After this page, how synchrotron light sources work covers the brightest X-ray sources, and electron-ptychography covers imaging atoms with electrons.

    Why crystals diffract X-rays

    When waves pass through a grid of tiny, closely spaced openings, they spread out and overlap, making a pattern of bright and dark spots. In 1912 Max von Laue realised that the regular rows of atoms in a crystal could act like such a grid for X-rays. Experiments proved him right, and he won the 1914 Nobel Prize in Physics.[3]

    It works because X-rays have wavelengths of roughly 0.1 to 100 ångströms (an ångström is a tenth of a nanometre), close to the distance between neighbouring atoms.[1]

    Incident X-rays are either transmitted or scattered by the electrons of the atoms in their path; the useful signal is the set of peaks where coherently scattered waves interfere constructively.[2] The experiments that confirmed Laue’s 1912 idea showed that X-rays behave as waves, and the method made it possible to use diffraction patterns to determine crystal structures.[3]

    Bragg’s law

    William and Lawrence Bragg, who shared the 1915 Nobel Prize in Physics, related three things: the X-ray wavelength, the angle at which it strikes the crystal, and the spacing between layers of atoms. That relationship, now called Bragg’s law, made it possible to calculate where the atoms sit.[4]

    Picture X-rays bouncing off a stack of atomic layers. A ray reflected from a deeper layer travels a little further. If that extra distance is a whole number of wavelengths, the reflected waves line up and add together into a strong peak; otherwise they cancel.[2]

    For parallel rays scattered from adjacent planes, constructive interference requires a path difference of an integer number of wavelengths. For planes a distance d apart and a beam meeting them at angle θ, that path difference is 2d sin θ, which gives Bragg’s law, nλ = 2d sin θ.[2] Because the angle between the transmitted and diffracted beams is always 2θ, data are usually plotted against 2θ, while θ in the equation is the angle between the incident beam and the diffracting plane.[7] With a known wavelength (1.54 Å for copper Kα) the peak angle gives the plane spacing d; once peaks are indexed to specific planes, the lattice parameters follow.[8]

    The instrument

    In a laboratory diffractometer, an evacuated tube fires electrons from a heated tungsten filament, accelerated by tens of kilovolts, into a water-cooled metal target, which emits X-rays.[9] The beam passes through slits to the sample, and a detector scanning through a range of angles records the diffracted X-rays; a typical powder measurement takes between 10 minutes and 10 hours.[10] Synchrotron light sources also supply X-rays for diffraction, and most offer protein crystallography.[11]

    Powder and single-crystal diffraction

    • Single crystal. One crystal has one orientation, so for a given wavelength and setting relatively few reflections can be measured.[12] Indexing the peaks it does give yields the lattice parameters.[8]
    • Powder. A powder holds crystals in every orientation, so the spots merge into rings.[13] Comparing the peak positions and intensities with an international reference database, started in the 1930s and now kept by the International Centre for Diffraction Data, identifies which crystalline phases are present; a match generally needs at least three peaks to fit.[14]

    Beyond identification, XRD measures changes in cell parameters, orientation and crystallite size, and determines the cell parameters, space group and atomic coordinates of new materials.[5]

    What it has solved

    X-ray crystallography opened molecules to view. Dorothy Crowfoot Hodgkin’s X-ray work solved penicillin in 1946 and vitamin B12 in 1956 and won the 1964 Nobel Prize in Chemistry.[6] Max Perutz and John Kendrew shared the 1962 chemistry prize for the structures of globular proteins.[15] Synchrotron users and staff have deposited more than 130,000 protein structures in the protein-data-bank.[11] Software matters too: Nature’s 2014 survey of the most-cited papers described the SHELX programs as one of the most popular tools for analysing X-ray diffraction patterns.[16]

    This page covers X-ray diffraction from crystals. It does not cover electron or neutron diffraction, or how computers now predict protein structures, for which see how AI predicts protein structures.

    Next in the crash course

    How synchrotron light sources work

    How synchrotrons bend near-light-speed electrons to make intense X-rays, what beamlines do, and how facilities like the APS reveal materials and proteins.

    More in Materials science

    Developing in Science & Energy

    Go deeper

    Questions readers ask

    What is Bragg's law in simple terms?

    X-rays reflected from neighbouring layers of atoms reinforce each other only when the extra distance travelled is a whole number of wavelengths. Knowing the wavelength and the angle of a strong peak then gives the spacing between atomic layers.[2][8][4]

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

    A single crystal has one orientation, so it gives relatively few reflections at a given setting. A powder contains crystals in every orientation, so the spots merge into rings, which makes powder XRD a quick way to fingerprint a material.[12][13][14]

    Why are X-rays used rather than visible light?

    X-ray wavelengths, roughly 0.1 to 100 ångströms, are close to the spacing between atoms, so crystals diffract them. Visible light has far longer wavelengths.[1]

    Who discovered X-ray diffraction?

    Max von Laue proposed in 1912 that crystals would diffract X-rays, and experiments confirmed it (Nobel Prize in Physics 1914). William and Lawrence Bragg then turned it into a method for working out crystal structures (1915 prize).[3][4]

    Sources

    · 16 claims from 4 publishers

    Each numbered claim is a statement we checked against the sources listed with it. Tap a number in the text to see its sources in place.

    1. [1]

      X-rays have wavelengths between roughly 0.1 and 100 ångströms, similar to the distances between atoms in a crystal, which is why crystals diffract them; one ångström is 0.1 nanometres. reportedas of 2026-11-22

    2. [2]

      Atoms scatter incoming X-rays, and diffraction peaks form where scattered waves interfere constructively, which happens when rays scattered from adjacent atomic planes differ in path length by a whole number of wavelengths. reportedas of 2026-11-22

    3. [3]

      In 1912 Max von Laue proposed that X-rays passing through a crystal would form diffraction patterns, experiments confirmed it, and he received the 1914 Nobel Prize in Physics "for his discovery of the diffraction of X-rays by crystals"; the method made it possible to determine crystal structures from diffraction patterns. confirmedas of 2026-11-22

    4. [4]

      William and Lawrence Bragg shared the 1915 Nobel Prize in Physics for analysing crystal structure with X-rays; they established the relationship between the X-ray wavelength, its angle of incidence and the spacing of atomic layers in the crystal, which made it possible to calculate atomic positions. confirmedas of 2026-11-22

    5. [5]

      X-ray diffraction is used to identify phases by comparison with known structures, to measure changes in cell parameters, orientation and crystallite size, and to determine the cell parameters, space group and atomic coordinates of new crystalline materials. reportedas of 2026-11-22

    6. [6]

      Dorothy Crowfoot Hodgkin received the 1964 Nobel Prize in Chemistry for determining structures of important biochemical substances by X-ray techniques, including penicillin in 1946 and vitamin B12 in 1956. confirmedas of 2026-11-22

    7. [7]

      The angle between the transmitted and diffracted beams is always 2θ, so diffraction results are often reported against 2θ, while the Bragg equation itself uses θ, the angle between the incoming beam and the diffracting plane. reportedas of 2026-11-22

    8. [8]

      From the angle of a diffraction peak and the known X-ray wavelength (1.54 ångströms for copper K-alpha radiation), the Bragg equation gives the spacing of the atomic planes; once peaks are assigned to planes, lattice parameters can be calculated. reportedas of 2026-11-22

    9. [9]

      In a laboratory X-ray tube, electrons from a heated tungsten filament are accelerated by tens of kilovolts into a water-cooled metal target, which then emits X-rays. reportedas of 2026-11-22

    10. [10]

      In a powder diffractometer the X-ray beam passes from the tube through slits, is diffracted by the sample, passes through further slits and a monochromator, and is measured by a detector that scans through a range of angles; a typical data collection takes between 10 minutes and 10 hours. reportedas of 2026-11-22

    11. [11]

      Most light sources offer protein crystallography, and their user communities and staff have deposited over 130,000 protein structures in the Worldwide Protein Data Bank. confirmedas of 2026-11-21

      • About Lightsources.org · Lightsources.org (collaboration of light source facilities) · Primary source (retrieved 2026-11-21)
    12. [12]

      A single crystal has only one orientation, so for a given wavelength and sample setting relatively few reflections can be measured. reportedas of 2026-11-22

    13. [13]

      A powder sample contains crystals in all possible orientations, so its diffraction pattern forms rings rather than the few spots given by a single crystal. reportedas of 2026-11-22

    14. [14]

      Powder diffraction data are commonly used to fingerprint crystalline materials against an international database started in the 1930s and now maintained by the International Centre for Diffraction Data; a match needs both peak positions and relative intensities to fit, generally for at least three peaks. reportedas of 2026-11-22

    15. [15]

      Max Perutz and John Kendrew shared the 1962 Nobel Prize in Chemistry "for their studies of the structures of globular proteins". confirmedas of 2026-11-22

    16. [16]

      Nature's 2014 analysis of the most-cited papers described the SHELX suite of programs as one of the most popular tools for analysing the X-ray scattering patterns that reveal a crystal's atomic structure. reportedas of 2026-11-22

      • The top 100 papers · Nature (news feature) · Secondary source · 2014-10-29 (retrieved 2026-11-22)
    Revision history (1)
    1. Page created.

    Created Nov 22, 2026. Last reviewed by an editor on Nov 22, 2026. Next scheduled review: Sep 6, 2027.

    Cite this page

    "How X-ray diffraction reveals crystal structures." ContentLora, updated Nov 22, 2026. https://contentlora.com/explain/how-x-ray-diffraction-works

    Spotted an error? Suggest a correction or emailcorrections@contentlora.com.