Skip to content
FiftyCalc Free calculators for all 50 states

Bragg's Law Calculator

Test cases replayed : 3 of 3 match · Methodology · No outside source listed

Bragg's law links the spacing of crystal planes with the angle at which X-rays reflect strongly. Choose the unknown and enter the rest.

Result

Sample figures

Answer—

Plane spacing d (nm) —

  • Wavelength λ (nm)—
  • Bragg angle θ (degrees)—
  • Diffraction angle 2θ (degrees)—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Bragg's Law Calculator

Find

Find: choose Lattice spacing d, Wavelength λ or Bragg angle θ. Prefilled example: Lattice spacing d.

Order of reflection n: enter 1 or more. Prefilled example: 1.

Wavelength λ, in nm: enter 0 or more. Prefilled example: 0.15406.

Bragg angle θ, in °: enter a number from 0 to 90. Prefilled example: 19.2.

Plane spacing d, in nm: enter 0 or more. Prefilled example: 0.2338.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Find: choose Lattice spacing d, Wavelength λ or Bragg angle θ.
  2. Order of reflection n: enter 1 or more.
  3. Wavelength λ, in nm: enter 0 or more.
  4. Bragg angle θ, in °: enter a number from 0 to 90.
  5. Plane spacing d, in nm: enter 0 or more.
  6. Read the result: Answer; the panel also shows Plane spacing d (nm), Wavelength λ (nm), Bragg angle θ (degrees) and Diffraction angle 2θ (degrees).

How this calculator works

Bragg's law (W. H. and W. L. Bragg, 1913): n × λ = 2 × d × sin θ, with n the order, λ the X-ray wavelength, d the spacing of the crystal planes and θ the angle between the beam and the planes. Diffractometers report 2θ.

Copper Kα₁ radiation, the most common laboratory source, has λ = 0.15406 nm. If n × λ > 2d, no reflection of that order exists and the angle shows as —.

The formula

  1. Dd={n×λ2×sin⁡(rad⁡(th))if m=1dotherwise
  2. Ll={2×d×sin⁡(rad⁡(th))nif m=2λotherwise
  3. Tt={deg⁡(asin⁡(n×λ2×d))if m=3thotherwise
  4. Ans={Ddif m=1Llif m=2Ttotherwise
Symbols used in the formula
SymbolMeaningUnit
mFind (1: Lattice spacing d; 2: Wavelength λ; 3: Bragg angle θ)
nOrder of reflection n
λWavelength λnm
thBragg angle θ°
dPlane spacing dnm
DdPlane spacing dnm
LlWavelength λnm
TtBragg angle θdegrees
AnsAnswer
rad(x)the angle x, converted from degrees to radians.
deg(x)the angle x, converted from radians to degrees.

Worked example

FindLattice spacing d
Order of reflection n1
Wavelength λ0.15406 nm
Bragg angle θ19.2 °
Plane spacing d0.2338 nm
Plane spacing d (nm)0.2342
Diffraction angle 2θ (degrees)38.40
  1. Dd=1×0.154062×sin⁡(rad⁡(19.2))=0.234229
  2. Ll=0.15406
  3. Tt=19.2
  4. Ans=0.234229

Answer 0.2342

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

What spacing gives a peak at θ = 19.2° with Cu Kα?

d = 0.15406 ÷ (2 × sin 19.2°) ≈ 0.2342 nm.

Why do diffraction patterns use 2θ?

The detector sits at twice the Bragg angle from the incoming beam, so instruments scan in 2θ.

Related calculators