A compound of two metals that has a distinct chemical formula. The bonds in intermetallic compounds are often partly ionic.