Braggs Law Calculator

Bragg's Law Calculator

Calculate X-ray diffraction angles for crystal planes using Bragg's Law, fundamental to crystallography.

ISO 8601 • X-ray Crystallography • 2024

Calculation

Angle (θ)

N/A

°

2θ Angle

N/A

°

What is Bragg's Law?

Bragg's Law, discovered by William Henry Bragg and his son William Lawrence Bragg in 1912, elegantly relates X-ray wavelength, crystal geometry, and diffraction angle through the equation nλ = 2d sin(θ). It describes the condition for constructive interference when X-rays scatter from planes of atoms in a crystal: waves reflected from successive atomic planes must be in phase (path difference = integer wavelength). When Bragg's condition is satisfied, diffracted intensity reaches a maximum; otherwise, scattered waves destructively interfere. Physically, imagine X-rays hitting a crystal—some rays penetrate deeper, traveling extra distance before scattering. For rays from adjacent planes to emerge in phase, the extra path 2d sin(θ) must equal an integer multiple of wavelengths (nλ). The law applies universally: to X-rays scattering from crystals, neutrons from periodic structures, electrons from thin films—any wave diffracting from repeating structures. The 2θ geometry (bragg angle θ is angle incident ray makes with crystal planes; 2θ is the deviation angle between incident and diffracted beams) is standard in diffractometry. Bragg's Law's elegance lies in its simplicity—despite involving only three variables, it unlocks crystal structures at atomic resolution.

X-ray crystallography, enabled by Bragg's Law, revolutionized structural biology: DNA structure by Watson & Crick (using Rosalind Franklin's data) relied on Bragg diffraction patterns; protein structures like hemoglobin, lysozyme, and now thousands of others determined similarly. The method works because X-ray wavelengths (~0.1 nm) match atomic spacings in crystals (~0.2-0.5 nm). In materials science, Bragg's Law identifies phases in alloys, detects crystal defects, and confirms purity. Modern synchrotron radiation provides intense X-rays enabling time-resolved crystallography (watching reactions happen) and microscale samples. Higher-order diffractions (larger n) occur at larger angles; they probe finer structural details but have lower intensity. The condition sin(θ) ≤ 1 limits observable orders—for given λ and d, maximum order n_max = 2d/λ. Practically, crystallographers scan 2θ angle, recording intensity at each position; peaks appear when Bragg condition is met, their positions revealing d-spacings and crystal symmetry. The Bragg approach (fixed wavelength, varying angle) contrasts with Laue method (white X-rays, fixed crystal). Despite modern alternatives (electron diffraction, neutron scattering), Bragg's Law remains the conceptual foundation—it's taught in every physics and chemistry curriculum and underlies billions of dollars in pharmaceutical and materials R&D annually.

How to Calculate Bragg Diffraction Angles

Step-by-Step Process

1

Identify Diffraction Order (n): Choose the order of diffraction, typically n=1 (first order, strongest signal). Higher orders n=2, 3, ... occur at larger angles but lower intensity. For analysis, n=1 is standard; n≥2 used to resolve finer details or confirm crystal structure.

2

Specify X-ray Wavelength: Enter λ in nanometers. Cu Kα (0.154 nm) and Mo Kα (0.071 nm) are standard X-ray sources. Shorter wavelengths (Mo) probe smaller d-spacings; longer wavelengths (lower-energy rays) used for grazing-incidence geometry. Synchrotrons offer tunable wavelengths.

3

Input Interplanar Spacing: Enter d in nanometers—the distance between successive crystal planes of interest (e.g., (100), (110), (111) planes). Spacing depends on crystal system; determined from unit cell parameters. Smaller d means higher diffraction angles.

4

Apply Bragg's Law Formula: Rearrange nλ = 2d sin(θ) to solve for angle: θ = arcsin(nλ/2d). Compute sin(θ) = nλ/(2d). If result > 1, no solution exists (wavelength too large for spacing). Otherwise, take inverse sine to get θ in degrees.

5

Convert to 2θ (Diffractometer Angle): Multiply θ by 2 to get 2θ, the scattering angle directly measurable by X-ray diffractometers. Peak position on a diffraction scan corresponds to 2θ value. Record both θ and 2θ; crystallography databases list 2θ values.

Key Physics

