Skip to main content

Miller Indices Calculator

Ready to calculate
d = a / √(h² + k² + l²).
11 Material Presets.
4 X-ray Bragg Angles.
100% Free.
No Data Stored.

How it Works

01Pick the Material

11 options — common metals, diamond, AlAs — lattice constant auto-fills (or enter custom)

02Enter Miller Indices

h, k, l — integers (positive, negative, or zero) but not all three zero

03Apply d = a / √(h² + k² + l²)

Cubic-system interplanar spacing — the foundation of XRD analysis

04Get Bragg Angles + Selection

θ for Cu/Mo/Co/Cr-Kα · plane multiplicity · allowed/forbidden by lattice type

What is a Miller Indices Calculator?

Miller indices are the universal language for naming crystal planes — the foundation of X-ray diffraction analysis, semiconductor wafer orientation, surface science, and metallurgy. Our Miller Indices Calculator computes the interplanar spacing d_hkl = a / √(h² + k² + l²) for cubic crystals from any (h k l) and lattice constant a, plus everything you need for downstream analysis: Bragg angles for four common X-ray sources, plane multiplicity, and lattice-type selection rules indicating whether the reflection is allowed or systematically absent in a diffraction pattern.

Pick from 11 material presets — diamond, the major FCC metals (Cu, Ag, Au, Pt, Pd, Ni, Pb), BCC iron, and AlAs (zincblende) — and the lattice constant auto-fills with the accepted room-temperature value. Or pick "Custom" and enter your own lattice constant for any cubic material not in the library. Enter the (h k l) integers in the dedicated panel and the calculator returns the d-spacing in Å, pm, and nm; the Bragg first-order angle θ for Cu-Kα (1.5418 Å), Mo-Kα (0.7107 Å), Co-Kα (1.7902 Å), and Cr-Kα (2.2910 Å); the family multiplicity (how many equivalent planes the {hkl} family contains); and the lattice-systematic-absence rule for the chosen structure.

Designed for solid-state chemistry, materials science, and crystallography coursework, the tool also handles edge cases — reduced indices when (h k l) share a common factor, identification of (000) as a forbidden trivial case, and λ > 2d cases where no first-order reflection is geometrically possible.

Pro Tip: Pair this with our Lattice Constant Calculator to derive a from atomic radius, or our Electronegativity Calculator for bonding analysis.

How to Use the Miller Indices Calculator?

Pick the Material: 11 presets cover the most-encountered cubic materials (diamond, common FCC metals, BCC iron, AlAs zincblende). Each preset auto-fills its accepted room-temperature lattice constant in Å. Pick "Custom" to enter any value you want.
Adjust the Lattice Constant: The auto-filled value is in Å (the standard crystallography unit). You can override it — useful at non-standard temperatures, for alloys, or for materials not in the preset library. Unit dropdown supports Å, pm, nm, μm.
Enter the Miller Indices: Three integer inputs — h, k, l. Negative indices are conventionally written with a bar above the number; here, type a minus sign. (000) is excluded as the trivial origin. Common cubic planes include (100), (110), (111), (200), (220), (311).
Press Calculate: The tool applies d = a / √(h² + k² + l²), then derives Bragg angles via λ = 2d sin θ for n = 1 first-order reflection across four standard X-ray sources.
Read the Results: d-spacing in three units; Bragg θ for each X-ray source; reduced (hkl) when the indices share a common factor; family multiplicity; lattice-type selection rule (allowed or forbidden in XRD).

How do I calculate Miller indices and d-spacing?

Miller indices encode the orientation of a crystal plane via the reciprocals of the plane's intercepts on the crystal axes. Combined with the lattice constant, they determine the plane's spacing — and via Bragg's law, the diffraction angle. Here's the complete derivation:

Think of (h k l) as the "address" of a family of parallel planes in the crystal. The integers tell you how the plane slices through the unit cell — (100) cuts the cube into two halves perpendicular to the x-axis; (111) is the diagonal plane through the body of the cube.

The Cubic-System d-Spacing

d_hkl = a / √(h² + k² + l²)

For cubic crystals (SC, BCC, FCC, diamond, zincblende — anything with three equal lattice parameters and right angles), the d-spacing depends only on the lattice constant a and the integers h, k, l. The denominator √(h² + k² + l²) is the magnitude of the reciprocal-lattice vector for plane (hkl). Larger indices → smaller d-spacing, denser plane stacking.

Bragg's Law

nλ = 2d sin θ

