A coffee roasting apparatus (100) is disclosed that comprises a compartment (110) for holding coffee beans (10); a roasting element (140) for roasting the coffee beans in said compartment; a controller (130) for controlling the roasting element; and a sensor (120) for monitoring a total amount of VOCs (volatile organic compounds) released by said coffee beans during roasting and providing the controller with an indication of said monitored amount. The controller is adapted to receive an indication of the total weight of the coffee beans in the compartment and control the roasting element as a function of the indication of the monitored total amount and the indication of the total weight, said function defining the total VOC release characteristics of said coffee beans during roasting. A coffee brewing apparatus and coffee roasting method are also disclosed.