The synthesis of AgNPs and the effect of variation of pH from 4 to 9 on the formation of AgNPs were studied using PerkinElmer Lamda 35 UV–visible spectrophotometer. The pH was varied by the addition of 0.1 M sulfuric acid in the acidic region and 0.1 M sodium hydroxide solution in the basic region. For the analysis, 0.3 ml of AgNPs was taken in a cuvette and diluted by 2 ml of distilled water.