The Williamson–Hall method is widely used in X-ray diffraction analysis to calculate crystallite size and microstrain by plotting βcosθ vs 4sinθ using peak broadening data. This interactive tool allows researchers to upload or paste FWHM and 2θ values and automatically generate linear fit, crystallite size, and strain results. Ideal for materials science students and nanotechnology researchers

Williamson–Hall Plot Generator — Size vs Strain

Upload peak list (2θ & FWHM) or paste CSV; get β·cosθ vs 4·sinθ, linear fit, strain & crystallite size.

Input either by CSV upload (2 columns: two_theta_deg,FWHM_deg) or paste/edit the table below. You can also set wavelength & K.

K factor (shape): (typical 0.89–0.94)
Output units for D:
CSV with header is accepted (e.g., two_theta_deg,FWHM_deg) or two columns without header.
No calculation yet.
Fit results
No results

How D is computed
Intercept (y₀) = K·λ / D → D = K·λ / intercept. Units: λ in Å → D in Å (convert to nm if selected).
Scroll to Top