Recently, ionic liquids as a new group of solvent have successfully showed high capacity for applications in chemical engineering industries because of their desirable properties so knowledge of their properties such refractive indices of the binary system of alcohols and ionic liquids have high importance. This paper presents predictive tool based Least Squares Support Vector Machine optimized by Particle swarm optimization to determined refractive index of this binary system. In order to prepare the mentioned algorithm, a comprehensive databank contains 688 experimental refractive indices of the binary system of different alcohols and ionic liquids is used. The developed method shows satisfying results based on statistical and graphical comparisons. Furthermore the effects of different inputs on refractive index term has been investigated by a novel sensitivity analysis.