What is the sum of all charges in the formula for an ionic compound?

0

–1

+1

The sum of all charges in the formula for an ionic compound should be equal to 0. This is because the charges of the cations and anions must balance out to create a neutral compound.