🔬
🔬 Science & engineering

Miller Indices Calculator (plane intercepts → (hkl) and cubic d-spacing)

Results update as you type.

Your numbers

Understanding the Miller indices calculator — concept and principle

This calculator turns the intercepts of a crystal plane on the three cell axes into Miller indices (hkl), and for a cubic lattice gives the spacing between neighbouring planes. It is used in materials science, solid-state physics, X-ray diffraction and crystallography courses.

Miller indices and d-spacingNaming a plane in copperIntercepts1/2 · 1 · ∞Lattice a361.5 pmreciprocals 2 · 1 · 0d = 361.5 ÷ √(4 + 1 + 0)Miller indices(2 1 0)Plane spacing161.67 pmh² + k² + l²5
Flip the intercepts and clear fractions; a plane that never meets the z axis gets a 0.

How it is calculated

  1. Write the intercepts in units of the cell edges a, b, c (∞ if the plane is parallel to an axis).
  2. Take reciprocals (1/∞ = 0).
  3. Clear fractions by multiplying by the smallest common denominator, and divide by any common factor.
  4. Negative indices are written with a bar, for example (1 1̅ 0).

Cubic spacing: d = a ÷ √(h² + k² + l²)

The principle

A family of parallel planes in a crystal is fully described by how it cuts the unit cell. Using reciprocals turns planes parallel to an axis into a zero, and makes closely spaced planes have large indices. In a cubic lattice the reciprocal of the plane spacing grows with the length of the (hkl) vector, which gives d = a/√(h² + k² + l²). That spacing is what enters Bragg's law, nλ = 2d sin θ, in diffraction.

Worked example

Default inputs: intercepts 1/2, 1, ∞; a = 361.5 pm (copper).

  1. Reciprocals: 2, 1, 0.
  2. No fractions or common factors, so the indices are (2 1 0).
  3. h² + k² + l² = 4 + 1 + 0 = 5.
  4. d = 361.5 ÷ √5 = 161.67 pm = 1.6167 Å.

How to read the result

Low-index planes such as (100), (110) and (111) are the most widely spaced and usually the most densely packed with atoms. Higher indices mean closer spacing. In face-centred cubic metals such as copper, only planes with h, k and l all odd or all even give diffraction peaks, so (210) appears in the calculation but not in a powder pattern.

Common mistakes

Keep in mind: The spacing formula applies to cubic lattices only. Other crystal systems need their own formulas.

Frequently asked questions

What does a zero index mean?

The plane is parallel to that axis.

What do brackets mean in crystallography?

(hkl) is one plane family, {hkl} all equivalent planes, [uvw] a direction.

Why does (210) not appear in copper's powder pattern?

In face-centred cubic lattices, mixed odd and even indices give zero intensity.

How is the spacing used?

In Bragg's law, to predict diffraction angles.

Sources: Standard crystallographic convention for Miller indices and cubic interplanar spacing (e.g. W. D. Callister, Materials Science and Engineering: An Introduction)

Checked 9 Nov 2026. Miller-index construction (reciprocals of intercepts, cleared to smallest integers, bar for negatives) and cubic spacing d = a/√(h²+k²+l²): standard crystallography convention; lattice parameter of copper 361.5 pm (standard value).

🔬 All science & engineering tools →🌍 Calculators by country →