The principles of x-ray and neutron diffraction have been described in this article. The use of diffraction pattern parameters in materials characterization is also summarized. The ideal diffraction pattern can be calculated using a standard computer program such as Lazy pulverix (1).