Worked example
Example: Alpha iron (211), Cu K-alpha. The inputs, in the units selected above:
| Input | Value |
|---|---|
| Lattice parameter | 0.28660 nm |
| Miller index h | 2.0000 - |
| Miller index k | 1.0000 - |
| Miller index l | 1.0000 - |
| X-ray wavelength | 0.15406 nm |
| Reflection order | 1.0000 - |
Applying the formula below gives:
| Result | Value |
|---|---|
| Interplanar spacing | 0.11700 nm |
| Bragg angle | 41.174 ° |
| Diffraction angle 2θ | 82.349 ° |
| Sum of squared indices | 6.0000 |
Open this example in the calculator and change any input.
Formula
\(d_{hkl} = \frac{a}{\sqrt{h^2 + k^2 + l^2}}, \quad n\lambda = 2d\sin\theta\)
Variables
| Symbol | Meaning | SI unit |
|---|---|---|
| \(a\) | Lattice parameter | m |
| \(h\) | Miller index h | - |
| \(k\) | Miller index k | - |
| \(l\) | Miller index l | - |
| \(\lambda\) | X-ray wavelength | m |
| \(n\) | Reflection order | - |
| \(d_{hkl}\) | Interplanar spacing | m |
| \(\theta\) | Bragg angle | rad |
| \(2\theta\) | Diffraction angle 2θ | rad |
| \(h^2 + k^2 + l^2\) | Sum of squared indices | - |
Method and standards
Bragg diffraction.
Where it is used
- Indexing XRD patterns.
- Lattice parameter checks.
Common mistakes
- Reporting θ instead of 2θ.
- Planes forbidden by the structure factor.
Assumptions and limits
- Cubic lattice; kinematic diffraction.
References
- Bragg's law for cubic crystals
Questions and answers
Why do some planes not appear in XRD?
Waves scattered by atoms within the cell cancel for those planes (zero structure factor).
What does a peak shift mean?
A change in d: from alloying, temperature or residual stress.
What do the defaults represent?
α-iron (BCC, a = 0.2866 nm), (211) planes, Cu-Kα₁ radiation 0.15406 nm, first order.
Method and article reviewed by FireCAD engineering on 17 November 2026. Every result is checked against an independent calculation on each release: how we verify our calculators.
Sources
Callister and Rethwisch, Materials Science and Engineering: An Introduction (Wiley)