xraytools.

HKL Calculator

Powder or single crystal

For a unit cell and a Miller index: the cell volume, the d-spacing of that reflection, the angle it appears at, the reflections symmetry makes equivalent to it, and the powder pattern the whole cell would give.

Before this
A Miller index is the label for one family of parallel lattice planes, and every answer here is about that family rather than about an atom. Bragg’s law is where the spacing turns into an angle.
You supply
A crystal system, the cell parameters that system leaves free, a wavelength — or an anode preset — and h k l.
Reading it
Results update as you type. The equivalent reflections assume the holohedral Laue class, and the panel beneath them says what that costs a structure of lower symmetry. Stick heights are multiplicity for a cell with no atoms in it, and real relative intensities once there are some — from a named structure, from an atom list you paste in, or from a CIF the parser has read. The chart says which.

Worked examples: cubic – NaCl, Fm3m (200) · cubic – Cu, Fm3m (111) · cubic – α-Fe, Im3m (110) · cubic – CsCl, Pm3m (110) · cubic – ZnS, F43m (111) · hexagonal – quartz, P3221 (101) · tetragonal – cristobalite, P41212 (101) · hexagonal – berlinite, P3121 (101) · tetragonal – rutile, P42/mnm (110) · orthorhombic – aragonite, Pmcn (111) · monoclinic – ZrO2, P21/c (111) · triclinic – albite, C1 (111) · tetragonal – urea, P421m (110)

Earlier on the path: Bragg Calculator Next on the path: Reciprocal Cell Calculator On From planes to a powder pattern, step 3 of 7

Notation here: d · θ, 2θ · (hkl) · {hkl}, ⟨uvw · Iwhat each one means here

Terms here: asymmetric unit · centring · point group · holohedry · Laue class · multiplicity · setting

See also: Lattice explorer · Bragg Calculator · Peak Finding · Line Broadening · Intensity Corrections · Powder Indexing · Reciprocal Cell Calculator · Space Group from Absences · CIF Parser

What each input changes
Reflection
Which family of planes. Larger indices mean closer planes, so a smaller d and a larger angle — and past a point, no angle at all, because sin θ cannot exceed 1.
Crystal system
How many cell constants are independent, and therefore which reflections symmetry makes equivalent to the one you asked about. It changes the multiplicity, which changes peak heights.
Lattice centring
Which reflections are systematically absent by the LATTICE alone. It removes lines from the pattern; it never moves one.
Space group
Optional, and it supersedes the radios above: name a group and the screw-axis and glide absences are applied as well as the centring, with the lattice taken from the symbol. A group the Tables give at two origins takes a suffix, and which one you want is decided by the coordinates you are pasting.
Teaching with this page
Objective
After this page a learner can read a Miller index, find the reflections symmetry makes equivalent to it, and predict where the line appears.
Start from
this worked example
Ask first
A powder pattern shows one maximum at 43.3°. How many reflections produced it?
Watch for
“One — one maximum, one reflection”
Then
Reciprocal Cell Calculator
Check yourself: A powder pattern shows one maximum at 43.3°. How many reflections produced it?

Cannot be told from the position alone One — one maximum, one reflection

Any reflections with the same d land at the same angle and add together. In a cubic cell (333) and (511) have identical spacings, so they are one peak and always will be — no instrument separates them. A reflection is a contribution indexed by hkl; a peak is what the pattern shows. The equivalents this page lists for your index are exactly the ones that will arrive together.

Input

Explore: change the crystal, watch the diffraction

Å

This wavelength is Cu Kα.

Which line should I use?

Kα here is the 2:1 weighted mean of Kα1 and Kα2. An unmonochromated tube delivers the two lines separately; the mean is the single effective wavelength to compute with when the doublet is not resolved, which is ordinary laboratory data, and it is what this site uses unless you say otherwise. Choose Kα1 if a monochromator or a Johansson mirror removes the Kα2 component. Kα2 is not offered on its own, because no experiment runs on it alone — it is listed only because the Kα1/Kα2 splitting is why high-angle peaks look doubled. Kβ is what the filter or monochromator removes; compute with it to find out where the ghost peaks of an unfiltered pattern fall.

Crystal system

The system fixes which cell parameters you can edit. Derived values are shown dashed.

Lattice centring

Centring makes whole classes of reflection vanish. It changes the pattern below, not the d of the reflection you asked about.

Name one — P2_1/c, Pmcn, 194 — and screw-axis and glide absences are applied too, not just the centring. The lattice is then taken from the symbol. A group the Tables give at two origins takes a suffix: Fd-3m is origin choice 2 and Fd-3m:1 is choice 1, and which one you want is decided by the coordinates you are pasting, not by the pattern.

