Bragg's Law Calculator

Analyze crystal structures, lattice planes, and X-ray diffraction peaks using Bragg's Law. Solve for interplanar spacing (d), glancing angle (theta), wavelength (lambda), or cubic lattice parameters (a) with automated unit normalization and real-time ray-reflection diagrams.

Fundamentals of Bragg's Law in Modern Crystallography

Bragg's Law represents one of the most transformative discoveries in physical chemistry and solid-state physics. Formulated in 1913 by William Henry Bragg and his son William Lawrence Bragg, the law establishes the mathematical condition under which electromagnetic radiation scatters constructively from the periodically spaced atomic planes of a crystalline material. Their breakthrough demonstrated that X-rays have wavelengths on the order of interatomic distances (approximately 0.1 to 1 nanometer or 1 to 10 Angstroms), enabling scientists to treat crystals as three-dimensional diffraction gratings.

In analytical laboratories, Bragg's law forms the operational foundation of X-ray powder diffraction (XRD), single-crystal X-ray crystallography, transmission electron microscopy (TEM) selected area electron diffraction, and neutron diffraction. Whether characterizing synthetic pharmaceutical polymorphs, measuring residual stresses in aerospace alloys, or identifying minerals in geological strata, measuring diffraction angles allows direct calculation of internal atomic arrangements and plane geometries, principles often studied alongside our Cubic Cell Calculator.

Mathematical Derivation of Bragg's Equation

Consider a crystal lattice modeled as parallel stacks of atomic planes separated by a constant interplanar distance d. When a monochromatic, coherent beam of X-rays with wavelength lambda strikes these planes at a glancing grazing angle theta, individual waves scatter elastically off atoms located in consecutive atomic sheets.

n * lambda = 2 * d * sin(theta)

In this classic formula:

  • n: The order of diffraction, represented as a positive integer (n = 1, 2, 3...). In most standard powder XRD experiments, first-order reflection (n = 1) is evaluated.
  • lambda (λ): The wavelength of incident radiation, commonly measured in Angstroms (Å) or nanometers (nm). For standard copper X-ray tubes (Cu K-alpha radiation), lambda is precisely 1.54060 Å.
  • d: The perpendicular interplanar spacing between adjacent parallel crystallographic planes (hkl).
  • theta (θ): The glancing angle (Bragg angle) between the incident X-ray beam and the reflecting atomic planes. In experimental laboratory diffractometer scans, instruments record the total deviation angle, referred to as 2-theta (2θ).

The geometric derivation rests on the difference in path length traveled by waves reflecting from consecutive planes. A beam penetrating to the second layer must travel an additional distance before and after scattering equal to d * sin(theta) on entry plus d * sin(theta) on exit, giving a total extra path length of 2 * d * sin(theta). For the scattered waves to interfere constructively and generate a measurable high-intensity diffraction peak, this total path length difference must be an exact integer multiple of the incident wavelength (n * lambda). If the path difference departs from this integer multiple by even a tiny fraction, destructive interference extinguishes the scattered waves across the millions of participating lattice planes.

Relating Interplanar Spacing to Miller Indices and Lattice Parameters

In crystalline solids, atomic planes are indexed using three integers (h, k, l), known as Miller indices, which describe orientation relative to unit cell crystallographic axes. The perpendicular distance d between identical (hkl) planes depends on the unit cell dimensions and the crystal system symmetry, an indexing process explored in our Miller Indices Calculator.

1. Cubic Crystal Systems

For cubic crystals (simple cubic, body-centered cubic BCC, or face-centered cubic FCC), where cell edges are equal (a = b = c) and all interaxial angles are 90 degrees, the interplanar spacing simplifies to:

d = a / sqrt(h² + k² + l²)

Substituting this relationship directly into Bragg's law yields:

sin²(theta) = [lambda² / (4 * a²)] * (h² + k² + l²)

This equation illustrates that plotting sin²(theta) against the quadratic index sum (h² + k² + l²) gives a linear progression, allowing materials scientists to determine unit cell dimensions and calculate theoretical macroscopic crystal density using our Density of Unit Cell Calculator.

2. Tetragonal and Hexagonal Systems

