Skip to content
LoveToCalc

Definition — what does that mean?

Bragg's law

X-rays reflected off the planes of atoms in a crystal reinforce only at certain angles. From the angle, the spacing between the planes follows.

In Swedish: Braggs lag

Bragg's law

The relation

2d sin(θ)=nλ

X-rays reflected off the planes of a crystal add up where the extra path between neighbouring planes, 2d sin θ, is a whole number of wavelengths. θ is measured to the planes, not to the normal.

X-rays strike a crystal whose atoms lie in parallel planes a distance d apart, drawn as horizontal lines. A ray meets the top plane at the glancing angle θ, measured from the plane, and is reflected at the same angle.
Solve for
Solved for d

d=nλ2 sin(θ)

d≈2.82 × 10⁻¹⁰m

d equals (1 times 1.54 times 10 to the power of minus 10) divided by (2 times the sine of (15.8458 degrees)), is approximately 1.54 times 10 to the power of minus 10 divided by (2 times 0.273), is approximately 1.54 times 10 to the power of minus 10 divided by 0.5461, is approximately 2.82 times 10 to the power of minus 10 m

Working4 steps

The formula

d is the spacing between neighbouring planes of atoms in the crystal, θ the glancing angle between the incoming ray and the planes, λ the wavelength of the radiation and n the order of the reflection, a whole number 1, 2, 3 …

Holds when the crystal is regular, the radiation has a single wavelength, and the reflection is from a whole family of parallel planes.

Copper Kα radiation, λ = 0.154 nm, gives a first-order reflection off a rock salt crystal at θ = 15.8°: d = 1 · 0.154 / (2 · sin 15.8°) ≈ 0.283 nm. The tabulated value for sodium chloride is 0.282 nm.

The glancing angle, not the angle of incidence

In Snell’s law and the law of reflection, angles are measured from the normal. In Bragg’s law θ is measured from the planes themselves. The two angles add up to 90°, so taking the angle to the normal puts a cosine where the sine belongs.

Angle used Its sine Spacing d
15.8° to the planes (right) 0.272 0.283 nm
74.2° to the normal (wrong) 0.962 0.080 nm

Both answers are fractions of a nanometre and both look plausible. Check which angle the question gives before substituting it.

Why 2d

The ray reflected off the second plane travels further than the one reflected off the top plane: down to its plane and back up. Each leg adds d · sin θ, so the path difference is 2d · sin θ. When that is a whole number of wavelengths the rays arrive in phase and reinforce each other.

A second example: higher orders

The same crystal and the same radiation, second order: sin θ = 2 · 0.154 / (2 · 0.282) = 0.546, so θ ≈ 33.1°. Third order gives sin θ = 0.819 and θ ≈ 55.0°. Fourth order would need sin θ = 1.09, and that reflection does not exist.

The same condition for light through many slits is the diffraction grating equation.

Common mistakes

Frequently asked questions

Why X-rays and not visible light? The spacing between planes of atoms is a few tenths of a nanometre. Visible light has wavelengths around 500 nm, which would make sin θ = λ/(2d) far larger than 1. X-rays have wavelengths of the same size as d.

What is Bragg’s law used for? Working out crystal structures, from salts and metals to proteins, and the other way round, measuring an X-ray wavelength with a crystal whose spacing is known.

Does it work with electrons too? Yes. Electrons have a de Broglie wavelength, and electron diffraction off a crystal follows the same condition.

Looking for another letter? The formula solved for each one
Solved for each letter
Solve forRearrangedWith the numbersComes to
n2d sin(θ)λ2·2.82 × 10⁻¹⁰ sin(15.8458°)1.54 × 10⁻¹⁰1
λ2d sin(θ)n2·2.82 × 10⁻¹⁰ sin(15.8458°)11.54 × 10⁻¹⁰ m
θarcsin(nλ2d)arcsin(1·1.54 × 10⁻¹⁰2·2.82 × 10⁻¹⁰)15.8458°
dnλ2 sin(θ)1·1.54 × 10⁻¹⁰2 sin(15.8458°)2.82 × 10⁻¹⁰ m

Last reviewed October 7, 2026 ·How pages are reviewed

Waves and opticsAll formulas

Put this formula on your site

Copy the code into your page where the formula card should appear. It loads from lovetocalc.com, so it stays current on its own — all we ask is that the credit line comes with it.