The invention relates to a method for determining the residual time until a cooking process of a foodstuff (12) has been finished. At first a set temperature value for a core (14) of the foodstuff (12) is defined. Next the actual temperatures in the core (14) of the foodstuff (12) at predetermined times are measured and the time dependence of the measured temperature in the core (14) of the foodstuff (12) is determined. At last the time dependence of the measured temperature is compared with the set temperature value and “the residual time of the cooking process is estimated. The invention relates further to a corresponding apparatus for determining the residual time until a cooking process of a foodstuff (12) has been finished.