thumb|160px|right|Polystyrene sulfonate, a [[cation-exchange resin, is typically supplied with as the counterion.]]
thumb|160px|right|Polystyrene sulfonate, a [[cation-exchange resin, is typically supplied with as the counterion.]]
In chemistry, a counterion (sometimes written as "counter ion", pronounced as such) is the ion that accompanies an ionic species in order to maintain electric neutrality. In table salt (NaCl, also known as sodium chloride) the sodium ion (positively charged) is the counterion for the chloride ion (negatively charged) and vice versa.
Discovered by embedding cosine similarity (sentence-transformers MiniLM, 384-dim).