Skip to content
Omnikalc

Miller indices calculator: d-spacing and diffraction angle for a cubic crystal

Enter the lattice type, lattice parameter and Miller indices to get the interplanar spacing, the Bragg angle and whether the reflection is allowed.

Updated on
Your inputs
Å

Value out of range

Value out of range

Value out of range

Value out of range

Å

Value out of range

Results

Interplanar spacing d(hkl)

2.0871 Å

Bragg angle θ (first order)
21.658 °
Diffraction angle 2θ
43.317 °
Reflection allowed for this lattice (1 = yes)
1

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.

The Bragg’s law calculator works from the spacing to the angle directly, and the distance formula calculator helps with the geometry.

Frequently asked questions

What are Miller indices?

They are three integers (h k l) that name a family of parallel crystal planes. They are found from the intercepts of the plane with the cell axes, by taking the reciprocals and clearing fractions.

How do I find the spacing of the planes?

In a cubic crystal, the spacing is the lattice parameter divided by the square root of h² + k² + l². The larger the indices, the closer the planes are to each other, and the weaker their reflections usually are.

What are systematic absences?

In some lattices the waves scattered by atoms at the cell centers or faces cancel out for certain planes. A BCC lattice only reflects when h + k + l is even, and an FCC lattice only when the indices are all odd or all even. The missing reflections are used to identify the lattice.

Why does the calculator say a reflection is not possible?

Bragg's law requires that sin θ is not more than 1. If the wavelength is too long compared with twice the spacing, no real angle exists and the planes cannot diffract.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.