For first-order diffraction (n = 1), sin θ = λ / (2d). Solving: θ = arcsin(λ / (2d)). The 2θ angle (called "two-theta" — the angle between the incident beam and the diffracted beam) is what's read directly from an XRD diffractometer pattern. The calculator computes both θ and 2θ for four standard X-ray sources.

Selection Rules (Systematic Absences)

Not every (hkl) gives a measurable XRD reflection — atoms inside the unit cell can interfere destructively, canceling certain reflections. For cubic structures:

  • Simple cubic (SC): all (hkl) allowed.
  • Body-centered cubic (BCC): h + k + l must be even.
  • Face-centered cubic (FCC): h, k, l all even OR all odd.
  • Diamond: FCC rule + when h, k, l are all even, h + k + l must be divisible by 4.
  • Zincblende: same as FCC for first-order reflections.

Plane Multiplicity

The {hkl} family encompasses all crystallographically equivalent planes — different (hkl) tuples that produce the same d-spacing due to cubic symmetry. Multiplicity in cubic crystals follows simple rules:

  • {h00}: 6 (e.g., (100), (010), (001) and their negatives)
  • {hh0}: 12 (e.g., (110) family)
  • {hk0}: 24 (one zero, two distinct)
  • {hhh}: 8 (e.g., (111) family)
  • {hhk}: 24 (two same, one different)
  • {hkl}: 48 (all three different, all non-zero)
Real-World Example

Miller Indices Calculator – Crystal Plane Spacing In Practice

Consider copper at room temperature, lattice constant a = 3.6149 Å (FCC structure). Compute the d-spacing for the (111) plane — the densest packing direction in FCC, and the plane along which copper preferentially slips during plastic deformation:
  • Step 1: Identify the inputs. Material: copper FCC, a = 3.6149 Å. Plane: (111), so h = k = l = 1.
  • Step 2: Compute h² + k² + l² = 1 + 1 + 1 = 3.
  • Step 3: Apply the formula. d_111 = 3.6149 / √3 = 3.6149 / 1.7321 = 2.0871 Å.
  • Step 4: Verify selection rule. FCC requires (h, k, l) all even or all odd — (1, 1, 1) all odd ✓ → allowed reflection.
  • Step 5: Compute Bragg angle for Cu-Kα (λ = 1.5418 Å). θ = arcsin(1.5418 / (2 × 2.0871)) = arcsin(0.3694) = 21.67°. So 2θ = 43.34° — this is the well-known Cu(111) peak position in XRD patterns.
  • Step 6: Family info. {111} multiplicity in cubic = 8 (eight equivalent planes: ±1±1±1 in all sign combinations). The (111) plane is the close-packed plane in FCC.

Now consider diamond (a = 3.567 Å) for the (200) plane. d_200 = 3.567 / √4 = 1.7835 Å. But (200) is forbidden in diamond — the FCC selection rule allows it (all even), but the diamond extra rule requires h+k+l divisible by 4 when all indices are even. 2+0+0 = 2, not divisible by 4 → systematic absence. (200) gives zero intensity in diamond's XRD pattern. The first allowed even-index reflection in diamond is (220), where 2+2+0 = 4 ✓.

Who Should Use the Miller Indices Calculator?

1
X-ray Diffraction Analysts: Identify peaks in XRD patterns by matching computed d-spacings (or 2θ angles) against reference values for common materials.
2
Materials Science Students: Solve homework on crystal plane geometry, plane stacking, slip systems (FCC slips on {111}, BCC on {110} or {112}).
3
Solid-State Chemistry: Predict XRD peak positions, analyze powder diffraction patterns, identify unknown crystalline phases.
4
Semiconductor Engineering: Wafer-orientation specifications (Si(100) vs Si(111)) directly use Miller indices; epitaxial growth and lattice mismatching depend on d-spacing matching.
5
Surface Scientists: Different crystal faces have different surface energies, reactivities, and catalytic activities — Pt(100) ≠ Pt(111) ≠ Pt(110) for catalysis.
6
Mineralogists & Geologists: Mineral identification by powder XRD, characterization of crystal habits, twin-plane analysis.

Technical Reference

Origins. Miller indices were introduced by William Hallowes Miller in 1839 (A Treatise on Crystallography) as a notation for crystal faces in macroscopic crystallography. They were repurposed in the 20th century for the modern reciprocal-lattice formulation of X-ray diffraction.

Definition. Given a plane that intercepts the crystal axes at fractional coordinates (1/h, 1/k, 1/l), the Miller indices are (h k l). Negative intercepts are written as bars over the integer (e.g., (1̄ 0 0) = (-1, 0, 0)). Zero indices indicate the plane is parallel to that axis.

