Here's how to understand the formula:
* K: Represents the potassium ion (K+), which has a +1 charge.
* HS: Represents the hydrogen sulfide ion (HS-), which has a -1 charge.
Since the charges balance out (1+ and 1-), the formula KHS accurately represents the compound.