Headspace analysis of CO2 frequently has been used to quantify the concentration of CO2 in fresh water. According to basic chemical theory, not considering chemical equilibration of the carbonate system in the sample vials will result in a systematic error. By analysing the potential error for different types of water and experimental conditions, we show that the error incurred by headspace analysis of CO2 is less than 5 % for typical samples from boreal systems which have low alkalinity ( 1000 µatm). However, the simple headspace calculation can lead to high error (up to −300 %) or even impossibly negative values in highly undersaturated samples equilibrated with ambient air, unless the shift in carbonate equilibrium is explicitly considered. The precision of the method can be improved by lowering the headspace ratio and/or the equilibration temperature. We provide a convenient and direct method implemented in an R script or a JMP add-in to correct CO2 headspace results using separately measured alkalinity.