One atom per line — Na 0 0 0, and optionally an occupancy and a B after the coordinates. Give the asymmetric unit and a space group, and the stick heights become real intensities instead of multiplicities. The CIF parser fills this in for you from a published structure.

Unit cell
Å
Å
Å
°
°
°
Reflection
View
°
°

Drag across the chart to zoom into a range, or type one here. The view travels in the address bar, so a zoomed pattern can be linked.

Result

Results

a = 5.640 Å
b = 5.640 Å
c = 5.640 Å
α = 90°
β = 90°
γ = 90°
V = 179.4 Å3
d = 2.820 Å
2θ = 31.73°

The cell, and the plane

lattice point 0, 0, 0lattice point 0, 1, 0blattice point 1, 0, 0alattice point 0, 0, 1lattice point 1, 1, 0clattice point 0, 1, 1lattice point 1, 0, 1lattice point 1, 1, 1
a1b1c1drag to rotate · scroll to zoomLook along

200 cuts the axes at a at 0.5, parallel to b, parallel to c.

The spheres are lattice points, not atoms. A lattice point is a position the whole structure repeats from; how many atoms sit on each one, and where, is the basis and is not shown here. NaCl and copper have the same face‑centred lattice and quite different structures.

Powder pattern

02448721020304050607080902θ (°)multiplicity100 - 2θ 15.712°, d 5.6400 Å, multiplicity 6100 - 2θ 15.712°, d 5.6400 Å, multiplicity 6110 - 2θ 22.292°, d 3.9881 Å, multiplicity 12110 - 2θ 22.292°, d 3.9881 Å, multiplicity 12111 - 2θ 27.390°, d 3.2563 Å, multiplicity 8111 - 2θ 27.390°, d 3.2563 Å, multiplicity 8200 - 2θ 31.730°, d 2.8200 Å, multiplicity 6200 - 2θ 31.730°, d 2.8200 Å, multiplicity 6210 - 2θ 35.594°, d 2.5223 Å, multiplicity 24210 - 2θ 35.594°, d 2.5223 Å, multiplicity 24211 - 2θ 39.123°, d 2.3025 Å, multiplicity 24211 - 2θ 39.123°, d 2.3025 Å, multiplicity 24220 - 2θ 45.488°, d 1.9940 Å, multiplicity 12220 - 2θ 45.488°, d 1.9940 Å, multiplicity 12300 (6) + 221 (24) - 2θ 48.418°, d 1.8800 Å, multiplicity 30300 (6) + 221 (24) - 2θ 48.418°, d 1.8800 Å, multiplicity 30310 - 2θ 51.220°, d 1.7835 Å, multiplicity 24310 - 2θ 51.220°, d 1.7835 Å, multiplicity 24311 - 2θ 53.917°, d 1.7005 Å, multiplicity 24311 - 2θ 53.917°, d 1.7005 Å, multiplicity 24222 - 2θ 56.524°, d 1.6281 Å, multiplicity 8222 - 2θ 56.524°, d 1.6281 Å, multiplicity 8320 - 2θ 59.054°, d 1.5643 Å, multiplicity 24320 - 2θ 59.054°, d 1.5643 Å, multiplicity 24321 - 2θ 61.519°, d 1.5074 Å, multiplicity 48321 - 2θ 61.519°, d 1.5074 Å, multiplicity 48400 - 2θ 66.289°, d 1.4100 Å, multiplicity 6400 - 2θ 66.289°, d 1.4100 Å, multiplicity 6410 (24) + 322 (24) - 2θ 68.607°, d 1.3679 Å, multiplicity 48410 (24) + 322 (24) - 2θ 68.607°, d 1.3679 Å, multiplicity 48411 (24) + 330 (12) - 2θ 70.889°, d 1.3294 Å, multiplicity 36411 (24) + 330 (12) - 2θ 70.889°, d 1.3294 Å, multiplicity 36331 - 2θ 73.141°, d 1.2939 Å, multiplicity 24331 - 2θ 73.141°, d 1.2939 Å, multiplicity 24420 - 2θ 75.365°, d 1.2611 Å, multiplicity 24420 - 2θ 75.365°, d 1.2611 Å, multiplicity 24421 - 2θ 77.567°, d 1.2307 Å, multiplicity 48421 - 2θ 77.567°, d 1.2307 Å, multiplicity 48332 - 2θ 79.751°, d 1.2025 Å, multiplicity 24332 - 2θ 79.751°, d 1.2025 Å, multiplicity 24422 - 2θ 84.077°, d 1.1513 Å, multiplicity 24422 - 2θ 84.077°, d 1.1513 Å, multiplicity 24500 (6) + 430 (24) - 2θ 86.226°, d 1.1280 Å, multiplicity 30500 (6) + 430 (24) - 2θ 86.226°, d 1.1280 Å, multiplicity 30510 (24) + 431 (48) - 2θ 88.369°, d 1.1061 Å, multiplicity 72510 (24) + 431 (48) - 2θ 88.369°, d 1.1061 Å, multiplicity 72

