Sulphate gained 2 electrons to complete its octet, indicating a valency of 2. As a result, the valency of SO4 is 2.