Naresh Varnakavi, Ph.D.MATERIALS SCIENTIST
← All Tools

RESEARCH TOOLS / X-RAY DIFFRACTION

XRD d-Spacing & Crystallinity Calculators

Calculate XRD interplanar spacing (d-spacing or d-value), diffraction angle, or wavelength using Bragg’s law. Estimate crystallinity percentage from crystalline and total integrated areas. Enter your values below to get results in your browser.

Read the XRD discussion & view the presentation

Part of the Tools collection

CALCULATE / X-RAY DIFFRACTION

Enter your values. Instant results.

Enter known quantities below. Calculations run in your browser and update automatically.

01 / BRAGG’S LAW

d-spacing & diffraction angle

Calculate interplanar spacing, peak position, or wavelength from nλ = 2d sin θ.

Default: Cu Kα₁ ≈ 1.5406 Å (0.15406 nm). Use the wavelength recorded for your measurement.

Enter the XRD peak position 2θ, not θ. The calculator halves it before evaluating the sine.

n is a positive whole number, usually 1 for an indexed XRD reflection.

Interplanar spacing d

—

Enter the known values to calculate the result.

1 nm = 10 Å. Length values convert automatically when you change units. d-spacing is the separation of the diffracting planes; it is not automatically a unit-cell lattice parameter.

Method: IUCr · Bragg’s law ↗
Comments & suggestions

Help improve XRD: Bragg’s law and d-spacing. Feedback is public and requires a GitHub account to post.

Leave feedback on GitHub
02 / PEAK-AREA INTEGRATION

Degree of crystallinity

Estimate the crystalline contribution from integrated areas of a separated XRD pattern.

Use areas from the same 2θ range, with consistent intensity × angle units. Aₜ = Ac + Aₐ after background treatment.

Xc = 100 × Ac / Aₜ

Estimated crystallinity Xc

—

Enter both integrated areas to calculate crystallinity.

How to obtain the areas
  1. Choose the same diffraction-angle range for all integrations and apply a consistent background treatment.
  2. Separate the crystalline peaks from the broad amorphous contribution using an appropriate fitting or integration method.
  3. Enter the sum of crystalline peak areas, then either the total corrected area or the amorphous area.

A single peak position or peak height cannot determine the crystallinity of a pattern.

This is an approximate area-based index, not a calibrated crystalline mass fraction. Background selection, peak/halo separation, preferred orientation, composition, and the selected 2θ range affect the estimate.

Integration method: University of Utah MCL ↗
Comments & suggestions

Help improve XRD: crystallinity by integrated area. Feedback is public and requires a GitHub account to post.

Leave feedback on GitHub

Crystallinity: what do Ac and At mean?

A sharp peak sits on top of the broad amorphous signal. We separate these contributions and integrate their areas over the same 2θ range.

Illustrative XRD pattern: green crystalline peak areas Ac plus gold amorphous halo area Aa make total area At. Background has been removed.
Illustrative pattern · tap to enlarge

At = total area. Add the green crystalline regions and the gold amorphous region, after background correction.

Ac
Crystalline area: the sum of all separated crystalline peak areas. In this example, Ac = 60.
Aa
Amorphous area: the area of the broad fitted halo. In this example, Aa = 40.
At
Total area: crystalline + amorphous, so At = 60 + 40 = 100.
Illustrated areas: Ac = 60, Aa = 40, At = 100 (a.u.)60 / 100 × 100 = 60% crystalline

The zero baseline here is after background subtraction. The dashed curve separates the fitted amorphous contribution from the crystalline peaks. Peak height is not peak area.