LazyTools Header
Miller Indices Calculator — d-spacing & 2θ | LazyTools
Math & Science

Miller Indices Calculator

Calculate crystallographic properties from Miller indices (hkl): d-spacing d = a/√(h²+k²+l²) for cubic systems, and the Bragg diffraction angle 2θ for Cu Kα X-ray radiation. Furthermore, the plane normal direction and reduced indices are shown — useful for XRD peak assignment.

✓ Free forever ✓ No login required ✓ Works offline ✓ Instant results ✓ Step-by-step shown

Common cubic lattice parameters (Å): NaCl 5.640; Cu 3.615; Fe 2.866; Al 4.046; Si 5.431; Au 4.078. Enter negative Miller index values as negative integers (bar notation: 1̄ = −1).

How to use the Miller Indices Calculator

1
Enter Miller indices h, k, l

Miller indices define a family of parallel crystallographic planes. Furthermore, negative indices (bar indices) are entered as negative numbers: h̄ = −1, etc. At least one index must be non-zero.

2
Enter lattice parameter (optional)

For cubic systems (NaCl, BCC iron, FCC copper, diamond silicon), enter a in Ångströms. Furthermore, this enables d-spacing and Bragg 2θ calculations.

3
Click Calculate

d-spacing, 2θ for Cu Kα (λ=1.5406 Å), and plane normal are shown. Moreover, reduced indices (divided by GCD) are given for the simplest representation.

4
Read the d-spacing

d = a/√(h²+k²+l²) for cubic. Furthermore, d-spacing is the interplanar spacing — this is what Bragg diffraction measures. Larger d means lower 2θ in XRD.

5
Apply to XRD peak indexing

Bragg equation: 2d sinθ = nλ → θ = arcsin(λ/2d). Furthermore, each peak in a powder XRD pattern corresponds to a (hkl) family of planes with specific d-spacing.

Variants, options and when to use each

PlaneDescriptionProperties
(100)Face planeLow index, high d-spacing
(110)Edge plane45° to face
(111)Diagonal planeHighest density in FCC
(200)2nd order (100)d = a/2
(hkl) generalGeneral oblique√(h²+k²+l²) > 1

The formula explained

d = a / √(h² + k² + l²) | 2θ = 2 arcsin(λ/2d) (Bragg equation, n=1)
d = interplanar spacing (Å)
a = cubic lattice parameter (Å)
h, k, l = Miller indices (integers)
λ = 1.5406 Å (Cu Kα X-ray wavelength)
= diffraction angle in degrees

Miller indices (hkl) describe a family of parallel planes in a crystal lattice. Furthermore, for cubic systems, the d-spacing formula d = a/√(h²+k²+l²) gives the perpendicular distance between adjacent planes. Moreover, when X-rays of wavelength λ diffract from these planes, the Bragg condition 2d sinθ = λ gives the diffraction angle 2θ. Each peak in an X-ray powder diffraction (XRPD) pattern corresponds to a specific (hkl) family.

Worked example — silicon (111) plane (a = 5.431 Å)

StepCalculationResult
√(1²+1²+1²)√31.7321
d = a/√35.431/1.73213.135 Å
sinθ = λ/2d1.5406/(2×3.135)0.2457
2θ = 2 arcsin(0.2457)28.44°
The Si(111) reflection appears at 2θ = 28.44° with Cu Kα radiation. Furthermore, this is the strongest reflection for silicon — widely used as a diffractometer calibration standard. Moreover, the (220) reflection at 47.30° and (311) at 56.12° are also common calibration peaks.

What are Miller indices in crystallography?

Miller indices (hkl) are integers that describe the orientation of a crystallographic plane or family of parallel planes. Furthermore, they are defined as the reciprocals of the fractional intercepts of the plane with the unit cell axes, cleared of fractions. The notation (hkl) refers to a specific plane; {hkl} refers to all symmetry-equivalent planes; [hkl] refers to a direction.

D-spacing (d-spacing) is the perpendicular distance between adjacent planes in a family — the spatial period of the lattice in that direction. Moreover, for cubic crystals, d = a/√(h²+k²+l²) directly from the Miller indices. For non-cubic (tetragonal, hexagonal, orthorhombic) systems, the formula is more complex and involves all lattice parameters.

