Guide · XRD phase identification · Complete guide
XRD phase identification: the complete guide
How a search-match works, what each setting changes, and how to tell a real match from a lucky one, worked through on the built-in sample: a laboratory Cu Kα pattern of lithium hydroxide that has partly turned into its hydrate.
Contents
The short version
- Tick every element the sample can contain. It is the most important setting.
- Find the peaks and check the markers before searching.
- Search, then judge the best match by the share of intensity it explains, its strong lines and how it looks on the pattern, not by its rank alone.
- Accept a phase only when its strong lines are all there; then search the remaining peaks.
- Already know the main phase? Add it under Known phases first and search only what it leaves.
- Send the identified phases to Rietveld refinement for amounts and lattice parameters.
How a search-match works
Every crystalline phase gives a set of reflections at fixed d-spacings with typical relative intensities, its fingerprint. Phase identification compares the peaks of your pattern with the fingerprints of known structures in a reference library, and ranks the structures by how well they explain your peaks. The tool searches three libraries:
- COD inorganic: about 84,000 phases (98,000 structures) of the Crystallography Open Database, release 2025.02.
- Materials Project: about 20,600 known phases that the COD lacks, as computed structures (release 2025.09).
- COD metal-organic: about 168,000 coordination compounds and frameworks. It joins an "All libraries" search when C and H are ticked.
Your own CIFs are always searched as well.
Two limits follow. A phase that is not in the library cannot be found, however good the pattern. And a phase present at a few per cent, or poorly crystalline, may leave too few peaks to be identified with confidence.
1. Load the pattern
Open the phase identification tool and press Try with sample data, or drop your pattern onto Drop files here. It reads two-column text (.xy, .xye, .dat, .txt, .csv, with or without headers, with decimal commas, including the PANalytical CSV export), PANalytical .xrdml, Bruker .brml and .raw (RAW1.01, RAW2, RAW4), Rigaku .ras, .raw and .asc, and GSAS .fxye and .gsa; anything else, export as two-column text. When the file states its radiation (xrdml, ras, Bruker raw / brml, PANalytical CSV), the wavelength is filled in from it. You may also drop CIFs of phases you suspect: they join the search as references.
2. Tick the elements
The periodic table under Elements restricts the search to phases made of the elements you tick. Tick every element the sample can contain: the intended ones, those of the precursors, and likely contaminants (O and H for anything handled in air, C for carbonates).
The Matching settings decide how the elements are used. Only these elements (strict) returns only phases made of nothing else; Any of these elements (loose) returns any phase that contains at least one of them. Strict is the right choice when you know the chemistry; loose helps when you are unsure what else is there.
Searching without elements is the most common reason for a wrong answer. The library holds hundreds of thousands of structures, and some unrelated phase almost always fits a handful of peaks by chance. Without elements the right phase rarely comes first; with them it usually does. The tool asks before it searches with no element ticked.
3. Find the peaks
The search uses the peak list, not the raw curve, so the peaks come first. Under Peak finding, the Background model is subtracted, peaks above the Noise threshold σ are kept, and the Wavelength Å converts their 2θ positions into d-spacings. The default wavelength is Cu Kα1 (1.54059 Å): change it if your instrument uses another anode.
Press Find peaks and check the markers on the plot: every real reflection should carry one, and noise should not.
- Weak peaks missed: lower the noise threshold and press Find peaks again.
- Noise marked as peaks: raise it.
- A single peak wrong: use Add peak or Remove peak above the plot and click it.
4. Search
Under Matching, the 2θ tolerance (0.3° by default) sets how far a reference line may sit from your peak and still count as a match. Raise it a little if your diffractometer has a zero shift or the sample was not at the right height. Reference library chooses COD, the Materials Project or all libraries.
Press Search phases. The Results tab opens with the best match on top.
5. Judge the match
Each candidate is judged on three things, all visible without unlocking:
- Explained intensity: the share of your total peak intensity that its lines account for.
- Strong lines present: of the candidate's strongest reference lines, how many have a peak in your pattern. A real phase cannot hide its strong lines; a missing one is the strongest evidence against a match.
- Confidence: strong, possible or weak, from the two numbers above. Strong means the candidate explains much of the intensity and nearly all its strong lines are present.
The card also says how far the next candidate is behind. When two candidates are close, the data cannot decide between them on peaks alone, and your knowledge of the sample must.
Press Show on the pattern: the candidate's lines appear under the plot, green where they match a peak, red where a strong line is missing. Look at them. A match is convincing when the lines sit on the peaks and the relative heights look right.
The table below the card lists the other candidates. Isostructural entries (the same structure from several sources) are folded under the first, marked +n similar.
Treat the ranking as evidence, not as an answer. A weak best match comes with No confident match: the phase is probably not in the library, or the elements or peaks are off. Do not trust the rows below it either.
6. Accept and search the remaining peaks
Tick the right candidate and press Accept selected. It moves to Identified phases, its peaks are marked as explained, and the tool offers to search the rest: press Search remaining peaks. The next search uses only the peaks the accepted phases do not explain. Repeat until the unexplained peaks are gone or are noise.
On the sample, the second search finds lithium hydroxide monohydrate, LiOH·H2O, which forms when LiOH takes up water from air. It is listed as LiO2H3 (C2/m), the same formula written element by element. The mark H not located means its CIF gives no positions for the hydrogens: they are counted in the formula, but their weak scattering is left out of the calculated pattern. Check every name against your chemistry all the same.
A minor phase named from fewer than three remaining peaks is capped at possible and flagged as a suggestion: confirm it from a second technique or a better pattern before you report it.
7. Known phases and the cell
When you already know a phase, say the main product, add it under Known phases at the top of the Search tab: Find in the library (formula or name), or Upload CIF or PDF card (.txt), or Use a measured pattern as reference. It is accepted at once, and Search remaining peaks looks only for what it leaves.
Doped and substituted compounds have the structure of their parent with a slightly different cell, so their lines are shifted. Open Adjust cell on an identified phase: drag the sliders until the lines sit on the peaks, then press Auto fit to refine the cell. Auto fit converges when the cell is already close, so drag first.
Refine cell fits the cell from the matched peaks, with a choice of the offset to fit (zero shift by default). Remove takes a phase back out of the list.
8. Export and continue
- Export: the plot (PNG), the candidate phases and the peak list as CSV, and a project file to reopen the session.
- Download CIF: right-click a candidate or an identified phase.
- Send to Rietveld refinement →: takes the identified phases with their CIFs to the XRD refinement tool for phase fractions, refined cells, crystallite size and microstrain.
- Open in Plot: a journal-ready figure of the pattern for free. From Plot, Open in Origin (.slplot) gives a file that Origin (2021 or later, with the free ScienLytic app for Origin) opens as an editable Origin graph with its data, almost identical to the figure in Plot.
On your own data the peaks, the search and every candidate's confidence, explained share and strong lines are free, and Show on the pattern marks which of your peaks a candidate explains. The candidates' names, their reference lines and the exports are unlocked per dataset. The sample is always unlocked.
Common mistakes
- No elements ticked. An unrelated phase often ranks first. Tick the elements; the tool asks before searching without them.
- A missing element with the strict filter. Forget O or H and every oxide or hydroxide disappears from the results. Tick everything possibly present, or switch to Any of these elements (loose).
- The wrong wavelength. Every d-spacing is then wrong by the same factor and nothing matches. Check Wavelength Å for non-copper instruments.
- Peaks not found. A threshold set too high leaves the weak reflections out, and with them the minor phases. Check the markers before searching.
- Trusting a weak first row. No confident match means the ranking below is not reliable.
- Searching again with nothing left. Once the accepted phases explain every peak, a new search has nothing to work with; the tool says so and offers to search all peaks.
Try it
Open phase identification with the sample
In a hurry? The quick start covers the same flow in five steps.

























