Calcady
Home / Scientific / Bragg's Law Calculator

Bragg's Law Calculator

Calculate X-ray diffraction angles, d-spacing between crystal lattice planes, and wavelength using Bragg's Law: nλ = 2d·sin(θ). Includes Miller index d-spacing formulas, common crystal reference table, and SAXS vs WAXS guidance.

Reverse-engineer the microscopic geometric spacing of crystal lattices by analyzing macroscopic angle wave reflections.

Usually 1 for highest intensity peak

nm
nm

Crystalline Analysis

Resolved Diffraction Angle (θ)

22.6437
° (Degrees)

Calculated Balance State

nλ = 2d • sin(θ)

Email LinkText/SMSWhatsApp

Quick Answer: How do you use Bragg’s Law?

nλ = 2d·sin(θ) — solve for any variable: d = nλ / (2 sinθ), θ = arcsin(nλ / 2d), λ = 2d sinθ / n. Critical: XRD instruments report — always divide by 2 before using in Bragg’s Law. Most lab XRD uses Cu Kα = 1.5406 Å. Example: Si(111) peak at 2θ = 28.44°, Cu Kα: d = 1.5406 / (2 × sin(14.22°)) = 3.135 Å. Unit cell: a = d × √3 = 5.431 Å (matches known silicon a = 5.4309 Å).

Common Crystal d-Spacings & XRD Peak Positions (Cu Kα = 1.5406 Å)

Reference table for identifying unknown crystal phases from diffractogram peak positions. The 2θ values assume Cu Kα radiation and n=1. These are the most intense (lowest-order) reflections for each material.

Material Crystal System Plane (hkl) d-spacing (Å) 2θ (Cu Kα)
Silicon (Si)Cubic (FCC diamond)(111)3.13528.44°
Aluminum (Al)Cubic (FCC)(111)2.33838.47°
Iron α-FeCubic (BCC)(110)2.02744.67°
Gold (Au)Cubic (FCC)(111)2.35538.18°
NaCl (Halite)Cubic (FCC)(200)2.82031.70°
Calcite (CaCO&sub3;)Trigonal / Rhombohedral(104)3.03529.41°
Quartz (SiO&sub2;)Hexagonal(100)4.25520.86°
Copper (Cu)Cubic (FCC)(111)2.08743.30°
All 2θ values computed using nλ = 2d sinθ with λ = 1.5406 Å (Cu Kα1). For Mo Kα (λ = 0.7107 Å), angles are approximately half as large. Peaks shift with temperature due to thermal expansion of lattice parameter a. d-spacings from ICDD PDF database and published crystallographic data.

Pro Tips & Common Bragg’s Law Mistakes

Do This

  • Always verify that your X-ray wavelength and d-spacing units match — both must be in Ångströms OR both in nm, never mixed. The most common unit in XRD is the Ångström (1 Å = 0.1 nm = 10⊃⁻¹º m). Cu Kα is 1.5406 Å = 0.15406 nm. A silicon (111) d-spacing is 3.135 Å = 0.3135 nm. If you enter λ in nm and d in Å (or vice versa), your calculated 2θ will be wrong by a factor of 10 in the sin argument. Always confirm: nλ and 2d must have the same unit for the ratio to yield a dimensionless sin(θ). Running a quick sanity check against a known peak (e.g., silicon 28.44°, quartz 20.86°) before analyzing unknown peaks is standard laboratory practice.
  • Use silicon or LaB&sub6; as an internal standard to correct for instrumental aberrations (zero-angle offset, sample displacement) before drawing conclusions from measured 2θ peaks. Laboratory diffractometers have systematic errors: the sample may not be on the true focal axis (sample displacement error), or the goniometer’s zero may be off by 0.01–0.10°. For precision lattice parameter determination, these errors matter. Adding NIST-certified silicon powder (SRM 640) or lanthanum hexaboride (SRM 660) as an internal standard to your sample provides a built-in ruler: shift all measured 2θ peaks by the offset observed in the standard’s peaks. Typical silicon (111) peak at 28.444° ± 0.001° is the reference. If your instrument measures it at 28.40°, apply +0.044° correction to all your sample peaks.

