From experiment, we can find the contamination from graph to the test by UV-VIS spectrophotometer the graph of Iron(III) standard and Iron(III) sample graphs of the two compounds were compared to see the difference of the graph. The graph to the test by UV-VIS spectrophotometer the graph nickel(II) nitrate standard and nickel(II) nitrate sample.