Bragg diffraction: when X-rays of wavelength λ strike a set of lattice planes at angle θ, constructive interference (diffraction) occurs when 2d sinθ = nλ (Bragg's law). Additionally, each family of planes (hkl) produces a peak at its characteristic 2θ in a powder diffraction pattern. By measuring peak positions, the d-spacings and lattice parameters can be determined.

Who uses this calculator?

Materials scientists use Miller indices and XRPD to identify crystal phases and measure lattice parameters. Furthermore, semiconductor engineers monitor silicon wafer orientation by (100), (110), and (111) labelling for device fabrication. Metallurgists study deformation mechanisms using slip systems described in Miller notation. Moreover, pharmaceutical scientists use XRPD to confirm polymorph identity of drug compounds — each polymorph has a unique d-spacing fingerprint.

Historical context and related concepts

William Hallows Miller introduced the notation in 1839 as a systematic way to describe crystal faces. Furthermore, William Lawrence Bragg derived Bragg's law in 1912 shortly after von Laue's discovery of X-ray diffraction, enabling crystal structure determination. Bragg shared the 1915 Nobel Prize with his father William Henry Bragg. Moreover, modern XRPD is the dominant technique for crystal phase identification — databases like ICDD PDF (Powder Diffraction File) contain over 900,000 diffraction patterns.

Why Miller indices and d-spacing calculations are essential for materials characterisation

X-ray powder diffraction (XRPD) is the most widely used technique for crystal phase identification in pharmaceuticals, materials, geology, and forensics. Furthermore, each crystalline phase has a unique pattern of d-spacings (fingerprint) indexed by Miller indices — two polymorphs of the same compound have different lattice parameters and different d-spacing patterns. Moreover, the 2θ peak positions measured in XRPD directly give d-spacings through Bragg's law, enabling phase identification against reference databases.

Miller indices in semiconductor wafer orientation and epitaxy

Silicon wafers are cut at specific orientations for different device applications: (100) for CMOS integrated circuits; (111) for bipolar transistors; (110) for some MEMS devices. Furthermore, the orientation is specified by Miller indices and verified by X-ray diffraction or etch pit density measurements. Moreover, epitaxial growth of device layers requires crystallographic alignment with the substrate — the Miller index notation specifies the growth direction and interface plane for each heterostructure layer.

Frequently asked questions

Find where the plane intercepts the unit cell axes (in fractions of a, b, c). Take reciprocals. Clear fractions to get integers. Furthermore, a plane parallel to an axis intercepts at ∞ → reciprocal = 0. Example: plane intercepts at ½, 1, ∞ → reciprocals 2, 1, 0 → Miller indices (210). Moreover, the three integers are always written without separators in parentheses.
A negative index (written with a bar: h̄ = −1) means the plane intercepts the axis on the negative side of the origin. Furthermore, in crystal geometry, (hkl) and (h̄k̄l̄) are parallel planes on opposite sides — related by inversion. Moreover, in cubic crystals, {hkl} and {h̄k̄l̄} are symmetry-equivalent by point group operations.
In FCC metals (Cu, Al, Ni, Au), the (111) plane is the close-packed plane — atoms pack most densely in this orientation. Furthermore, plastic deformation occurs by slip on {111}<110> systems — slip planes are {111}, slip directions are <110>. Moreover, the FCC (111) plane has the highest planar atomic density, making it the most stable surface and the preferred growth direction in epitaxy.
No — for non-cubic systems the formula is more complex. Furthermore, tetragonal: 1/d² = (h²+k²)/a² + l²/c². Orthorhombic: 1/d² = h²/a² + k²/b² + l²/c². Hexagonal: 1/d² = 4(h²+hk+k²)/(3a²) + l²/c². Moreover, this calculator only handles cubic systems — non-cubic systems require the full metrical matrix calculation.
The structure factor F(hkl) determines the intensity of diffraction from (hkl) planes — it depends on atom positions and types in the unit cell. Furthermore, systematic absences occur when F = 0 due to destructive interference: for BCC, peaks with h+k+l = odd are absent; for FCC, mixed indices are absent. Moreover, these selection rules (from structure factor = 0) are used to identify cubic structure type from XRPD patterns.

Related tools

Cubic Cell Calculator

Calculate atomic radius and packing from cubic unit cell. Furthermore, lattice parameter a needed for d-spacing comes from cubic cell geometry.

Significant Figures Calculator

Round d-spacing to appropriate precision. Furthermore, XRPD d-spacings are typically reported to 4 decimal places in Å.

Scientific Notation Converter

Express very small d-spacings in nm. Moreover, 1 Å = 0.1 nm = 10⁻¹⁰ m.

Wavelength-Frequency Calculator

Cu Kα wavelength λ = 1.5406 Å. Furthermore, other common X-ray sources: Mo Kα = 0.7107 Å, Co Kα = 1.7902 Å.

Trigonometry Calculator

Bragg equation uses arcsin. Moreover, 2θ = 2 × arcsin(λ/2d).

Lattice Energy Calculator

Crystal stability uses ionic radii from crystal structures. Furthermore, r₀ in Born-Landé = d-spacing for the nearest-neighbour contact plane.

Rate this tool

4.5
out of 5
405 ratings
5 ★
72%
4 ★
17%
3 ★
5%
2 ★
3%
1 ★
3%
How useful was this tool?