The CdS nanoparticles of different sizes are synthesized by a simple chemical method. Here, CdS nanoparticles are grown through the reaction of solution of different concentration of CdCl2 with H2S. X-ray diffraction pattern confirms nano nature of CdS and has been used to determine the size of particle. Optical absorption spectroscopy is used to measure the energy band gap of these nanomaterials by using Tauc relation. Energy band gap ranging between 3.12 eV to 2.47 eV have been obtained for the samples containing the nanoparticles in the range of 2.3 to 6.0 nm size. A correlation between the band gap and size of the nanoparticles is also established.