The compton scattering of solution is a very meaningful aspect. On the basis of the Compton scattering of NaCl and KCl solution, we analyzed the relation expression between the Compton scattering photon number and the concentration of the solutions in theory by processing certain rational approximation, and then verified it through Compton scattering experiments. In order to grasp the micro-mechanism of Compton scattering of NaCl and KCl solution, we deeply analyzed the electronic structure of NaCl and KCl solutions according to the density functional theory. It is concluded that the factors influencing the Compton scattering photon number include electron number density, electron bound of scatterer, mass density, concentration of solutions and scattering attenuation coefficient, among which electron number density is the main factor.