23 reflections between 5° and 90° 2θ, lattice P (no reflection condition). Hover a stick to identify it. Click one to select it, or drag across the chart to zoom into that range.

200 is the highlighted stick.

The first 12 of 23 reflections, lowest angle first. Click a row to select its reflection.
2θ (°)d (Å)hklmultiplicity
15.715.64001006
22.293.988111012
27.393.25631118
31.732.82002006
35.592.522321024
39.122.302521124
45.491.994022012
48.421.8800300 (6) + 221 (24)30
51.221.783531024
53.921.700531124
56.521.62812228
59.051.564332024

The two numeric columns are fixed at two and four decimal places so the points line up and the rows can be compared down the column — that is a format, not a claim about how well the spacings are known. The d and 2θ in the results above are rounded to the figures your cell constants carry, which is the site's answer for the selected reflection.

Stick heights are multiplicity only — how many symmetry-equivalent reflections coincide at that angle. They are not intensities: there is no structure factor, no Lorentz–polarisation factor and no temperature factor here, so a measured pattern will have the peaks in these positions with quite different heights. Positions and absences are the part to read. Load one of the named structures above, or give an atom list, to get real intensities.

Whole classes of reflection can be systematically absent, and there are three kinds. Integral absences come from the lattice centring and affect every hkl. Zonal absences come from glide planes and empty one plane of the pattern — 0kl, h0l, hk0 or hhl. Serial absences come from screw axes and empty one row — h00, 0k0 or 00l. You have named a lattice rather than a space group, so only the first kind is applied here: for a structure with a screw axis or a glide plane this chart draws some reflections the crystal does not produce, and they are the ones in those rows and planes. Name a space group above and all three are applied.

Why

How this is calculated

V=abc1cos2(α)cos2(β)cos2(γ)+2cos(α)cos(β)cos(γ)

V=5.640Å×5.640Å×5.640Å×1=179.4Å3

For a cubic cell (a = b = c, α = β = γ = 90°) the general form reduces to1d2=h2+k2+l2a2

1d2=22+02+02(5.640Å)2=0.125748Å2

d=10.125748Å2=2.820Å

λ = 1.541838 Å is Cu Kα:

2θ=2×arcsin(λ2×d)=2×arcsin(1.541838Å2×2.820Å)=31.73°

Volume and d are quoted to 4 significant figures — the fewest that a, b and c carry — and 2θ to 4, which counts the wavelength as well.

The general form, and what this cell strikes out

σ=S11h2+S22k2+S33l2+2S12hk+2S23kl+2S13hl

1d2=σV2

S11 = b2c2 sin2α, S22 = a2c2 sin2β, S33 = a2b2 sin2γ, S12 = abc2(cos α cos β − cos γ), S23 = a2bc(cos β cos γ − cos α), S13 = ab2c(cos γ cos α − cos β). This cell strikes out 3 of the six. A struck term is zero for every reflection in this crystal system, which is exactly what having fewer free cell parameters buys you.

equivalent reflections: 6

200020002002020200

A diffraction pattern is centrosymmetric whether or not the crystal is — I(hkl) = I(−hkl), which is Friedel’s law — so a reflection and its opposite always appear together in this list. It follows that reflection positions and intensities can tell apart only 11 of the 32 crystal classes, the Laue classes. This form asks for a crystal system, which does not fix the point group, so the list assumes the holohedral — highest-symmetry — Laue class of the system you chose; a structure in a lower class has fewer equivalents than shown here, which does not mean fewer reflections at that angle. They still all arrive together — quartz’s (101) and (011) are not equivalent in 3̄m1 and coincide in d regardless — they simply no longer share one |F|, so a powder peak is the sum over them rather than one of them times a count. Friedel’s law is itself an approximation: resonant scattering breaks it slightly, which is what makes absolute structure determinable at all, and how much of that contrast a composition offers is what the Friedif calculator estimates.

Limits

What this calculation assumes

Every one of these is stated in full beside the panel it applies to. This list is here so you can see how many there are.

Where this comes from