Powder X-ray diffraction patterns are read plane by plane. The Miller indices calculator takes the lattice type, the lattice parameter, the indices h, k, l and the wavelength, and gives the interplanar spacing, the Bragg angle, the 2θ angle and whether the reflection is allowed.
How the calculation works
- Choose the lattice type and enter the lattice parameter a and the Miller indices (h, k, l) of the family of planes.
- For a cubic crystal, the spacing between neighboring planes is d = a ÷ √(h² + k² + l²).
- Enter the X-ray wavelength, 1.5406 Å for Cu Kα. The Bragg angle follows from λ = 2d sin θ (first order), and the angle measured on a diffractometer is 2θ.
- Not every plane gives a reflection. In a BCC lattice, h + k + l must be even, and in an FCC lattice h, k and l must be all odd or all even. The calculator flags whether the reflection is allowed.
Example
Copper is FCC with a = 3.615 Å. For the (111) planes, d = 3.615 ÷ √3 = 2.0871 Å. With Cu Kα radiation (1.5406 Å), sin θ = 1.5406 ÷ (2 × 2.0871) = 0.3691, so θ = 21.66° and 2θ = 43.32°. All three indices are odd, so the reflection is allowed.
Why it matters
Students of materials science, chemistry and physics, and technicians who index diffraction patterns, use these relations to assign peaks and to identify a phase. The calculator speeds up the routine arithmetic.
Good to know
The formulas apply to cubic crystals only. Other crystal systems use more complicated spacing formulas. Peak positions in real patterns can shift because of instrument error and strain, so treat the result as a prediction.
Related tools
The Bragg’s law calculator works from the spacing to the angle directly, and the distance formula calculator helps with the geometry.