What Is The Molecular Formula For Magnesium Sulfide?

The molecular formula for magnesium sulfide is MgS. This indicates that the compound is composed of one magnesium atom bonded to one sulfur atom. The subscripts in the formula indicate the number of atoms of each element in the molecule. In this case, there is one magnesium atom and one sulfur atom, so the subscript for both elements is 1.