For lower-symmetry systems, interplanar relationships incorporate additional lattice dimensions:

  • Tetragonal (a = b ≠ c): 1 / d² = (h² + k²) / a² + l² / c²
  • Orthorhombic (a ≠ b ≠ c): 1 / d² = h² / a² + k² / b² + l² / c²
  • Hexagonal: 1 / d² = (4 / 3) * [(h² + hk + k²) / a²] + l² / c²

Step-by-Step Practical Calculation Examples

Worked Example 1: Determining Interplanar Spacing (d) from Powder XRD Peak

A chemist analyzes a sample of rock salt (Halite, NaCl) using a laboratory diffractometer equipped with a standard copper target tube (Cu K-alpha, lambda = 1.5406 Å). A prominent first-order (n = 1) diffraction reflection occurs at a detector angle of 2θ = 31.70 degrees. Determine the interplanar spacing (d) corresponding to this atomic plane.

  1. Determine Glancing Bragg Angle θ:
    Instrument scans report 2θ. Therefore:
    θ = 2θ / 2 = 31.70° / 2 = 15.85°
  2. Calculate the Sine of θ:
    sin(15.85°) = 0.273138
  3. Apply Bragg's Law Solved for d:
    d = (n * lambda) / (2 * sin(theta))
    d = (1 * 1.5406 Å) / (2 * 0.273138)
    d = 1.5406 / 0.546276 = 2.8202 Å
  4. Unit Conversions:
    d = 0.28202 nm = 282.02 pm = 2.8202 x 10⁻¹⁰ m

Conclusion: The interplanar distance between the reflecting planes is 2.820 Å. For NaCl (FCC structure), this peak corresponds to reflection from the (200) family of planes.

Worked Example 2: Calculating the Cubic Unit Cell Edge (a)

Metallic copper crystallizes in a face-centered cubic (FCC) lattice. An XRD peak indexed to the (111) family of planes is observed at 2θ = 43.30 degrees using radiation with wavelength lambda = 1.5406 Å. Determine the interplanar spacing d(111) and the unit cell edge parameter a.

  1. Find Glancing Angle θ:
    θ = 43.30° / 2 = 21.65°
    sin(21.65°) = 0.368936
  2. Compute Interplanar Spacing d(111):
    d(111) = (1 * 1.5406 Å) / (2 * 0.368936) = 1.5406 / 0.737872 = 2.0879 Å
  3. Relate d to Cubic Lattice Parameter a:
    d = a / sqrt(h² + k² + l²)
    sqrt(1² + 1² + 1²) = sqrt(3) = 1.73205
    a = d * sqrt(3) = 2.0879 Å * 1.73205 = 3.6164 Å

Conclusion: The unit cell lattice parameter of metallic copper is 3.616 Å (0.3616 nm), closely matching accepted literature values (3.615 Å) and consistent with atomic radii determined through our Atomic Mass Calculator.

Standard X-Ray Emission Lines Used in Crystallography

Commercial laboratory X-ray tubes generate characteristic radiation when accelerated electrons collide with metal anodes. The table below lists common elemental sources, emitted wavelengths, and suitable analytical applications:

Anode Target Material Emission Line Wavelength (Å) Wavelength (nm) Primary Practical Applications
Copper (Cu) K-alpha (weighted) 1.54060 0.15406 Universal laboratory standard for powders and general solids
Molybdenum (Mo) K-alpha 0.71073 0.07107 Small-molecule single crystal XRD; minimizes absorption
Cobalt (Co) K-alpha 1.78901 0.17890 Iron-rich geological ores and steels (avoids Fe fluorescence)
Chromium (Cr) K-alpha 2.28970 0.22897 High residual stress analysis and large d-spacing materials
Silver (Ag) K-alpha 0.55941 0.05594 Pair distribution function (PDF) and high-energy penetration

Electron and Neutron Diffraction: De Broglie Wavelength Analogy

While Bragg's equation was originally derived for electromagnetic X-rays, Louis de Broglie showed in 1924 that matter possesses wave-like properties. Electrons accelerated through high potentials or thermalized neutrons behave as coherent wavepackets characterized by de Broglie wavelength:

lambda = h / p = h / sqrt(2 * m * E)

In transmission electron microscopy (TEM), electrons accelerated through 200 kV exhibit a relativistic wavelength of approximately 0.0251 Å (0.00251 nm), as modeled in our de Broglie Wavelength Calculator. Because this wavelength is significantly smaller than X-rays, Bragg diffraction angles for electrons are very small (typically θ < 2 degrees), causing Ewald spheres to approximate flat planes that yield quasi-two-dimensional cross-sections of reciprocal space.

