The Ultimate Cheat Sheet on include potassium in anion gap
https://anion-gap-chart190.image-perth.org/how-to-calculate-anion-gap
Use this anion gap calculator for emesis to swiftly assess high anion gap metabolic acidosis, electrolyte disorder, and acid–base imbalances