Current research is a computational study on optical properties of Ag doped CdS based on the Perdew-Burke-Ernzerhof parameterized generalized gradient approximations. Observing change in optical properties under various concentrations on CdS:Ag system, by fixing supercell size is a focus of study using density functional theory. Computational formulation is done by substitution of Cd atoms with Ag atoms in host CdS lattice. Results reveal that optical properties are enhanced upon increasing dopant concentration. Optical absorption shows blueshift and increases in visible region. Coupling of S p and Ag s states are obvious from plots of density of states. However, Ag doping brings significant change in optical properties which may lead towards advocacy of CdS for optoelectronic devices.