# What is the ionic compound formula of magnesium nitrate?

Magnesium Nitrate is an ionic compound formed by Magnesium $M {g}^{+} 2$ the cation and Nitrate $N {O}_{3}^{-}$ the polyatomic anion.
In order for these two ions to bond the charges must be equal and opposite. Therefore, it will take two -1 nitrate ions to balance the one +2 magnesium ion. This will make the formula for Magnesium Nitrate $M g {\left(N {O}_{3}\right)}_{2}$.