Here's how to determine this:
* Potassium (K) is in group 1 of the periodic table, meaning it has a +1 charge as an ion (K⁺).
* Nitrogen (N) is in group 15, and typically has a -3 charge as an ion (N³⁻).
To form a neutral compound, you need three potassium ions (3 × +1 = +3) to balance the charge of one nitrogen ion (-3).