Free Bragg's Law Calculator

nλ = 2d sin(θ) (Bragg's diffraction law)

Enter values, see result

What Is Bragg’s Law?

Bragg’s law, also known as the Bragg equation, describes the condition for constructive interference of X‑rays scattered by the periodic atomic planes in a crystal. This online Bragg’s law calculator acts as a dedicated crystal lattice calculator and X‑ray diffraction calculator: you can quickly compute the diffraction angle or interplanar spacing when the other parameters are known.

How Bragg’s Diffraction Works

When an X‑ray beam hits a crystalline sample, each atom scatters the incident radiation. The scattered waves interfere; where the path difference between rays reflected from adjacent lattice planes equals an integer multiple of the wavelength, a strong diffraction peak appears. The condition for such constructive interference is given by the Bragg equation:

nλ=2dsin⁡θn\lambda = 2d \sin\theta

where:

  • nn – a positive integer called the order of the reflection,
  • λ\lambda – the wavelength of the X‑rays (typically expressed in pm or Å),
  • dd – the interplanar spacing (distance between consecutive atomic layers),
  • θ\theta – the angle between the incident beam and the crystal plane (the Bragg angle).

Because the path difference must be a whole number of wavelengths, the order nn is limited by the ratio 2d/λ2d/\lambda. The maximum possible integer order is nmax⁡=⌊2d/λ⌋n_{\max} = \lfloor 2d/\lambda \rfloor.

Using the Calculator: A Worked Example

To see how the Bragg equation is applied, consider an X‑ray source with a wavelength of 120 pm and a crystal whose interplanar distance is 280 pm. The largest integer order is nmax⁡=⌊(2×280)/120⌋=4n_{\max} = \lfloor (2 \times 280) / 120 \rfloor = 4. The Bragg law gives the scattering angle for each order:

θ=arcsin⁡ ⁣(nλ2d)\theta = \arcsin\!\left(\frac{n\lambda}{2d}\right)

Substituting the numbers:

nnθ\theta (degrees)
1arcsin⁡(120/560)≈12.374∘\arcsin(120/560) \approx 12.374^\circ
2arcsin⁡(240/560)≈25.377∘\arcsin(240/560) \approx 25.377^\circ
3arcsin⁡(360/560)≈40.005∘\arcsin(360/560) \approx 40.005^\circ
4arcsin⁡(480/560)≈58.997∘\arcsin(480/560) \approx 58.997^\circ

These four angles correspond to the observable diffraction maxima. The calculator can compute any of these unknowns—given nn, dd, and λ\lambda it returns θ\theta, or given θ\theta and λ\lambda it solves for dd.

Practical Applications of Bragg’s Law

Bragg’s diffraction law is a cornerstone of X‑ray crystallography. Scientists use it to determine the atomic structure of materials ranging from simple metals (e.g., body‑centered cubic chromium) to complex biological macromolecules. The technique was instrumental in solving the double‑helix structure of DNA. Beyond X‑rays, the same principle applies to electron diffraction in transmission electron microscopy (TEM), where electrons are treated as matter waves (de Broglie relation). In the electron case, the wavelength depends on the electron momentum, but the Bragg condition nλ=2dsin⁡θn\lambda = 2d\sin\theta remains valid, allowing the study of crystal lattices at the nanoscale.

Whether you are a student learning crystallography or a researcher characterizing a new material, this online Bragg’s law calculator simplifies the routine evaluation of the Bragg equation and helps you convert between diffraction angles and lattice spacings.

FAQ

1. How can I use the Bragg's law calculator to find the diffraction angle?

Enter the order n, the X-ray wavelength λ, and the interplanar spacing d. The calculator applies the relation θ = arcsin(nλ/(2d)) and returns the Bragg angle in degrees.

2. What is the maximum diffraction order for a given crystal?

The order n is limited by 2d/λ. Only integer values less than or equal to 2d/λ are possible. For example, if d=280 pm and λ=120 pm, n can be 1, 2, 3, or 4.

3. Can the calculator also determine the interplanar spacing d?

Yes. If you provide the wavelength λ, the diffraction order n, and the Bragg angle θ, the calculator solves d = nλ/(2 sinθ).

4. What are the main practical applications of Bragg's law?

It is the core principle of X-ray crystallography, used to determine atomic structures of materials ranging from simple metals to complex biological molecules like DNA. It also applies to electron diffraction in techniques such as TEM.

How to Use

  1. Select which variable to solve for using the dropdown.
  2. Enter the remaining three known values with their units.
  3. The result is calculated automatically using nλ = 2d sin(θ).