I believe Magnesium has a 2+ oxidation number and chlorine has a 1- oxidation number. An oxidation number is a number that is assigned to an atom in a substance. It could be positive, negative, or zero, and it indicates if electrons are lost or gained. Oxidation number helps in keeping track of electrons in an atom.