Avoid This

  • Don't use the full 2θ value from a diffractogram directly in Bragg’s Law — divide by 2 first to get the Bragg angle θ. XRD instruments scan and report in 2θ (the total scattering angle, which is twice the actual incidence angle). The Bragg equation uses θ (the half-angle). Example error: a peak at 2θ=44.67° (iron 110). Using 44.67° directly: d = 1.5406 / (2 × sin(44.67°)) = 1.5406 / (2 × 0.7030) = 1.095 Å (WRONG). Using θ=22.33°: d = 1.5406 / (2 × sin(22.33°)) = 1.5406 / (2 × 0.3798) = 2.027 Å (CORRECT, matches α-Fe d&sub1;&sub1;&sub0;). This 2θ/θ confusion is the single most common error in student XRD calculations.
  • Don't expect Bragg’s Law alone to give crystal structure — it only gives d-spacings; you still need systematic absence analysis and peak intensities to determine the full structure. Bragg’s Law calculates d-spacings from peak positions, but d-spacings alone cannot distinguish all crystal structures. Two different materials may have very similar or accidentally coincident d-spacings. Full structure determination requires: (1) d-spacing (position), (2) relative peak intensities (structure factor F, which depends on atom types and positions within the unit cell), (3) systematic absence patterns (which reflections are missing, indicating lattice centering and space group symmetry). The Rietveld refinement method fits observed XRD patterns to calculated patterns from a proposed structural model, refining atomic positions, site occupancies, and thermal displacement parameters. Bragg’s Law provides the backbone; full crystallographic analysis layered on top determines actual atomic coordinates.

Frequently Asked Questions

Why do X-ray diffractograms plot 2θ instead of θ?

In a θ–2θ diffractometer (Bragg-Brentano geometry), the X-ray source is fixed, the sample rotates at angle θ from horizontal, and the detector is positioned at 2θ from the incident beam on the other side. When the sample angle is θ, the detector angle is automatically 2θ (the total deflection of the beam). Recording as 2θ is purely instrumental convention — the detector positions are measured as 2θ, so that’s what instruments record. To use Bragg’s Law (which contains sinθ, not sin2θ): always halve the reported 2θ value. For a reported peak at 2θ = 38.47°, the Bragg angle is θ = 19.235°, and d = 1.5406 / (2 × sin(19.235°)) = 2.338 Å (aluminum 111 plane). The 2θ convention is universal across all commercial powder diffractometers.

What are Miller indices and how do they relate to d-spacing?

Miller indices (h, k, l) are the reciprocals of the fractional intercepts of a crystal plane with the unit cell axes, rounded to integers. The (100) plane is parallel to b and c axes and intersects only the a axis. The (111) plane cuts all three axes at 1. Key d-spacing patterns for cubic crystals (d = a/√(h²+k²+l²)): (100): d=a; (110): d=a/√2=0.707a; (111): d=a/√3=0.577a; (200): d=a/2=0.500a; (220): d=a/√8=0.354a. Higher Miller index planes have smaller d-spacings and appear at larger 2θ angles. Systematic absences occur when the structure factor for a given (hkl) plane is zero due to destructive interference from atoms in centered positions: FCC lattices only show peaks for h,k,l all odd or all even; BCC lattices only show peaks for h+k+l = even. These patterns allow crystallographers to identify the lattice type from the absence pattern alone.

How was Bragg’s Law used to discover the structure of DNA?

In 1952, Rosalind Franklin and Raymond Gosling at King’s College London captured “Photo 51” — an X-ray diffraction image of DNA fiber in B-form. The pattern showed: a large X-shaped pattern (characteristic of a helical structure, arising from diffraction by repeating diagonal planes of the helix) and specific d-spacings: the meridional reflection at d ≈ 3.4 Å (corresponding to the base-pair stacking distance, 2θ ≈ 26.5° with Cu Kα) and the layer line spacing revealing a helix pitch of 34 Å per complete turn. The absence of a reflection at the 4th layer line indicated the helix contained 10 base pairs per turn with the phosphate backbone on the outside. Watson and Crick used Franklin’s d-spacing data (combined with Chargaff’s base-pairing ratios) to fit a structural model that placed AT and GC base pairs in the interior, yielding the double helix. The 1962 Nobel Prize was awarded to Watson, Crick, and Wilkins (Franklin had died in 1958).

What is the difference between SAXS and WAXS?

SAXS (Small-Angle X-ray Scattering): 2θ < 5°, probes d-spacings of 1–60 nm. Used for: nanoparticle size and shape, polymer chain conformation and spacing, protein quaternary structure (size, shape in solution), lamellar repeat spacing in block copolymers. Bragg’s Law applies: at 2θ=1° with Cu Kα, d = 1.5406/(2 × sin(0.5°)) ≈ 88 Å = 8.8 nm. WAXS (Wide-Angle X-ray Scattering) / Conventional XRD: 2θ = 5°–160°, probes d-spacings of 0.5–15 Å. Used for: crystal identification, unit cell parameters, crystallite size (Scherrer equation: size = Kλ/(FWHM × cosθ)), phase quantification (Rietveld), residual stress analysis. Why different setups: SAXS requires a much longer sample-to-detector distance (often 1–10 m) and a high-brilliance source to separate the very small angular differences near the direct beam. WAXS uses a compact goniometer at standard laboratory scale. Synchrotron facilities offer simultaneous SAXS/WAXS measurements for complete structural characterization from nano to atomic scale.

Related Calculators