X-Ray diffraction Tutorials
What Is XRD? 10 Basic Questions and Answers on X-Ray Diffraction
A friendly question & answer guide for students, scholars and lab scientists
Ten core questions, answered from zero. No prior knowledge needed — only curiosity. Every technical word is explained the moment it appears, every idea is supported by a labelled diagram, and every answer ends with a revision box you can memorise the night before an exam or a viva.
What this module answers
- What is X-ray diffraction (XRD)?
- What is the principle of XRD?
- How does XRD work?
- Why is XRD important in materials science?
- What are the applications of XRD?
- What are the limitations of XRD?
- What information can XRD provide?
- What materials can be analysed using XRD?
- What is the difference between XRD and XRF?
- What is the difference between XRD and SEM?
Then: a one-page summary, 15 MCQs, 10 true/false questions, 10 viva questions, key terms, FAQs, a quick revision sheet and a formula sheet.
New to the subject? Start with the complete XRD Foundation Course, then return here — this module is the first step of that learning path.
What is X-Ray Diffraction (XRD)?
X-ray diffraction is a testing method in which we shine X-rays on a material and record how those X-rays bounce away from it. Because the atoms inside a crystal sit in a neat repeating order, they scatter the X-rays only in a few sharp directions. The resulting picture of angles and peak heights tells us how the atoms are arranged inside the material.
Step 1 — What are X-rays? X-rays are the same kind of thing as visible light, just far more energetic and with a much shorter wavelength (about 0.05–0.25 nanometres). Wavelength simply means the length of one wave, the distance from one crest to the next.
Step 2 — Why that wavelength matters. Inside a solid, atoms sit roughly 0.1–0.5 nanometres apart. X-ray wavelengths land in the same size range. That is the whole trick: to "see" a spacing, you need a wave of about the same size. Visible light is thousands of times too long, so it can never sense individual atomic layers.
Step 3 — What is diffraction? Diffraction is what happens when waves meet a regularly repeating obstacle and then combine with each other. In some directions the waves line up crest-on-crest and become strong (this is called constructive interference). In all other directions a crest meets a trough and they cancel out (destructive interference). So the material does not glow evenly in every direction — it sends out strong beams only along a few special angles.
Step 4 — What we actually record. A detector travels around the sample and counts how many X-rays arrive at each angle. The result is a graph called a diffraction pattern or diffractogram: angle on the horizontal axis, counted intensity on the vertical axis. Every sharp spike on that graph is one family of atomic planes announcing itself. If you are looking at a diffractogram for the first time, our companion guide on how to read an XRD graph in 7 easy steps walks through a real pattern line by line.
X-ray diffraction (XRD) is a non-destructive analytical technique that uses the constructive interference of X-rays scattered by the orderly rows of atoms in a crystal to reveal the internal atomic arrangement of a material.
Non-destructive means the sample survives the test. After an XRD measurement you can still use the same powder or component for other experiments.
Two materials can contain exactly the same elements and still behave completely differently, because what changes is how the atoms are stacked. Graphite in a pencil and diamond in a drill bit are both pure carbon. A chemical test cannot tell them apart; XRD separates them in two minutes.
That is why XRD sits at the entrance of almost every materials laboratory. Before you measure strength, conductivity, catalytic activity or drug performance, you first want to know what phase you are actually holding. XRD answers that question quickly, cheaply and without damaging the sample.
Think of a fingerprint. Two people may have the same height, weight and blood group, but their fingerprints are still unique. In the same way, two powders may contain the same elements, yet each crystalline phase produces its own unique set of peak positions and peak heights. Matching that pattern against a database is exactly like matching a fingerprint against police records.
A second everyday picture: sunlight passing through a fine net curtain spreads into a neat cross of bright lines instead of a shapeless blur. The regular weave of the curtain is doing to light what the regular rows of atoms do to X-rays.
- XRD uses X-rays whose wavelength is about the same size as the spacing between atoms, which is why it can sense atomic order.
- Only crystalline (orderly) material produces sharp peaks; the sharp peak is the signature of repetition.
- The output is a graph of intensity versus angle, called a diffraction pattern or diffractogram.
- Peak positions tell us about spacing; peak heights and widths carry further information.
- The technique is non-destructive and usually needs only a small amount of sample.
- It identifies phases (specific compounds and structures), not just chemical elements.
- "XRD photographs the atoms." No. It records scattered intensity at different angles; the structure is worked out from that data, not seen directly.
- "XRD tells me which elements are present." Not directly. It tells you which crystalline phases are present. For elements you would use XRF or EDS.
- "X-rays burn the sample." Standard laboratory XRD leaves the sample essentially unchanged.
- "Diffraction is just reflection." Reflection from a mirror happens at every angle; diffraction survives only at a few special angles because of wave interference.
- XRD = shine X-rays on a material, record the scattered beams, read the atomic arrangement.
- It works because X-ray wavelength ≈ distance between atomic planes.
- Ordered atoms + wave interference = sharp peaks at fixed angles.
- The output pattern is a fingerprint of the crystalline phase.
- Fast, non-destructive, and the first test most labs run on a new solid.
What is the principle of XRD?
The principle of XRD is Bragg's law. Layers of atoms inside a crystal act like a stack of parallel mirrors placed a fixed distance apart. When the extra distance travelled by the wave bouncing off the lower layer equals a whole number of wavelengths, all the waves add up and a strong peak appears at that angle.
Start with the picture of planes. In a crystal the atoms are not scattered randomly; they line up so that you can slice through them along flat sheets called lattice planes (this ordered arrangement is explained from scratch in our introduction to crystal structure). Think of a multi-storey car park: the floors are evenly spaced and perfectly parallel. The gap between neighbouring floors is written as d, the interplanar spacing.
Send in the waves. An X-ray beam arrives at an angle θ (theta) measured from the plane surface — note carefully, from the plane, not from the normal as in optics. Part of the beam scatters from the top layer, part continues and scatters from the layer below.
The wave from the lower layer walks further. That extra journey has a length of exactly 2d sinθ. Geometry gives one d sinθ on the way in and one on the way out.
The condition for a peak. If that extra distance equals a whole number of wavelengths, the two waves come back in step and reinforce each other, producing a measurable peak. If it is any other value, they fall out of step and cancel. Because a crystal contains millions of layers, cancellation is almost perfect — which is why XRD peaks are sharp rather than smeared.
Interplanar spacing (d): the perpendicular distance between two neighbouring parallel planes of atoms. Measured in Ångström (1 Å = 0.1 nm).
Bragg angle (θ): the angle between the incoming X-ray beam and the atomic plane. Instruments plot 2θ, the angle between the incoming beam direction and the detector, so a peak at 2θ = 30° means θ = 15°.
Bragg's law is the bridge between something you can measure (an angle) and something you want to know (a distance inside the crystal). Rearranged as d = λ / (2 sinθ), every peak on your pattern converts directly into a d-value in Ångström. Those d-values are what search-match software compares against reference databases, what you feed into unit-cell calculations, and what you track when a material is strained, doped or heated.
Imagine two friends walking in step to the same destination, but one of them takes a detour around a fountain. If the detour happens to be exactly one full lap of their marching rhythm, they arrive still perfectly in step and their footsteps sound twice as loud. If the detour is half a lap, one lands while the other lifts, and the sound flattens out. The "detour" is 2d sinθ and the "marching rhythm" is the wavelength λ.
Because sinθ can never be larger than 1, Bragg's law only has a solution when λ < 2d. This is the mathematical reason why we must use X-rays and not visible light: a wavelength of 500 nm is far bigger than any 2d in a crystal, so no diffraction peak can ever form.
- Bragg's law: nλ = 2d sinθ — learn it by heart, everything in Module 1 depends on it.
- θ is measured from the atomic plane; instruments report 2θ.
- Constructive interference gives peaks; destructive interference gives the flat baseline in between.
- Large d-spacings appear at low angles; small d-spacings appear at high angles.
- Diffraction is only possible when λ is smaller than 2d.
- Each peak is a message from one particular family of planes, labelled by Miller indices (h k l).
- Using 2θ inside the formula. Bragg's law needs θ. If the peak sits at 2θ = 28.4°, put sin(14.2°) into the equation.
- Measuring θ from the normal. In optics angles are taken from the normal; in Bragg's law they are taken from the plane itself.
- Thinking atoms literally reflect like a mirror. "Reflection" here is only a convenient picture for the scattering-plus-interference process.
- Forgetting units. Mixing Ångström and nanometre inside the same calculation is the single most common numerical error in student reports.
- Principle of XRD = Bragg's law, nλ = 2d sinθ.
- Atomic planes are separated by d; the beam enters at θ.
- The lower wave travels 2d sinθ further than the upper wave.
- Extra path = whole number of wavelengths → waves add → sharp peak.
- Measured angle converts to d-spacing, and d-spacings identify the material.
How does XRD work?
An X-ray tube produces a beam of one wavelength, optical slits shape it, the beam strikes a flat sample, and a detector sweeps around on a circular track counting X-rays at every angle. The instrument plots those counts against 2θ, and software converts the peaks into d-spacings and finally into a phase identification.
1. Generating X-rays. Inside a sealed tube, a hot filament releases electrons which are accelerated by a high voltage (typically 40 kV) and slammed into a metal target, usually copper. The collision knocks out inner electrons of the copper atoms; when outer electrons drop down to fill those gaps, they emit X-rays of a very specific wavelength called Cu Kα (1.5406 Å).
2. Cleaning the beam. A nickel filter or a monochromator removes unwanted wavelengths, and slits trim the beam to the right shape. We want a beam that is as close to a single wavelength as possible, because Bragg's law assumes one λ.
3. Meeting the sample. The prepared sample — often a fine powder pressed flat into a shallow holder — sits at the centre of the instrument. In a powder there are millions of tiny crystals pointing in every possible direction, so whatever the angle, some crystals are always correctly oriented to satisfy Bragg's law.
4. Scanning. The goniometer (the precision rotating stage) turns the sample by θ while the detector turns by 2θ, keeping the geometry correct at every step. A typical scan runs from 2θ = 10° to 80° in steps of about 0.02°, taking anywhere from ten minutes to a few hours.
5. Detecting and plotting. The detector counts arriving photons. Where Bragg's law is satisfied, counts shoot up and a peak appears. The instrument software draws intensity versus 2θ.
6. Interpreting. Each peak position is converted to a d-spacing using Bragg's law, and the full list of d-values plus relative intensities is compared with reference patterns in a database such as the ICDD PDF. A good match names the phase.
Knowing the working sequence is what separates a button-pusher from an analyst. If you understand that the beam must be monochromatic, you will suspect the filter when strange extra peaks appear. If you understand that the sample must sit exactly at the centre of the circle, you will recognise sample-height error when every peak shifts slightly. Almost every artefact in a real diffractogram can be traced back to one of these six steps.
It works like tuning an old radio. You slowly rotate the dial (that is the 2θ scan). For most positions you hear only hiss, because nothing is in tune. At a few exact positions a station comes through loud and clear — those are your Bragg peaks. The dial reading tells you which station you found, just as the 2θ value tells you which set of planes responded.
Grind the powder finely (ideally below about 10 µm), fill the holder evenly, and press the surface flat and level with the holder rim. A rough or over-pressed surface causes shifted peaks and wrong intensities that no software correction can fully repair.
- The six stages: generate → filter → strike the sample → scan → detect → interpret.
- Cu Kα (1.5406 Å) is the most common laboratory radiation; Co and Mo are used for iron-rich and dense samples.
- The goniometer keeps the θ : 2θ relationship exact throughout the scan.
- Random crystallite orientation in a powder guarantees that every plane family gets its chance to diffract.
- Modern strip and area detectors collect a whole scan in minutes instead of hours.
- The final step is always a comparison with a reference database (ICDD PDF, COD, or similar).
- Loading a coarse, gritty powder. Too few crystallites take part, giving spiky, unreliable intensities.
- Overfilling or underfilling the holder. A sample surface even 0.1 mm off the correct height shifts all peaks.
- Scanning too fast. Weak peaks disappear into the noise and minor phases are missed.
- Trusting the first database hit blindly. Always check that the elements in the proposed phase actually exist in your sample.
A fuller checklist is collected in 10 common XRD mistakes beginners make.
- Tube makes X-rays → filter and slits clean the beam → beam hits the flat sample.
- Goniometer rotates sample by θ, detector by 2θ.
- Detector counts photons; peaks appear wherever Bragg's law is satisfied.
- Peak angles convert into d-spacings; database matching names the phase.
- Good grinding and correct sample height matter as much as the instrument itself.
Why is XRD important in Materials Science?
Because the properties of a material are decided by how its atoms are arranged, not only by which atoms are present. XRD is the fastest, cheapest and most reliable way to see that arrangement, so it acts as the standard check-point between making a material and testing what it can do.
The central idea of materials science is a simple chain: processing decides the structure, the structure decides the properties, and the properties decide the performance. XRD sits precisely on the "structure" link of that chain, which is why it appears in almost every research paper about solids.
Same atoms, different structure, different material. Carbon is the classic proof. Arrange carbon atoms in weakly bonded flat sheets and you get graphite: soft, grey, electrically conducting, useful as a lubricant. Arrange the same carbon atoms in a rigid three-dimensional network and you get diamond: the hardest natural material, transparent, an electrical insulator. Chemical analysis reports "100 % carbon" for both. Only a structural method such as XRD can tell them apart.
It confirms that your synthesis actually worked. Suppose you heat a mixture to make a perovskite for a solar cell. XRD tells you whether you formed the target phase, whether unreacted starting powder remains, and whether an unwanted secondary phase appeared. That single measurement can save weeks of chasing confusing property data.
It follows a material through its life. Heat treatment, doping, mechanical deformation, corrosion, battery cycling and ageing all leave fingerprints in the diffraction pattern — peaks shift, broaden, weaken or split. XRD therefore works as both a quality gate and a research tool.
Phase: a region of material with one definite structure and composition. Ice, liquid water and steam are three phases of H₂O; anatase and rutile are two phases of TiO₂.
Polymorph: different crystal structures formed by the same chemical compound. Anatase and rutile are polymorphs, and so are graphite and diamond.
Research
Proves a new phase was formed, supports every structure claim in a publication, and monitors changes with temperature, pressure or doping.
Industry
Checks cement, steel, pharmaceuticals, ceramics and pigments against specification before the product leaves the plant.
Failure analysis
Identifies corrosion products, scale, unwanted brittle phases and residual stress that caused a component to break.
Think of bricks. The same bricks can build a wall, an arch or a staircase — the material is identical, the arrangement changes everything about what it can do. XRD is the tool that tells you which arrangement the builder actually used, without dismantling the structure.
- Properties follow structure; XRD is the standard way to measure structure.
- Chemistry alone cannot distinguish polymorphs — XRD can.
- It verifies that a synthesis produced the intended phase and nothing else.
- It measures crystallite size, strain, texture and phase fractions from the same scan.
- It is non-destructive, so precious or limited samples are not wasted.
- Nearly every materials journal expects an XRD pattern as basic evidence.
- Treating XRD as a final formality. Run it early — before you spend weeks measuring properties of the wrong phase.
- Assuming a pure-looking pattern means a pure sample. Phases below roughly 1–5 wt % often hide in the background.
- Ignoring small peak shifts. A shift of a fraction of a degree can be real evidence of doping or residual stress.
- Processing → structure → properties → performance; XRD reads the structure step.
- Graphite and diamond prove that arrangement, not composition, defines a material.
- XRD confirms phase purity and tracks changes during processing and ageing.
- It serves research, quality control and failure analysis equally well.
- Non-destructive, fast and accepted worldwide as standard structural evidence.
What are the applications of XRD?
XRD is used to identify unknown crystalline materials, to check purity, to measure crystallite size, strain and residual stress, to study thin films and to follow changes during heating, cooling or reaction. You will find it in research laboratories, cement and steel plants, pharmaceutical companies, geology departments, forensic labs and museums.
1. Phase identification
The most common use by far. Match the measured pattern against a reference database and the software names the compound.
2. Phase quantification
When several phases are mixed, refinement methods estimate how much of each is present, in weight per cent.
3. Crystallite size
Broader peaks mean smaller crystals. The Scherrer equation converts peak width into an average crystallite size in nanometres.
4. Lattice parameters
Precise peak positions give the exact size of the unit cell, which reveals doping, solid solutions and thermal expansion.
5. Residual stress
Stress stretches or squeezes the planes, shifting peaks. Engineers use this on welds, coatings, gears and rails.
6. Texture / preferred orientation
Rolled metals and deposited films often have grains lined up in one direction; intensity ratios reveal it.
7. Thin film analysis
Grazing incidence XRD (GIXRD) keeps the beam near the surface so a coating a few nanometres thick can be measured.
8. In-situ studies
With a heating or cooling stage you can watch a phase transition happen, pattern by pattern, in real time.
| Field | Typical question asked | What XRD delivers |
|---|---|---|
| Materials research | Did my synthesis give the target compound? | Phase identity and purity |
| Nanotechnology | How small are my nanoparticles? | Average crystallite size from peak width |
| Pharmaceuticals | Is the drug in the correct polymorph? | Polymorph identification, crystalline vs amorphous check |
| Cement & construction | How much free lime is left in the clinker? | Quantitative phase analysis |
| Metallurgy | How much retained austenite is in this steel? | Phase fractions and residual stress |
| Geology & mining | Which minerals make up this rock or ore? | Mineral phase identification |
| Battery & energy | How does the electrode change while charging? | In-situ structural changes |
| Semiconductors | Is the epitaxial film properly aligned? | Film quality, thickness, orientation |
| Forensics & heritage | What pigment or powder is this? | Non-destructive identification of tiny samples |
Two tablets of the same medicine can contain exactly the same molecule and still perform differently in the body, because one crystallises in a form that dissolves quickly and the other in a form that dissolves slowly. Regulators therefore ask for XRD evidence of the correct polymorph — the pattern is the proof that the tablet will behave as approved.
One scan can serve several purposes at once. From a single good-quality pattern you may extract phase identity, phase amounts, lattice parameters and crystallite size. Collect the data carefully the first time and you will not need to repeat the measurement.
- Phase identification is the number one application worldwide.
- Quantitative analysis gives weight percentages of mixed phases.
- Peak width → crystallite size; peak position → lattice parameter and stress.
- Grazing incidence geometry extends XRD to very thin coatings.
- Heating, cooling and electrochemical stages allow in-situ, time-resolved studies.
- Industries from cement to pharmaceuticals rely on XRD for routine quality control.
- Using the Scherrer equation on large grains. It is reliable only up to roughly 100–150 nm; above that, instrumental broadening dominates.
- Reporting crystallite size as particle size. One particle can contain many crystallites, so the two numbers are usually different.
- Doing quantitative analysis without a proper standard or refinement. Peak height alone is not proportional to phase amount.
- Using standard geometry for a thin film. The beam passes straight through and you mostly measure the substrate.
- Main uses: identify phases, quantify phases, measure size, strain, stress and texture.
- Special modes: grazing incidence for films, in-situ stages for reactions.
- Users: research, pharma, cement, steel, mining, energy, electronics, forensics.
- Peak position, height and width each answer a different question.
- One well-collected scan can support several kinds of analysis.
What are the limitations of XRD?
XRD only works well on material that is crystalline, it struggles with very small amounts of a phase, it gives an average over the illuminated area rather than a picture of individual particles, and it is weak at detecting light elements such as hydrogen. It also cannot tell you the chemical composition directly.
1. Amorphous materials give no peaks. Glass, most polymers, gels and many biological materials have no long-range order, so they produce only a broad hump. You can confirm that something is amorphous, but you cannot solve its structure this way. The two cases are compared side by side in our article on amorphous vs crystalline XRD patterns.
2. Poor sensitivity to minor phases. Below roughly 1–5 wt %, a phase usually disappears into the background. Trace impurities that badly affect properties may stay invisible.
3. It is an averaging technique. The beam covers millions of crystallites and reports their average behaviour. It will not show you one unusual particle, a single defect or a local inhomogeneity.
4. Light elements scatter weakly. X-rays interact with electrons, so hydrogen (one electron) is almost invisible and lithium is very difficult. Neighbouring elements in the periodic table, such as iron and cobalt, are also hard to tell apart.
5. No direct chemical analysis. XRD names phases, not elements. If a phase is absent from the reference database, identification can stall.
6. Overlapping peaks. In a mixture of several phases, or in low-symmetry crystals, peaks crowd together and interpretation becomes ambiguous.
7. Preferred orientation distorts intensities. Plate-like or needle-like crystals tend to lie down in the holder, exaggerating some peaks and suppressing others.
8. Sample preparation strongly affects results. Coarse grinding, uneven filling and wrong sample height all shift or distort the data.
9. Limited depth and spatial resolution. Conventional XRD probes a surface layer roughly a few micrometres deep and cannot map micro-scale features the way an electron microscope can.
Knowing what a technique cannot do protects you from over-claiming. A referee will not accept "no impurity was detected by XRD" as proof of purity, because a few per cent could easily be hidden. The professional habit is to state the limit honestly and, when it matters, combine XRD with a complementary method such as XRF for chemistry, SEM for morphology, or Raman spectroscopy for short-range order.
XRD is like listening to a large choir from the back of the hall. You hear the overall harmony beautifully, and you can say exactly which song is being sung. But you cannot hear one particular singer with a sore throat, and if a single person is humming a different tune very quietly, the choir will drown them out.
"Not detected by XRD" is never the same as "not present". Always write the detection limit you are assuming, typically around 1–5 wt % for a routine laboratory scan.
- Works only on crystalline material; amorphous samples give a broad hump.
- Minor phases below about 1–5 wt % are usually invisible.
- Results are averages over a large illuminated volume, not local information.
- Hydrogen and other light elements scatter X-rays too weakly to locate easily.
- Gives phases, not elemental composition.
- Peak overlap, preferred orientation and poor sample preparation degrade the data.
- Claiming 100 % purity from a clean pattern. State the detection limit instead.
- Trying to identify a polymer or glass by peak matching. There are no sharp peaks to match.
- Reading a broad hump as noise. That hump is real data — it is the amorphous content speaking.
- Believing that a stronger peak always means more of that phase. Orientation and scattering power also control intensity.
- XRD needs crystallinity; amorphous material gives only a broad hump.
- Typical detection limit is about 1–5 wt %, so traces can hide.
- It averages over many crystallites and cannot show individual particles.
- Light elements are nearly invisible; chemistry is not measured directly.
- Combine with XRF, SEM/EDS or Raman when a fuller picture is needed.
What information can XRD provide?
Everything XRD tells you comes from four features of the pattern: where the peaks are, how tall they are, how wide they are, and what the background looks like. From these you get phase identity, phase amounts, lattice parameters, crystallite size, strain, stress, texture and degree of crystallinity.
Peak position (2θ) converts through Bragg's law into a d-spacing. The full list of d-spacings is the fingerprint that identifies the phase and, after indexing, gives the unit-cell and lattice parameters. A small shift in position means the spacing has changed — because of doping, temperature, or residual stress.
Peak intensity (height or area) depends on which atoms sit on the planes and how the crystallites are oriented. Relative intensities help confirm an identification, allow quantitative phase analysis in a mixture, and reveal preferred orientation when they deviate strongly from the reference.
Peak width (FWHM) is controlled by crystallite size and by non-uniform strain. Nanocrystalline powders give visibly broad peaks; well-annealed, defect-free crystals give very narrow ones. FWHM stands for full width at half maximum — the width of the peak measured at half of its height. How to measure it correctly, and what it really means, is covered in detail in FWHM of X-ray peaks in XRD.
Background and broad humps carry the amorphous story. Comparing the area under the sharp peaks with the area under the broad hump gives the percentage crystallinity, a routine number in polymer and pharmaceutical laboratories.
Rather not do the arithmetic by hand? Enter your peak angle and width into the free Scherrer crystallite size calculator and it returns D in nanometres.
| Information | Comes from | Typical use |
|---|---|---|
| Phase identification | Set of peak positions + relative intensities | Naming an unknown powder |
| Phase quantity (wt %) | Peak areas, via Rietveld or reference-intensity methods | Cement clinker, ore, steel |
| Lattice parameters (a, b, c) | Precise peak positions after indexing | Doping and solid-solution studies |
| Crystallite size | Peak broadening (Scherrer, Williamson–Hall) | Nanomaterials |
| Micro-strain | Angle-dependent part of the broadening | Deformed and milled powders |
| Residual stress | Peak shift measured at several tilt angles | Welds, coatings, machined parts |
| Preferred orientation (texture) | Intensity ratios / pole figures | Rolled sheet, thin films |
| Degree of crystallinity | Sharp peak area vs amorphous hump area | Polymers, pharmaceuticals |
| Crystal system & symmetry | Indexing and systematic absences | New compound characterisation |
Think of a person's voice on the phone. The pitch tells you who is speaking (peak position → identity). The loudness tells you how close they are (intensity → how much). Whether the voice is crisp or muffled tells you about the connection quality (peak width → crystallite size and strain). And the hiss in the background is its own kind of information (background → amorphous content).
- Peak position → d-spacing → phase identity, unit cell, stress.
- Peak intensity → phase amount and preferred orientation.
- Peak width → crystallite size and micro-strain.
- Background → amorphous fraction and degree of crystallinity.
- The Scherrer equation gives a quick average crystallite size, valid up to about 100–150 nm.
- Rietveld refinement extracts many of these numbers together from the whole pattern at once.
- Forgetting instrumental broadening. Subtract the width of a standard such as LaB₆ or silicon before using Scherrer.
- Using FWHM in degrees. The Scherrer equation needs radians.
- Treating crystallite size as particle size. They agree only for single-crystal particles.
- Comparing intensities between scans run with different settings. Only relative intensities within one scan are meaningful.
- Position → identity, d-spacing, lattice parameters, stress.
- Intensity → how much of each phase, plus texture.
- Width → crystallite size and micro-strain (Scherrer: D = Kλ/βcosθ).
- Background hump → amorphous content and crystallinity percentage.
- Rietveld refinement pulls all of this from one full pattern.
What materials can be analysed using XRD?
Almost any solid that contains crystalline material: powders, metals and alloys, ceramics, minerals and rocks, cements, catalysts, nanomaterials, semi-crystalline polymers, pharmaceutical tablets, thin films and coatings. Fully amorphous solids and liquids can be examined, but they give only broad humps rather than sharp peaks.
Powders
The ideal XRD sample. Fine, randomly oriented powder gives smooth, reliable intensities. A few tens of milligrams is usually enough.
Metals & alloys
Phase composition, retained austenite in steel, precipitates, texture from rolling, and residual stress in welds or machined parts.
Ceramics & glass-ceramics
Which crystalline phases formed during sintering, and how much glassy phase is left.
Minerals, rocks, soils
Standard tool in geology and soil science for identifying quartz, feldspar, calcite, clays and ore minerals.
Cement & construction materials
Clinker phases, free lime, gypsum and hydration products — measured daily in plants worldwide.
Nanomaterials
Crystallite size from peak broadening, plus phase confirmation for nanoparticles, nanowires and quantum dots.
Thin films & coatings
Analysed with grazing incidence (GIXRD) so the signal comes from the film and not the substrate underneath.
Polymers
Semi-crystalline polymers such as polyethylene give sharp peaks on a broad hump; the ratio gives percentage crystallinity.
Pharmaceuticals
Polymorph identification, detection of amorphous content, and checking that a tablet matches the approved crystal form.
Batteries & catalysts
Electrode phases before and after cycling, and the active crystalline phase of a supported catalyst.
Crystalline material: a solid whose atoms repeat in the same pattern over long distances, like tiles laid across a floor. Amorphous material: a solid whose atoms are frozen in a disordered arrangement, like a pile of sand. Many real samples are semi-crystalline — part ordered, part disordered.
| Sample type | Typical amount | Preparation | Watch out for |
|---|---|---|---|
| Fine powder | 20–500 mg | Grind below ~10 µm, press flat into holder | Preferred orientation of plate-like grains |
| Very small powder amount | < 5 mg | Zero-background holder or capillary | Weak signal, longer scan needed |
| Bulk metal / ceramic | Piece fitting the stage | Flat, clean surface; polish if possible | Surface layers, texture, stress |
| Thin film on substrate | Any | Mount level; use grazing incidence | Strong substrate peaks |
| Polymer sheet | Small flat piece | Cut flat, mount without stretching | Broad humps, low crystallinity |
| Air-sensitive material | Small | Sealed capillary or dome holder | Extra scattering from the dome |
Think of a librarian identifying a book. A neatly printed page (a fine crystalline powder) is read instantly. A page in poor handwriting (a badly prepared or textured sample) is still readable but with effort and some doubt. A blank page with only a watermark (an amorphous sample) tells you the book exists but not what it says.
Liquids and gases give no sharp peaks because their atoms have no long-range order. If your sample is a solution, dry it or precipitate it first — but be aware that drying can itself change which phase crystallises.
- Any solid with crystalline order is a valid XRD sample.
- Fine, randomly oriented powder gives the most trustworthy data.
- Bulk pieces work if a flat surface can be presented to the beam.
- Thin films need grazing incidence to avoid drowning in substrate signal.
- Semi-crystalline polymers give sharp peaks sitting on a broad hump.
- Air-sensitive and precious samples are run in sealed capillaries or domes.
- Grinding too hard. Excessive milling can cause phase transformation, amorphisation or strain broadening.
- Running a wet paste. Water evaporates during the scan and the surface height changes, shifting peaks.
- Presenting a curved or rough surface. Only material at the correct height diffracts into the detector properly.
- Forgetting the substrate. Silicon and glass substrates contribute peaks or humps of their own.
- Powders, metals, ceramics, minerals, cements, films, polymers, drugs and nanomaterials are all analysable.
- Crystalline → sharp peaks; amorphous → broad hump only.
- Fine powder pressed flat is the gold-standard sample.
- Films need grazing incidence; delicate samples need capillaries.
- Preparation errors, not the instrument, cause most bad patterns.
What is the difference between XRD and XRF?
XRD answers "how are the atoms arranged?" and names the crystalline phases. XRF answers "which elements are present and how much of each?" and names the chemistry. XRD uses scattered X-rays that interfere; XRF uses new X-rays emitted by the sample's own atoms.
What happens in XRD. The incoming X-ray is scattered by the electrons around the atoms without losing energy. Because the atoms repeat regularly, these scattered waves interfere and produce peaks at particular angles. The instrument therefore measures angle.
What happens in XRF. XRF stands for X-ray fluorescence. The incoming X-ray is energetic enough to knock an inner electron completely out of an atom. An outer electron immediately drops into the empty place and releases the surplus energy as a new X-ray whose energy is characteristic of that element — iron always emits its own energy, calcium always emits its own. The instrument therefore measures energy, not angle.
Why they complement each other perfectly. Suppose XRF reports 60 % iron and 30 % oxygen. That is consistent with several different iron oxides. XRD then tells you which one you actually have: hematite, magnetite or wustite. Used together, you get both the composition and the structure — the complete description of the material.
| Feature | XRD (X-ray diffraction) | XRF (X-ray fluorescence) |
|---|---|---|
| Main question answered | How are the atoms arranged? | Which elements are present? |
| Physical process | Elastic scattering + interference | Inner-shell ionisation + emission |
| Quantity measured | Angle (2θ) and intensity | Energy (or wavelength) and intensity |
| Output | Peaks vs 2θ → phases | Peaks vs energy → elements |
| Distinguishes polymorphs? | Yes — this is its speciality | No — both look identical |
| Gives elemental %? | Not directly | Yes, that is its speciality |
| Works on amorphous material? | Poorly — only a broad hump | Yes — order does not matter |
| Light elements | Weakly detected (H nearly invisible) | Difficult below sodium, but improving |
| Sample damage | Non-destructive | Non-destructive |
| Typical example | Anatase vs rutile TiO₂ | How much Ti and O in total |
Imagine a plate of food. XRF is the ingredient list: rice, oil, salt, spices, and how much of each. XRD is the recipe and the cooking method: it tells you whether those ingredients ended up as biryani or as porridge. Same ingredients, very different dish — and only one of the two techniques can tell you which.
XRD = structure. XRF = chemistry. Neither replaces the other, and serious characterisation work usually reports both.
- XRD identifies phases; XRF identifies elements.
- XRD measures angles; XRF measures photon energies.
- XRD works only on ordered material; XRF works on anything.
- Only XRD can separate polymorphs such as anatase and rutile.
- Only XRF gives you direct elemental percentages.
- Both are non-destructive and are frequently run on the same sample.
- Expecting XRD to report composition in weight per cent of elements. That is XRF's job.
- Expecting XRF to prove that a compound formed. It cannot distinguish a mixture of oxides from a reacted compound.
- Confusing the two because both use X-rays. The source is similar; the physics being measured is completely different.
- Assuming XRF fluorescence has no effect on XRD. In iron-rich samples measured with Cu radiation, fluorescence raises the background badly — which is why Co radiation or a monochromator is preferred.
- XRD: scattering and interference → angle → crystalline phase.
- XRF: electron ejection and emission → energy → elements present.
- XRD sees the difference between graphite and diamond; XRF sees only "carbon".
- XRF handles amorphous samples easily; XRD does not.
- Best practice: use both, chemistry from XRF and structure from XRD.
What is the difference between XRD and SEM?
XRD uses X-rays to reveal the internal atomic arrangement, averaged over a large volume, and outputs a graph. SEM uses a focused electron beam to produce a magnified image of the sample's surface, showing shape, size and texture of individual particles. One tells you what it is made of internally; the other shows you what it looks like.
SEM in one paragraph. SEM stands for scanning electron microscope. A fine beam of electrons is scanned across the sample surface line by line. Electrons knocked out of the surface are collected and converted into brightness values, building up a photograph-like image with magnifications from a few hundred to several hundred thousand times.
The key contrast: real space versus average structure. SEM works in real space — you literally look at a specific spot and see the particles there. XRD works on the whole illuminated volume at once and returns a statistical average. If your powder contains one strange particle, SEM might find it; XRD almost certainly will not notice it.
Different kinds of "size". SEM measures particle size, the size of the lump you can see. XRD measures crystallite size, the size of the perfectly ordered region inside that lump. One particle may contain hundreds of crystallites, so SEM often reports a larger number than the Scherrer calculation, and both can be correct.
They answer different questions, so they are usually used together. A typical nanomaterials paper contains an XRD pattern proving the phase and an SEM image proving the morphology. Adding EDS (an elemental detector attached to the SEM) also brings in local chemistry.
| Feature | XRD | SEM |
|---|---|---|
| Probe used | X-rays | Electrons |
| Information obtained | Internal atomic arrangement, phases | Surface shape, size, texture, morphology |
| Output form | Graph of intensity vs 2θ | Magnified image |
| Nature of result | Average over a large volume | Local, spot-specific |
| Size measured | Crystallite size (from peak width) | Particle / grain size (measured on the image) |
| Phase identification | Yes, its main strength | No, unless EDS or EBSD is added |
| Elemental information | Indirect only | Yes, with an EDS detector |
| Sample environment | Usually ambient air | Vacuum; non-conductors often need a coating |
| Sample preparation | Flat powder or flat surface | Small piece, mounted, often gold-coated |
| Typical scan time | Minutes to a few hours | Minutes per image |
Think of a hospital. SEM is the external photograph — it shows the shape of the patient, the posture, the visible marks on the skin. XRD is the X-ray plate — it ignores appearance and reports the internal arrangement of the skeleton. A doctor uses both, because looking at a photo cannot reveal a fracture and looking at a bone scan cannot reveal a rash.
If SEM gives 200 nm particles and XRD gives 20 nm crystallites, nothing is wrong. It simply means each visible particle is built from roughly ten ordered domains. Reporting both numbers, with the correct names, is a mark of a careful researcher.
- XRD uses X-rays and reports structure; SEM uses electrons and reports morphology.
- XRD output is a pattern; SEM output is an image.
- XRD averages over millions of crystallites; SEM looks at one small area.
- Crystallite size (XRD) and particle size (SEM) are different quantities.
- SEM usually needs vacuum and often a conductive coating; XRD normally does not.
- SEM plus EDS adds local chemistry; XRD plus Rietveld adds quantitative structure.
- Writing "XRD image". XRD produces a pattern or diffractogram, not an image.
- Claiming XRD and SEM sizes disagree. They measure different things and are expected to differ.
- Using SEM alone to claim a phase. Shape is suggestive, never proof; peaks are proof.
- Assuming one SEM image represents the whole sample. Always inspect several regions.
- XRD = X-rays → internal structure → graph → average result.
- SEM = electrons → surface morphology → image → local result.
- Crystallite size (XRD) ≤ particle size (SEM) in most real samples.
- SEM needs vacuum and often a coating; XRD is usually simpler to run.
- Use both: XRD proves what it is, SEM shows what it looks like.
Module 1 — One-Page Summary
Everything from the ten questions, compressed into a single page you can print and pin above your desk.
What XRD is. A non-destructive technique in which X-rays with a wavelength close to the distance between atoms are scattered by a crystal. Because the atoms repeat regularly, the scattered waves interfere and produce strong beams at only a few angles. Plotting counted intensity against angle gives the diffraction pattern.
The principle. Bragg's law, nλ = 2d sinθ. The wave scattered from a lower atomic plane travels 2d sinθ further than the wave from the plane above. When that extra distance is a whole number of wavelengths, the waves add and a peak appears.
How the instrument works. Tube generates X-rays → filter and slits produce a clean, single-wavelength beam → beam strikes a flat sample at the centre of the goniometer → sample rotates by θ while the detector rotates by 2θ → detector counts photons → software converts peaks to d-values and matches them to a reference database.
What you learn from the pattern. Peak position gives d-spacing, phase identity, lattice parameters and stress. Peak intensity gives phase amounts and texture. Peak width gives crystallite size and micro-strain. The background hump gives amorphous content.
Where it is used. Materials research, nanotechnology, pharmaceuticals, cement, metallurgy, mining and geology, batteries, semiconductors, forensics and heritage science.
What it cannot do. It needs crystallinity, misses phases below roughly 1–5 wt %, averages over a large volume, barely sees hydrogen and light elements, and does not give elemental composition directly.
How it compares. XRF gives elements, XRD gives phases. SEM gives a surface image and particle size, XRD gives internal structure and crystallite size. In good characterisation work these techniques are partners, not competitors.
15 Multiple Choice Questions
Attempt all fifteen before checking the answer key at the end of this section.
1. The fundamental principle on which XRD is based is:
- (a) Beer–Lambert law
- (b) Bragg's law
- (c) Hooke's law
- (d) Ohm's law
2. Bragg's law is correctly written as:
- (a) nλ = d sinθ
- (b) nλ = 2d cosθ
- (c) nλ = 2d sinθ
- (d) λ = 2d tanθ
3. The wavelength of Cu Kα radiation is approximately:
- (a) 0.154 Å
- (b) 1.5406 Å
- (c) 15.406 Å
- (d) 154.06 Å
4. X-rays are suitable for studying crystals mainly because:
- (a) they are cheap to produce
- (b) their wavelength is similar to interatomic distances
- (c) they carry an electric charge
- (d) they are visible to the eye
5. In Bragg's law, the angle θ is measured between the incident beam and the:
- (a) normal to the atomic plane
- (b) atomic plane itself
- (c) detector window
- (d) sample holder edge
6. A fully amorphous material gives an XRD pattern consisting of:
- (a) very sharp peaks
- (b) a broad hump
- (c) a perfectly flat line
- (d) evenly spaced spots
7. Broadening of diffraction peaks is generally associated with:
- (a) larger crystallites
- (b) smaller crystallites and micro-strain
- (c) higher X-ray voltage
- (d) a thicker sample holder
8. The Scherrer equation is used to calculate:
- (a) elemental composition
- (b) average crystallite size
- (c) melting point
- (d) electrical conductivity
9. In a conventional powder diffractometer, while the sample rotates by θ, the detector rotates by:
- (a) θ/2
- (b) θ
- (c) 2θ
- (d) 4θ
10. Which technique directly gives the elemental composition of a sample?
- (a) XRD
- (b) XRF
- (c) Both equally
- (d) Neither
11. Which technique produces a magnified image of the sample surface?
- (a) XRD
- (b) XRF
- (c) SEM
- (d) Bragg diffraction of light
12. The approximate detection limit for a minor phase in a routine laboratory XRD scan is about:
- (a) 1 ppm
- (b) 0.01 wt %
- (c) 1–5 wt %
- (d) 40 wt %
13. Thin films are best analysed using:
- (a) grazing incidence XRD
- (b) very high scan speed
- (c) a thicker substrate
- (d) visible light diffraction
14. Diffraction from a set of planes is possible only when:
- (a) λ > 2d
- (b) λ = 10d
- (c) λ ≤ 2d
- (d) λ is unrelated to d
15. Which of the following is NOT obtained directly from a routine XRD scan?
- (a) Phase identification
- (b) Crystallite size
- (c) Elemental weight percentage
- (d) Lattice parameters
1 (b) • 2 (c) • 3 (b) • 4 (b) • 5 (b) • 6 (b) • 7 (b) • 8 (b) • 9 (c) • 10 (b) • 11 (c) • 12 (c) • 13 (a) • 14 (c) • 15 (c)
10 True or False Questions
Decide first, then read the explanations — the reasoning matters more than the label.
- XRD is a destructive technique that consumes the sample.
- Bragg's law uses the angle 2θ directly in the sine term.
- A powder sample contains crystallites pointing in many random directions.
- XRD can distinguish between graphite and diamond.
- Peak intensity depends only on how much of the phase is present.
- Hydrogen atoms are difficult to locate using laboratory XRD.
- Crystallite size measured by XRD is always identical to particle size seen in SEM.
- Grazing incidence geometry helps when analysing thin films.
- An XRD pattern can be used to identify chemical elements directly.
- Larger d-spacings produce peaks at lower 2θ values.
1. False — the sample is normally unchanged and can be reused.
2. False — the law needs θ; instruments simply report 2θ.
3. True — random orientation is exactly why powder diffraction works.
4. True — same element, different structure, different pattern.
5. False — scattering power of the atoms and preferred orientation also matter.
6. True — hydrogen has one electron and scatters X-rays very weakly.
7. False — one particle may contain many crystallites.
8. True — it keeps the beam inside the film instead of the substrate.
9. False — XRD identifies phases; XRF identifies elements.
10. True — from d = λ/(2 sinθ), a larger d means a smaller angle.
10 Viva Questions with Model Answers
Short, confident answers of two or three sentences are exactly what examiners want.
Important Terms and Definitions
The working vocabulary of Module 1.
Frequently Asked Questions
The questions students actually ask in the laboratory.
One-Page Quick Revision Sheet
Read this the night before an exam, a viva or an interview.
Definition
Non-destructive technique using constructive interference of X-rays scattered by ordered atomic planes to reveal crystal structure.
Principle
Bragg's law, nλ = 2d sinθ. Extra path 2d sinθ must equal a whole number of wavelengths.
Instrument chain
Tube → filter/slits → sample → goniometer (θ : 2θ) → detector → pattern → database match.
Common radiation
Cu Kα = 1.5406 Å. Co or Fe for iron-rich samples, Mo for dense or high-resolution work.
Peak position
→ d-spacing → phase identity, lattice parameters, residual stress.
Peak intensity
→ phase quantity and preferred orientation.
Peak width
→ crystallite size (Scherrer) and micro-strain.
Background hump
→ amorphous content and percentage crystallinity.
Main limitations
Needs crystallinity; ~1–5 wt % detection limit; averaged result; weak for light elements; no direct chemistry.
XRD vs XRF
XRD = phases from angles. XRF = elements from emitted X-ray energies.
XRD vs SEM
XRD = internal structure, graph, average. SEM = surface morphology, image, local.
Biggest practical risk
Poor sample preparation: coarse powder, wrong height, preferred orientation.
Key Formula Sheet
Everything you may need to calculate after Module 1.
Check your result instantly with the Scherrer XRD calculator.
1 Å = 0.1 nm = 10⁻¹⁰ m • convert 2θ to θ first • convert FWHM to radians • subtract instrumental broadening before using Scherrer • keep every length in the same unit throughout.
Continue Learning — Related Guides
Each of these builds directly on something you met in Module 1.
XRD Foundation Course
The full learning path this handbook belongs to, from first principles to confident data analysis.
How to Read an XRD Graph in 7 Easy Steps
Take a real diffractogram apart, axis by axis and peak by peak.
Introduction to Crystal Structure
Why atoms repeat, and where the lattice planes behind Bragg's law come from.
Unit Cell and Lattice Parameters
The building block of every crystal, and how XRD measures its exact size.
FWHM of X-ray Peaks in XRD
Measure peak width properly before you calculate any crystallite size.
Scherrer Crystallite Size Calculator
A free tool that converts your FWHM and Bragg angle straight into nanometres.
Amorphous vs Crystalline XRD Patterns
Sharp peaks or a broad hump — learn to tell the two apart with confidence.
10 Common XRD Mistakes Beginners Make
The sample-preparation and interpretation errors that spoil most first datasets.
End of Module 1 — Introduction to X-Ray Diffraction | Complete XRD Analysis Handbook | AdvanceMaterialsLab.com
Next module: crystal structure fundamentals, unit cells, Miller indices and how the pattern is indexed.