Cooking appliance having a cooking compartment for cooking food to be cooked, an oxygen sensor, arranged in the cooking compartment, for determining a current signal curve of an oxygen concentration in the cooking compartment, a nitrogen sensor, arranged in the cooking compartment, for determining a current signal curve of a nitrogen concentration in the cooking compartment, a humidity sensor, arranged in the cooking compartment, for determining a current signal curve of a humidity concentration in the cooking compartment, a temperature sensor, arranged in the cooking compartment, for receiving a heating curve of the cooking compartment, a storage unit, in which a plurality of oxygen reference signal curves for the oxygen concentration in the cooking compartment, a plurality of nitrogen reference signal curves for the nitrogen concentration in the cooking compartment and a plurality of humidity reference signal curves for the humidity concentration in the cooking compartment are stored, and a control facility which is designed to determine a residual cooking time of the food to be cooked by means of a comparison of the determined current signal curves (AO, AN, AF) with the plurality of stored reference signal curves (R1- R3) and as a function of the recorded heating curve, and wherein the control facility is designed to record the signal curves (AO, AN, AF), determined by the sensors (8, 9, 10) during a cooking process carried out by a user, of the oxygen concentration, nitrogen concentration and humidity concentration in the cooking compartment and to store the recorded signal curves as reference signal curves (R1-R3) in the storage unit. a cooking compartment for cooking food to be cooked, an oxygen sensor, arranged in the cooking compartment, for determining a current signal curve of an oxygen concentration in the cooking compartment, a nitrogen sensor, arranged in the cooking compartment, for determining a current signal curve of a nitrogen concentration in the cooking compartment, a humidity sensor, arranged in the cooking compartment, for determining a current signal curve of a humidity concentration in the cooking compartment, a temperature sensor, arranged in the cooking compartment, for receiving a heating curve of the cooking compartment, a storage unit, in which a plurality of oxygen reference signal curves for the oxygen concentration in the cooking compartment, a plurality of nitrogen reference signal curves for the nitrogen concentration in the cooking compartment and a plurality of humidity reference signal curves for the humidity concentration in the cooking compartment are stored, and a control facility which is designed to determine a residual cooking time of the food to be cooked by means of a comparison of the determined current signal curves (AO, AN, AF) with the plurality of stored reference signal curves (R1- R3) and as a function of the recorded heating curve, and wherein the control facility is designed to record the signal curves (AO, AN, AF), determined by the sensors (8, 9, 10) during a cooking process carried out by a user, of the oxygen concentration, nitrogen concentration and humidity concentration in the cooking compartment and to store the recorded signal curves as reference signal curves (R1-R3) in the storage unit.