Ionic character is primarily determined by the electronegativity difference between the bonded atoms. A larger electronegativity difference leads to a more ionic bond. Bonds between highly electropositive metals (Group 1 and 2) and highly electronegative non-metals (Group 16 and 17) are generally ionic.