The present disclosure relates to a food preparation device. The device comprises a food preparation space, a heating element for heating a food in the food preparation space, and/or a tool for blending and/or chopping a food in the food preparation space. The device further comprises a spectrometer for analyzing a food associated with the device. The present disclosure further relates to a method for analyzing a food. In this way, a reproducible cooking result as well as an output of the nutritional values and the actual energy content of prepared food can be made possible.