NaCl powder XRD: FCC indexing, the lattice parameter and how far a Scherrer size can be trusted
A 2026 paper re-reads a plain table-salt diffraction pattern and asks how much of it is really measured. We index its nine lines, refit the lattice parameter and test the size numbers with fibub's XRD calculator.
Table salt is the first powder many students ever put in a diffractometer, and its pattern looks easy: a handful of sharp lines, a textbook structure, a lattice parameter everybody already knows. A 2026 paper in Compounds takes that easy pattern and asks an awkward question: of everything people write down from it, how much is really measured? The answer is that the positions of the lines are solid, while the widths, and the crystallite sizes read off them, carry far more uncertainty than the two decimal places they are usually quoted to. This article redoes the whole chain with the XRD peak calculator, from indexing to size, and shows where the numbers stop being safe. For the crystallography either side of it, the miller index calculator turns planes into d-spacings and the electron diffraction indexer does the same job for ring patterns in a microscope.
The paper in brief
The authors take a laboratory powder pattern of sodium chloride measured with copper radiation (λ = 1.542 Å) and work through it in the order a careful crystallographer would. Nine reflections between 2θ = 27.4° and 84.1° are indexed on the face-centred cubic rock-salt lattice as 111, 200, 220, 311, 222, 400, 331, 420 and 422. From them they get a lattice parameter of 5.642 ± 0.004 Å reflection by reflection, and 5.64005 ± 0.00078 Å from a fit to the whole pattern, both close to the accepted 5.640 Å.
Then they turn to the widths. The Scherrer equation turns a peak width into a “coherence length”, the size of the block of crystal that diffracts as one. Averaged over all nine lines it gives about 41.6 nm; leaving out the 331 line, which they consider unreliable, it falls to about 36.1 nm; and after subtracting a representative 0.10° of instrumental width it spreads from about 25 nm to 149 nm. A Williamson-Hall plot, which separates size from strain, gives about 46.45 nm and a microstrain of about 8.2 × 10⁻⁴, but with R² = 0.691: the points scatter badly around the line. Their conclusion is not that any one number is wrong, but that peak widths are model- and specimen-dependent, so a size from them is an apparent size and should be reported as one.
Checked with the tools
Everything below is a recomputation from the nine 2θ values and the wavelength printed in the paper, using the same maths the XRD peak calculator runs in the browser. We did not have the paper’s measured peak widths: its FWHM table is an image, so where widths are needed we rebuilt them from the paper’s own Williamson-Hall line (that is our reconstruction, not the paper’s measurements).
Step 1: the lattice really is face-centred cubic, and the tool can say why. Fed the nine d-spacings, the tool’s cubic indexer tries all four cubic lattices and ranks them. Face-centred cubic indexes every line with no allowed line missing, and gives exactly the paper’s hkl list. Simple cubic also indexes all nine lines, with the same lattice parameter, but it then predicts 11 more allowed reflections inside the measured range that are not there (N = 2, 5, 6, 9, 10, 13, 14, 17, 18, 21 and 22, in units of h² + k² + l²; a twelfth, N = 1, sits below the first measured peak). Diamond cubic fails outright: it has no 200, 222 or 420, so three of the nine lines are left unindexed. That is the whole argument for the rock-salt lattice in two numbers, and it is the sort of check that is easy to skip when a pattern “obviously” matches a card.
Step 2: the lattice parameter. Taking each line on its own, the tool gets values from 5.6384 Å to 5.6459 Å (Figure 1) — the paper’s stated spread of 5.638 to 5.646 Å, line for line. The least-squares fit to all nine gives a = 5.6404 Å, which lands on the paper’s whole-pattern value of 5.64005 Å to four decimals, and the scatter of the single-line values has a standard deviation of 0.0026 Å. The reference value for halite is 5.6401 Å, so the pattern is right to about 1 part in 20,000.
Step 3: the widths, and why the two size methods disagree. Rebuilding the peak widths from the paper’s Williamson-Hall line gives full widths at half maximum from 0.222° at the first line to 0.400° at the last. Running the Scherrer equation on those widths, line by line, gives sizes that fall steadily from 36.8 nm to 26.8 nm as the angle rises (Figure 2), averaging 30.9 nm. The Williamson-Hall intercept for exactly the same widths gives 46.4 nm. Both numbers come from the same nine widths; they differ by 50 % because Scherrer blames all the extra width on small crystals, while Williamson-Hall lets strain take the part that grows with angle. The paper’s own pair (about 36 to 42 nm by Scherrer, 46.45 nm by Williamson-Hall) shows the same gap in the same direction.
Step 4: how much precision the printed angles can carry. The paper prints 2θ to one decimal place, which means every value could be up to 0.05° away from what was measured. Shifting the whole pattern by that much and refitting moves the lattice parameter from 5.6369 Å to 5.6439 Å (Figure 3) — about ±0.0035 Å, which is 4.5 times the ±0.00078 Å uncertainty quoted for the whole-pattern fit. The fitted value is as good as the paper says; it is the printed angles that cannot support it. Anyone rebuilding this pattern from the article alone should quote a to three decimals, not five.
| Check | Paper | Tool gives (recomputed) |
|---|---|---|
| Lattice | face-centred cubic, 9 lines indexed | face-centred cubic, 0 unindexed, 0 missing; simple cubic needs 11 absent lines |
| hkl list | 111, 200, 220, 311, 222, 400, 331, 420, 422 | the same nine |
| a, line by line | 5.642 ± 0.004 Å (5.638 to 5.646) | 5.6384 to 5.6459 Å, sd 0.0026 Å |
| a, all lines together | 5.64005 ± 0.00078 Å | 5.6404 Å |
| Size from the Williamson-Hall intercept | about 46.45 nm | 46.4 nm (from the paper’s own fitted line) |
| Size from Scherrer | about 36 to 42 nm | 26.8 to 36.8 nm, mean 30.9 nm (widths reconstructed) |
| Precision allowed by 2θ printed to 0.1° | not discussed | ±0.0035 Å on a |
How we made the graphs
The charts and every number come from scripts/blog-figures/nacl-powder-xrd-fcc-indexing-lattice-parameter-coherence-length.mjs in fibub’s public code. It calls dFromTwoTheta (Bragg’s law), rankCubic (cubic indexing over all four lattices), scherrer and williamsonHall from src/lib/sci/xrd.ts, the maths behind the XRD peak calculator.
Inputs from the paper’s text: the nine 2θ values, the wavelength 1.542 Å, the Scherrer constant K = 0.9 and the fitted Williamson-Hall line β cos θ = 0.00299 + 0.00082 (4 sin θ). The reference 5.6401 Å is the standard crystallographic value for halite. The per-line peak widths are our reconstruction from that fitted line, because the paper’s widths are only in an image; a real sample’s widths scatter around such a line (the paper’s R² is 0.691), so our Scherrer sizes are smoother than measured ones would be.
How we test the maths
On every change to fibub, tests/sci.mjs runs tests/sci-tools/xrd-peak-calculator.mjs, which pins this maths against NumPy and SciPy:
- Bragg’s law: at 2θ = 38.97° with Cu Kα1 the d-spacing must be 2.3093292 Å, and d = 2 Å must come back at 45.30611°, both to NumPy’s last digits.
- Scherrer with the instrument’s width taken out in quadrature (0.5° observed, 0.1° instrument, 2θ = 40°) must give 172.569 Å, and 211.353 Å when the subtraction is linear instead.
- Indexing: six body-centred lines must be ranked as body-centred rather than simple cubic even though both fit, and diamond lines must beat face-centred because face-centred would be missing 200, 222 and 420.
- Williamson-Hall on exact data built from D = 300 Å and ε = 0.0015 must return those two numbers, and the made-up example scan must match
numpy.polyfitat 261.238 Å and ε = 0.00214277, standard errors included. - New with this article: the nine NaCl lines must index as face-centred cubic with a = 5.6404 Å, no line unindexed and none missing, while simple cubic indexes them all but needs 11 absent reflections and diamond cubic leaves three lines unindexed.
Check it yourself
On the XRD peak calculator:
- In Wavelength λ (Å) type 1.542 (or pick Cu Kα and overtype it). Leave Scherrer constant K at 0.9 and Indexing tolerance (% of d) at 0.5.
- In the Peaks box labelled 2θ (°), then FWHM (° 2θ) if you have it, then intensity, one peak per line, paste the nine lines with the widths we rebuilt: 27.4, 0.222; 31.7, 0.231; 45.5, 0.265; 53.9, 0.288; 56.5, 0.295; 66.3, 0.327; 73.1, 0.353; 75.4, 0.362; 84.1, 0.400.
- Under Cubic indexing you should see Face-centred cubic, a = 5.6404 Å, with hkl 111, 200, 220, 311, 222, 400, 331, 420, 422, nothing unindexed and nothing missing. Simple cubic is listed below it with the same a and a long list of missing lines.
- Set Instrument width (° 2θ) to 0 so the widths are treated as all sample. The Peaks table then shows Scherrer sizes falling from about 368 Å at 27.4° to about 268 Å at 84.1°.
- Under Williamson-Hall plot read D ≈ 464 Å (46.4 nm) and a strain of about 8.2 × 10⁻⁴ — the same split the paper reports, from the same widths.
- Now put Instrument width back to 0.10 and watch the sizes jump: the last lines barely stand above the instrument, which is exactly the “coherence-length uncertainty” in the paper’s title.
What researchers can use it for
- Settle a lattice type before quoting a card number: paste your d-spacings and see which cubic lattices index every line, and which ones need reflections that are not in your pattern (XRD peak calculator).
- Report a lattice parameter honestly: fit all lines together, then shift the pattern by your angular accuracy and see how much a moves, as in Figure 3.
- Decide whether a Scherrer size is worth quoting: compare it with the Williamson-Hall intercept for the same widths; if they differ by 50 %, strain is doing the work and one number will not do.
- Teach systematic absences from a pattern students can measure themselves, with the miller index calculator to turn each hkl into its d-spacing by hand.
- Carry the same logic to electron diffraction, where ring radii squared play the part of 1/d², with the electron diffraction indexer; and check a published structure’s own geometry with the CIF viewer.
The fine print
- The peak widths we used are our reconstruction from the paper’s fitted Williamson-Hall line, not its measured widths. Measured widths scatter (the paper’s R² is 0.691), so real Scherrer sizes would be noisier than ours.
- Our Scherrer sizes treat all the width as sample broadening. Taking out an instrumental width makes every size larger, by a lot at high angle.
- We used the paper’s λ = 1.542 Å throughout. Cu Kα1 alone is 1.5406 Å, and that choice alone shifts a by about 0.001 Å.
- Rock-salt NaCl absorbs copper radiation weakly and is a textbook easy case; a strongly absorbing or badly mounted sample shifts peaks far more than the 0.05° tested here.
- The paper is a crystallographic re-reading of one pattern, not a new material. Its value is the error budget, and that is what we checked.
Sources
- AlGharram, M., AlZoubi, T., Mouhtady, O. and Makhadmeh, G. N. (2026), Critical Crystallographic Interpretation of NaCl Powder XRD: From FCC Indexing to Coherence-Length Uncertainty, Compounds 6(3): 48, doi:10.3390/compounds6030048. Creative Commons Attribution (CC BY) licence, checked on the MDPI article page, 2026-11-24. Values used here: λ = 1.542 Å (Cu Kα); nine reflections at 2θ = 27.4, 31.7, 45.5, 53.9, 56.5, 66.3, 73.1, 75.4 and 84.1° indexed as 111, 200, 220, 311, 222, 400, 331, 420 and 422; lattice parameter 5.642 ± 0.004 Å peak by peak (individual values 5.638 to 5.646 Å) and 5.64005 ± 0.00078 Å from a whole-pattern fit; Scherrer shape factor K = 0.9; Scherrer average about 41.6 nm over all nine lines and about 36.1 nm leaving out 331; a sensitivity test with 0.10° of instrumental width; Williamson-Hall line β cos θ = 0.00299 + 0.00082 (4 sin θ) with R² = 0.691, giving about 46.45 nm and a microstrain of about 8.22 × 10⁻⁴.
- Reference lattice parameter of halite at room temperature, a = 5.6401 Å: standard crystallographic value (NaCl, Fm-3m), as listed in the CRC Handbook of Chemistry and Physics.
- Bragg's law, the face-centred cubic selection rules, the Scherrer equation and the Williamson-Hall plot are standard textbook crystallography; fibub's code for them is checked against NumPy and SciPy in tests/sci-tools/xrd-peak-calculator.mjs.
If you are an author or publisher and want a credit or a passage changed or removed, tell us and we will act quickly.