When dissolved in polar solvents, one magnesium fluoride molecule dissociates into one magnesium cation and two fluoride anions. This equilibrium reaction can be represented as follows.
MgF2 ⇌ Mg2+ + 2F–
Therefore, the solubility product constant can be expressed as:
Ksp = [Mg2+][F–]2