Bragg's Law applies to ELASTIC scattering (no energy loss). The factor of 2 in 2d sin(θ) accounts for extra path traveled by rays penetrating one plane deeper. This calculator uses the standard Bragg geometry (θ/2θ coupled). Grazing-incidence geometry uses different convention (glancing angle instead of Bragg angle).

Example: Cu Kα on NaCl Crystals

Scenario: Find the first-order Bragg diffraction angle for Cu Kα X-rays diffracting from NaCl (100) planes.

Given:
n = 1 (first order)
λ = 0.154 nm (Cu Kα)
d = 0.282 nm (NaCl (100) plane spacing)
Step 1: Bragg's Law Formula
nλ = 2d sin(θ)
Step 2: Rearrange to Solve for θ
sin(θ) = nλ/(2d)
Step 3: Substitute Values
sin(θ) = (1 × 0.154) / (2 × 0.282)
sin(θ) = 0.154 / 0.564 = 0.2732
Step 4: Compute Bragg Angle
θ = arcsin(0.2732) = 15.86°
Step 5: Calculate 2θ (Diffractometer Angle)
2θ = 2 × 15.86° = 31.72°

Interpretation: The (100) reflection of NaCl appears at 2θ = 31.72° when using Cu Kα radiation. This angle directly locates the peak position on an X-ray diffractometer scan. Higher-order reflections (n=2, 3, ...) appear at larger angles; second-order (n=2) would be at 2θ ≈ 65.4°. Multiple reflections create a diffraction pattern used to index crystal structure and determine lattice parameters.

Frequently Asked Questions

Why report 2θ instead of θ in crystallography?

In a typical diffractometer, the X-ray tube stays fixed while the detector moves. The detector angle is 2θ (twice the Bragg angle), directly measurable and reported in crystallographic databases and ICDD powder diffraction files. It's the practical convention.

What does it mean when sin(θ) > 1?

Mathematically impossible (sine ranges from -1 to 1). Physically, it means Bragg's condition cannot be satisfied—the wavelength is too long relative to the crystal spacing. Choose a shorter wavelength (switch to Mo Kα), a crystal with larger d-spacing, or higher-order reflection.

How do I know the interplanar spacing d?

From crystallography databases or calculations. For a cubic system with lattice parameter a, the d-spacing for (hkl) planes is: d = a / √(h² + k² + l²). For hexagonal: more complex formula. X-ray powder diffraction peaks are indexed using these d-values.

What are typical X-ray wavelengths used?

Cu Kα = 0.154 nm (most common, good for most crystals), Mo Kα = 0.071 nm (smaller crystals, small unit cells), W Kα = 0.059 nm (rare, specialized). Synchrotrons offer tunable λ from 0.01-1 nm. Shorter λ probes smaller d-spacings and higher-angle reflections.

Why does higher order (n=2, 3) have lower intensity?

Higher-order reflections occur at larger angles where the atomic form factor decreases sharply. This is a quantum effect: at higher angles, X-rays scatter less efficiently from electron density. So n=1 typically strongest, n=2 weaker, n=3 often barely detectable.

Can Bragg's Law apply to neutrons and electrons?

Yes! Bragg's Law applies to any wave diffracting from periodic structures. Neutron diffraction uses similar geometry; de Broglie wavelength of electrons behaves like X-ray wavelength. Electron diffraction in microscopy uses Bragg's Law. Wavelength differences affect which d-spacings are observable.

What is grazing-incidence X-ray diffraction (GIXD)?

A variant where incident angle is very small (< 1°), nearly parallel to surface. Used for thin films, interfaces, and surface structure. Geometry differs from standard Bragg geometry, but same principle applies. Bragg angle definition changes in GIXD.

How is crystal structure determined from Bragg's Law?

Measure 2θ positions of all observable peaks. Use indexing to assign (hkl) indices to each peak, deriving lattice parameter a. Compare peak positions to simulated patterns from crystal structure models. Intensities of peaks further constrain atomic positions (via structure factor calculations).

Bragg's Law is essential to modern crystallography. X-ray diffraction remains the gold standard for determining crystal structures—from drug molecules to minerals. Every pharmaceutical company, materials lab, and geology department uses Bragg's Law daily in structure determination and quality control.

Related Tools