d-Spacing Formulas (general crystal systems):

  • Cubic: 1/d² = (h² + k² + l²) / a²
  • Tetragonal: 1/d² = (h² + k²)/a² + l²/c²
  • Orthorhombic: 1/d² = h²/a² + k²/b² + l²/c²
  • Hexagonal: 1/d² = (4/3)·(h² + hk + k²)/a² + l²/c²
  • Trigonal/rhombohedral: more complex; depends on rhombohedral angle α
  • Monoclinic & triclinic: involve all three lattice angles; expressed via the metric tensor

The calculator uses the cubic-system formula. For non-cubic crystals, separate calculators or computer-algebra approaches are needed.

Selection Rules (Systematic Absences) — derivation:

  • BCC: Atoms at (0,0,0) and (½,½,½). Structure factor F = f·(1 + e^(iπ(h+k+l))). When h+k+l odd, F = 0.
  • FCC: Atoms at (0,0,0), (½,½,0), (½,0,½), (0,½,½). F = f·(1 + e^(iπ(h+k)) + e^(iπ(h+l)) + e^(iπ(k+l))). Vanishes unless h, k, l are all even or all odd.
  • Diamond: FCC + an additional FCC sublattice shifted by (¼,¼,¼). Adds the constraint that when (hkl) all even, h+k+l must be 4n.
  • Zincblende (e.g., AlAs): Two interpenetrating FCC sublattices of different atoms — but for first-order reflections the selection rules match FCC.

Common Cubic Lattice Constants (room temperature, in Å):

  • Diamond: 3.567 (covalent C–C)
  • Si: 5.4307 (diamond cubic)
  • Ge: 5.6575 (diamond cubic)
  • NaCl: 5.640 (rock salt)
  • α-Fe: 2.866 (BCC)
  • γ-Fe: 3.658 (FCC, > 912°C)
  • Ni: 3.524, Cu: 3.6149, Ag: 4.0853, Au: 4.0782, Al: 4.0495 (all FCC)
  • W: 3.165 (BCC)
  • AlAs: 5.66 (zincblende)
  • GaAs: 5.6533 (zincblende)

Key Takeaways

Miller indices are the most fundamental geometric descriptors in crystallography — they name every crystal plane in every Bravais lattice using just three integers. The cubic-system d-spacing formula d = a / √(h² + k² + l²) is the most-used calculation in solid-state chemistry, X-ray diffraction, and materials engineering. Use the ToolsACE Miller Indices Calculator to compute d-spacing for 11 preset materials (or any custom cubic crystal), get Bragg angles for the four standard X-ray sources, check plane multiplicity, and verify which reflections are allowed by the lattice's systematic-absence rules. Bookmark it for XRD peak identification, materials science homework, and any solid-state work where crystal orientation matters.

Frequently Asked Questions

What is the Miller Indices Calculator?
Miller indices (h k l) are the standard notation for crystal planes — they name every plane in every Bravais lattice using just three integers. Our calculator computes the interplanar spacing d_hkl = a / √(h² + k² + l²) for cubic crystals, plus Bragg angles, plane multiplicity, and lattice-type selection rules.

The 11-material library covers diamond, the major FCC metals (Cu, Ag, Au, Pt, Pd, Ni, Pb), BCC iron, and AlAs zincblende — each with its accepted room-temperature lattice constant. Bragg angles are computed for the four standard X-ray sources used in XRD labs: Cu-Kα (1.5418 Å), Mo-Kα (0.7107 Å), Co-Kα (1.7902 Å), and Cr-Kα (2.2910 Å).

Designed for X-ray diffraction analysis, materials science coursework, and solid-state chemistry, the tool runs entirely in your browser — no data is stored or transmitted.

Pro Tip: For more chemistry tools, try our Lattice Constant Calculator.

