Margarine fat is transesterified to form the ethyl esters of the fatty acids. The reaction mixture is examined by temperature-programmed gas chromatography and the amount of butter fat calculated from the ethyl butyrate formed.