Unlike the less expensive sodium salt, potassium salt is mainly used for laboratory work in situations where an anhydrous salt is required. It is as an oxidizing agent in organic synthesis. It is used as in qualitative inorganic analysis, e.g. as a colorimetric test for silver ion. It is also used as an indicator in precipitation titrations with silver nitrate and sodium chloride (they can be used as standard as well as titrant for each other) as potassium chromate turns red in the presence of excess of silver ions.