A device (100) for measuring the glucose level in a living body comprises an electrode arrangement (5, 6) to be applied to a surface of the body. The glucose level is derived from the response of the electrode arrangement (5, 6) to an electrical signal. Two temperature sensors (15, 22) are arranged at different positions within the device (100), the signals of which are used during calibration and measurements to improve the accuracy of the device. Techniques for compensating shifts caused by a displacement of the device are applied.