The anion gap test measures anion gap (sometimes called serum anion gap) or how much acid is in your blood. Acid levels that are higher or lower than normal can tip your doctor off to a health problem ...