Home · Science · Optics · Bragg's Law Calculator

Bragg's Law Calculator

Find the wavelength that a crystal plane spacing reflects at a given angle and diffraction order, using Bragg's law λ = 2d·sinθ/n.

Your figures

Example result — edit the figures to make it yours

0 m

Wavelength

Computed from the inputs on this page with the formula below — change any figure and every result updates.

Wavelength0.1035 nm

What this calculator does

Find the wavelength that a crystal plane spacing reflects at a given angle and diffraction order, using Bragg's law λ = 2d·sinθ/n. Where a measure is involved, US and metric units are both accepted — flip the unit toggle and the figures convert with the same definitions the formula uses. Every result on this page is computed from the formula stated below, with no hidden rounding steps.

The formula and method

λ = 2 · d · sinθ / n

θ is the glancing angle between the ray and the crystal planes (not the surface normal), entered in degrees.

d is the spacing between atomic planes; SI metres are used, with the result also shown in nanometres.

Worked example

With the example inputs this page opens with (plane spacing d (m) 2e-10, glancing angle θ (degrees) 15, diffraction order n 1), the result is 0.000000 m — wavelength. Computed from the inputs on this page with the formula below — change any figure and every result updates.

Quick reference

Quick reference — varying plane spacing d (m)
Plane spacing d (m)Wavelength
00.000000 m
00.000000 m
00.000000 m
00.000000 m
00.000000 m
00.000000 m

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

Why is Bragg's law used with X-rays?

X-ray wavelengths (~0.1 nm) match atomic plane spacings, so crystals act as natural diffraction gratings that reveal their structure.

What does the order n mean?

Higher orders are reflections where the path difference is n whole wavelengths; they appear at larger angles for the same wavelength.

How does the Bragg's Law Calculator work?

Find the wavelength that a crystal plane spacing reflects at a given angle and diffraction order, using Bragg's law λ = 2d·sinθ/n. Plane spacing · Angle · Order → Wavelength. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the Bragg's Law Calculator need?

Plane spacing · Angle · Order → Wavelength. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.