What is a Miller index, exactly?
Miller indices (h k l) are the integer reciprocals of a plane's fractional intercepts on the three crystal axes. If a plane cuts the unit cell at x = 1/h·a, y = 1/k·b, z = 1/l·c, its Miller indices are (h k l). Zero indices mean the plane is parallel to that axis. Common cubic planes: (100) — perpendicular to the x-axis; (110) — diagonal across two axes; (111) — body diagonal, the close-packed plane in FCC.
Why is d = a / √(h² + k² + l²) only for cubic crystals?
Because cubic crystals have three equal lattice parameters (a = b = c) and right angles between axes — the formula reduces to a single parameter. Non-cubic systems require more complex expressions: tetragonal needs separate a and c; hexagonal has its own formula; orthorhombic and lower-symmetry systems involve three (or six, with angles) independent parameters. The calculator's formula is exact for cubic only.
What's a 'forbidden' reflection?
An (hkl) plane that violates the lattice-type selection rule. Even though geometrically the plane exists in the crystal, atoms within the unit cell interfere destructively when the X-ray scatters off them — so no diffraction peak is observed. Example: in BCC, (100) is forbidden because the central atom at (½,½,½) scatters with opposite phase and cancels the corner atoms' contribution. The first BCC-allowed reflection from (100) family is (200).
How do I get the Miller indices from an XRD peak?
Reverse the process: from a measured 2θ angle, compute d = λ / (2 sin θ) using Bragg's law. Then find the (hkl) such that d = a / √(h² + k² + l²). For known materials, match against tabulated 'powder pattern' values (ICDD database). Different (hkl) at the same d-spacing belong to the same family by symmetry. Use selection rules to filter out forbidden indices.
What does plane multiplicity mean?
How many crystallographically equivalent planes exist with the same d-spacing. In cubic crystals, the {100} family has 6 members ((100), (010), (001) and their negatives), {110} has 12, {111} has 8, and the most general {hkl} (all distinct, non-zero) has 48. Multiplicity matters for XRD peak intensity — peaks from high-multiplicity families are inherently stronger because more planes contribute.
Why is Cu-Kα (λ = 1.5418 Å) the standard XRD source?
Three reasons: (1) wavelength is well-suited to crystal-plane spacings (atomic distances 1–5 Å), giving 2θ values across the standard 10–90° range; (2) it's monochromatic enough to give sharp peaks; (3) copper anode tubes are inexpensive and durable. Mo-Kα (0.7107 Å) is used for high-Z materials and high-resolution work; Co-Kα is used for iron-containing samples (Cu fluoresces from Fe).
What if my Bragg angle is shown as 'n/a'?
It means λ > 2d — the wavelength is too long for the spacing, so geometrically no reflection is possible (sin θ would be > 1). Switch to a shorter-wavelength source. For very small d-spacings (high-index planes in small-lattice crystals), Mo-Kα or higher-energy radiation is needed.
How do thermal expansion and pressure affect d-spacing?
Lattice constants grow with temperature (typical thermal expansion ~10⁻⁵ /K for metals, ~10⁻⁶ /K for diamond and quartz) and shrink under pressure. So d-spacing shifts proportionally — XRD peaks move to lower 2θ at higher T (longer d) and higher 2θ at higher P (shorter d). The calculator uses room-temperature reference values; correct for non-ambient conditions if precision matters.
Can I use this for non-cubic materials?
Not directly — the d = a / √(h² + k² + l²) formula assumes cubic symmetry. For tetragonal (Si, TiO₂), hexagonal (graphite, Mg, Zn), and lower-symmetry systems, separate formulas are needed. About 60% of common materials are cubic, so this calculator covers the majority of cases — including all common metals (except Mg, Zn, Ti) and all III-V semiconductors (GaAs, AlAs, InP).
Does the calculator work for negative Miller indices?
Yes. Negative indices are conventionally written with a bar above the number (e.g., (1̄, 0, 0)) but here you simply enter a minus sign. The d-spacing depends on h², k², l², so positive and negative indices give the same magnitude. The selection rules also use |h|, |k|, |l| modulo 2, so negative indices behave identically to positive ones for allowed/forbidden checks.

Author Spotlight

The ToolsACE Team - ToolsACE.io Team

The ToolsACE Team

Our chemistry tools team implements the cubic-system interplanar spacing formula d = a / √(h² + k² + l²) used universally in X-ray diffraction analysis. The 11-material library covers diamond, the major FCC metals (Cu, Ag, Au, Pt, Pd, Ni, Pb), BCC iron, and AlAs (zincblende), each with its accepted room-temperature lattice constant. Bragg angles are computed for Cu-Kα (1.5418 Å), Mo-Kα (0.7107 Å), Co-Kα (1.7902 Å), and Cr-Kα (2.2910 Å). Lattice-selection rules implement systematic-absence checks for FCC, BCC, diamond, and zincblende structures.

Crystallography (Cubic Systems)X-ray Diffraction (Bragg's Law)Software Engineering Team

Disclaimer

The d-spacing formula assumes a cubic crystal system. For tetragonal, hexagonal, orthorhombic, and lower-symmetry systems, separate formulas are needed. Reference lattice constants are room-temperature values; thermal expansion and pressure shift them.