Cadmium sulfide (CdS) doped with different concentrations of Ni (2, 4, 6, 8, and 10 %) nanoparticles have been synthesized by chemical co-precipitation method. X-ray diffraction (XRD) studies confirm the crystalline nature of Ni doped CdS nanoparticles had a hexagonal wurtzite structure. Williamson-Hall (W–H), Size-Strain Plot (SSP), and Halder-Wagner (H–W) methods have been used to investigate the average particle size, lattice strain, stress, and energy density from the XRD peak broadening analysis. In W–H method, the models of uniform deformation, uniform deformation stress, and uniform deformation energy density have been implemented to determine the elastic parameters.