Here's how to determine the formula:
1. Identify the charges:
* Potassium (K) is in Group 1 of the periodic table and forms a +1 ion (K⁺).
* Chlorine (Cl) is in Group 17 and forms a -1 ion (Cl⁻).
2. Balance the charges: Since the charges are already equal and opposite, we need one potassium ion (K⁺) and one chloride ion (Cl⁻) to achieve a neutral compound.
3. Write the formula: The formula for the compound is KCl.