Calibration drift was studied in the automated on-line determination of calcium and magnesium by atomic absorption over periods of up to four hours. Automatic correlation for drift improved the precision of results.