Physics & Mechanics

Bragg's Law Calculator

Calculate the diffraction of X-rays by crystal planes. Find the glancing angle, interplanar spacing, or wavelength using Bragg's Law.

nm
°
Wavelength (λ)
0.146

Calculated locally in your browser. Fast, secure, and private.

Peering Inside Crystals

Bragg's Law, formulated by Lawrence Bragg and his father William Henry Bragg in 1913, is the foundational equation for X-ray crystallography. It explains how electromagnetic radiation (like X-rays) scatters when it hits the regular, repeating planes of atoms inside a crystal lattice.

When X-rays hit a crystal, most of them pass through, but some bounce off the atomic planes. If the X-rays bouncing off the first plane line up perfectly (constructively interfere) with the X-rays bouncing off the second plane, a strong signal is detected.

The Conditions for Reflection

Constructive interference only happens when the extra distance traveled by the deeper X-ray is an exact multiple of the X-ray's wavelength ($\lambda$). This extra distance depends on:

  • Lattice Spacing ($d$): The distance between the atomic planes.
  • Diffraction Angle ($\theta$): The angle at which the X-rays strike the crystal.

The Formula

nλ=2dsin(θ)\begin{aligned} n \cdot \lambda = 2 \cdot d \cdot \sin(\theta) \end{aligned}

Where:
n=
Order of Reflection (integer: 1, 2, 3...)
λ\lambda=
Wavelength of incident wave
d=
Spacing between atomic planes
θ\theta=
Angle of incidence/diffraction

Example Calculation

You are studying a salt crystal with a known lattice spacing of $0.282 , \text{nm}$. You detect a strong first-order ($n=1$) reflection at an angle of $15^\circ$.

  1. Calculate Sine: $\sin(15^\circ) \approx 0.2588$.
  2. Multiply by 2d: $2 \times 0.282 \times 0.2588 \approx 0.146 , \text{nm}$.

The wavelength of the X-rays you are using is approximately $0.146 , \text{nm}$.

Frequently Asked Questions

It is used to determine the exact 3D atomic structure of complex molecules. Rosalind Franklin used it to capture the famous 'Photo 51', which allowed Watson and Crick to discover the double-helix structure of DNA.

The 'order' $n$ simply represents how many full wavelengths the deeper wave has fallen behind. A first-order reflection ($n=1$) means it is exactly one wavelength behind. A second-order ($n=2$) is two wavelengths behind, and so on.

To 'see' an object, the wavelength of the wave must be roughly the same size as the object. Atoms are separated by about $0.1$ to $0.3 , \text{nm}$. Visible light has a wavelength of $400-700 , \text{nm}$ (too big), but X-rays are perfectly sized.