How to use this calculator
Solve for an X-ray wavelength from crystal-plane spacing, Bragg angle, and diffraction order.
- Enter Crystal-plane spacing d (nm), Bragg angle θ (degrees from planes), Diffraction order m. Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
How this calculation works
Bragg diffraction occurs when reflections from successive crystal planes reinforce one another. With the angle measured from the planes, the path difference is twice the plane spacing multiplied by the sine of that angle. This calculator solves the Bragg condition for wavelength and reports both nanometers and ångströms.
Inputs and units
d— Crystal-plane spacing d (nm)- Distance between the selected parallel crystal planes, in nanometers.
theta— Bragg angle θ (degrees from planes)- Angle between the incident beam and the crystal planes, following the Bragg convention.
order— Diffraction order m- Positive integer order of the Bragg maximum.
Formula
mλ = 2d sin θ; λ = 2d sin θ/m, where θ is measured from the crystal planes.
Method
Convert the entered angle from degrees to radians, evaluate the path difference 2d sin θ, and divide by the positive diffraction order m. The output uses the same length unit as the entered plane spacing.
Worked example
For d = 0.252 nm, θ = 18.1°, and first order m = 1, Bragg's law gives λ = 0.1566 nm (1.566 Å).
Assumptions and limits
This is the ideal Bragg condition for a single family of equally spaced planes and elastic scattering. It does not identify a crystal structure, correct for instrument geometry, or account for refraction and peak broadening.
Frequently asked questions
Why is the plane spacing multiplied by two?
The two rays reflected from adjacent planes travel an extra distance on entry and exit, giving the path difference 2d sin θ.
Is the angle measured from the surface normal?
No. Here θ is measured from the crystal planes, as in the Bragg diffraction convention.
Can every positive order produce a physical wavelength?
The equation returns a wavelength for each positive order, but the observed reflection also depends on the crystal structure, allowed reflections, and instrument conditions.
How do I use the Bragg Law X-Ray Wavelength Calculator?
Enter Crystal-plane spacing d (nm), Bragg angle θ (degrees from planes), Diffraction order m. Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Bragg Law X-Ray Wavelength?
For d = 0.252 nm, θ = 18.1°, and first order m = 1, Bragg's law gives λ = 0.1566 nm (1.566 Å).
Reference: OpenStax University Physics X-ray diffraction and Bragg law. See our calculation methodology.