The magnitude of these forces is directly proportional to boiling and melting points. In addition, molecular polarity affects solubility in that polar molecules are best solvated by polar solvent molecules and nonpolar molecules are best solvated by nonpolar solvent molecules; i.e., "like dissolves like".