The correct formula for the binary ionic compound formed between magnesium and chlorine is MgCl2. This is because magnesium has a +2 charge (since it is in Group 2A), and chlorine has a -1 charge (since it is in Group 7A). Therefore, two chloride ions are required to balance the charge of one magnesium ion, resulting in the formula MgCl2.