InfyCalculator
🧪

Miller Indices Calculator: (hkl) from Intercepts, d-Spacing and Bragg Angle

Find the Miller indices (hkl) of a crystal plane from its axis intercepts, then its d-spacing, Bragg 2θ, multiplicity and BCC/FCC/diamond selection rule.

Start from
x intercept (in units of a)
y intercept (in units of b = a)
z intercept (in units of c = a)
h
k
l
Lattice constant (a)
Cubic lattice
X-ray wavelength (λ)
Second plane for the angle (h k l)
Loading calculator…

How it works

Miller indices (h k l) = reciprocals of the intercepts (x/a, y/b, z/c), cleared of fractions and reduced to the smallest integers; an intercept of ∞ gives 0 · cubic d-spacing d = a ÷ √(h² + k² + l²) · Bragg’s law λ = 2d sin θ · angle between planes cos φ = (h₁h₂ + k₁k₂ + l₁l₂) ÷ (√(h₁² + k₁² + l₁²) √(h₂² + k₂² + l₂²))

To name a crystal plane, write where it cuts the x, y and z axes as multiples of the cell edges (a plane parallel to an axis cuts it at ∞), take the reciprocals, then multiply by the smallest number that clears every fraction. A plane cutting at ½, 1 and ∞ gives reciprocals 2, 1 and 0, so it is (2 1 0). A negative intercept gives a negative index, written with a bar over the number. If the plane goes through the origin, move the origin to another corner first; the calculator tells you when that is needed. You can also start from (h k l) to see the intercepts. For cubic crystals the spacing between neighboring (hkl) planes is d = a ÷ √(h² + k² + l²). With the X-ray wavelength (Cu Kα by default) the calculator applies Bragg’s law to give the diffraction angle 2θ. It also checks the structure-factor rule for your lattice: in BCC only planes with h + k + l even reflect, in FCC h, k and l must be all odd or all even, and diamond cubic adds h + k + l = 4n for the all-even case. When a plane is absent it shows the first allowed higher order, and a table lists the first reflections you would see in a powder pattern. The family {hkl} and its multiplicity count the symmetry-equivalent planes. Unlike the equation-of-a-plane calculator in geometry, this tool uses crystallographic intercepts and lattice constants. All formulas assume a cubic cell.

Worked example

A plane in copper (FCC, a = 3.615 Å) cuts the axes at ½, 1 and ∞. The reciprocals are 2, 1 and 0, already whole numbers, so the Miller indices are (2 1 0); the family {2 1 0} has 24 equivalent planes. h² + k² + l² = 5, so d = 3.615 ÷ √5 = 1.6167 Å. With Cu Kα X-rays (λ = 1.5406 Å), θ = asin(1.5406 ÷ 3.2334) = 28.455°, so 2θ = 56.91°. But in an FCC lattice 2, 1 and 0 mix odd and even, so this reflection is absent; the first allowed order is (4 2 0) with d = 0.8083 Å at 2θ = 144.71°. The plane is 26.57° from (1 0 0).

Sources: Omni Calculator: Miller indices calculator (a = 2 Å, (2 0 1) example) · King Saud University lecture notes: positions, directions and planes (worked intercept examples) · ConductScience: Miller indices d-spacing calculator

Frequently asked questions

How do you find Miller indices from intercepts?

Write the intercepts as fractions of the cell edges, take the reciprocals, and clear the fractions. Intercepts 3, 1 and ½ give reciprocals ⅓, 1 and 2; multiplying by 3 gives (1 3 6). An axis the plane never meets (∞) gives 0.

What does a bar over a Miller index mean?

It marks a negative index, from a plane that cuts that axis on the negative side. (1 1̄ 0) is read “one, bar one, zero” and is the same as (1 −1 0).

What is the d-spacing of a plane?

The perpendicular distance between neighboring parallel planes of the same family. For a cubic crystal d = a ÷ √(h² + k² + l²); for rock salt (NaCl) with a = 5.64 Å the (111) spacing is 5.64 ÷ √3 = 3.256 Å.

Why are some reflections missing in BCC and FCC crystals?

Atoms at the body or face centers scatter exactly out of phase with the corner atoms for certain planes, so those reflections cancel. In BCC, (100) is absent but (200) and (110) appear; in FCC, (100) and (110) are absent while (111) and (200) appear.

What is the difference between (hkl) and {hkl}?

Round brackets name one plane; curly braces name the whole family of planes equivalent by symmetry. In a cubic crystal {100} includes (100), (010), (001) and their negatives, six planes in all.

Related calculators

This calculator is for educational purposes. Double-check important results before acting on them.