Here's how it's determined:
* Tin is a metal with the symbol Sn.
* Sulfate is a polyatomic ion with the formula SO₄²⁻.
Since tin has a +2 charge (Sn²⁺) and sulfate has a -2 charge (SO₄²⁻), the charges balance out, resulting in the formula SnSO₄.