Frequently Asked Questions (FAQ)

1. Why do laboratory diffractometers report 2θ instead of θ?
In a standard Bragg-Brentano diffractometer, the incident X-ray beam makes an angle θ with the sample surface, while the detector rotates around the sample to capture reflections. Because reflection alters beam direction by an angle θ relative to the sample plane, the total angular deviation between the unscattered primary beam and the diffracted beam is 2θ. Measuring 2θ directly from the instrument eliminates reliance on sample zero-tilt alignment.
2. What is the maximum theoretical interplanar spacing that can be measured?
According to Bragg's Law, sin(theta) = (n * lambda) / (2 * d). Because the sine function cannot exceed 1.0, diffraction is only observable when d >= (n * lambda) / 2. Conversely, for a given interplanar spacing d, the maximum measurable d-spacing at very small angles (approaching 0 degrees) is constrained by detector geometries and beam stops, typically limiting laboratory instruments to d-spacings smaller than approximately 100 Å.
3. Can Bragg's Law be applied to liquids and amorphous solids?
No. Bragg's Law relies on long-range periodic order across thousands of parallel atomic planes to cancel scattered waves by destructive interference at non-Bragg angles. Liquids, glasses, and amorphous polymers lack this periodic periodicity. Instead of sharp, narrow Bragg peaks, they produce broad, diffuse scattering halos that reflect short-range statistical pair correlations rather than distinct crystal planes.
4. What causes systematic absences (extinctions) in Bragg peaks?
Systematic absences occur when non-primitive lattice centerings (such as BCC, FCC, or base-centered) or symmetry operations with translational components (such as screw axes and glide planes) introduce intermediate planes of atoms that scatter exactly 180 degrees out of phase with adjacent layers. For example, in FCC crystals, reflections only appear when indices (h, k, l) are all even or all odd; mixed parity reflections cancel out completely.
5. What is the difference between glancing angle and angle of incidence?
In classical optics, the angle of incidence is measured relative to the normal (perpendicular) to the reflecting interface. In X-ray crystallography, the glancing angle (Bragg angle, θ) is defined relative to the parallel atomic planes themselves. Consequently, a glancing angle of θ = 15° corresponds to an optical incidence angle of 75° relative to the normal.
6. How does temperature affect Bragg diffraction peaks?
Increasing sample temperature expands the crystal lattice due to anharmonic interatomic vibrations, increasing interplanar spacing d. According to Bragg's law, as d increases, the Bragg angle θ shifts to smaller values (peaks shift left on a 2θ scale). Thermal motion also increases atomic displacement parameters, damping peak intensities at higher angles via the Debye-Waller factor.
7. Why do crystallographers prefer Angstroms (Å) over nanometers (nm)?
One Angstrom (10⁻¹⁰ meters) corresponds closely to typical chemical bond lengths (1 to 2 Å) and unit cell parameters (3 to 20 Å). Using Angstroms allows crystallographers to discuss dimensions using convenient numbers without excessive decimal places. In SI units, 1 Å equals 0.1 nm or 100 picometers (pm).
8. What information does peak broadening provide?
While peak position indicates interplanar spacing d, the peak's width at half-maximum (FWHM) reflects crystallite size and microscopic lattice strain. The Scherrer equation relates finite crystallite domain size (L) to peak broadening (beta): L = (K * lambda) / (beta * cos(theta)). Very small nanocrystals yield broad peaks, whereas macroscopic single crystals generate sharp reflections.
9. Why is copper K-alpha radiation commonly used in XRD?
Copper has a high thermal conductivity, allowing anodes to withstand intense electron bombardment without melting. The Cu K-alpha emission line (1.5406 Å) matches interplanar spacings in inorganic and organic crystals, balancing penetration depth and peak dispersion without excessive air absorption.
10. Can Bragg's Law determine atomic positions within the unit cell?
Bragg's law determines the geometry, size, and orientation of the lattice (d-spacing and unit cell volume), but not the specific placement of atoms within the cell. Atomic coordinates within the asymmetric unit determine the relative intensities of the peaks, governed by the structure factor F(hkl), which sums scattering contributions from all individual atoms in the unit cell.