An arterial blood gas (ABG) analysis assesses a patient's acid-base status, oxygenation, and ventilation. It measures pH, partial pressures of oxygen and carbon dioxide, and calculates bicarbonate and oxygen saturation. ABG interpretation first identifies acidemia or alkalemia and then uses carbon dioxide and bicarbonate levels to determine if the primary disturbance is respiratory or metabolic, and whether compensation has occurred. Abnormal values are then evaluated in context of the patient's history and physical exam.