Intermolecular force also influence solubility.A qualitative observation you have perhaps made yourself is that like dissolves like.That is,polar molecules are likely to dissolve in a polar solvent,and nonpolar molecules are likely to dissolve in a nonpolar solvent.The converse is also true;that is,it is unlikely that polar molecules will dissolve in nonpolar solvents or that nonpolar molecules will dissolve in polar solvents.