A measurement device comprising: - a casing (2; 102; 202), - a magnetic object (4; 104; 204) being arranged within the casing (2; 102; 202) such that it is rotatable out of an equilibrium orientation if an external magnetic torque is acting on the magnetic object (4; 104; 204), - a restoring torque unit (3; 103; 203) being adapted to provide a restoring torque to force the magnetic object (4; 104; 204) back into the equilibrium orientation if an external magnetic torque has rotated the magnetic object (4; 104; 204) out of the equilibrium orientation, in order to allow for a rotational oscillation of the magnetic object (4; 104; 204), which is excited by the external magnetic torque, with a resonant frequency, characterized in that the restoring torque unit (3; 103; 203) comprises a further magnetic object (3; 103; 203) for generating a magnetic field at the position of the magnetic object (4; 104; 204) such that it provides the restoring torque, and - a measurement element (5, 6; 8; 113; 213) being adapted to modify the resonant frequency depending a) on the temperature and/or b) on another physical or chemical quantity being a pressure or a presence of an organic solvent, wherein, if the measurement element (8; 113; 213) is adapted to modify the resonant frequency depending on the other physical or chemical quantity, the measurement device comprises a compensation element which is adapted to modify the resonant frequency in a first frequency direction depending on a temperature change which is opposite to a second frequency direction in which the measurement device would modify the resonant frequency, depending on the temperature change, if the compensation element were not part of the measurement device. - a casing (2; 102; 202), - a magnetic object (4; 104; 204) being arranged within the casing (2; 102; 202) such that it is rotatable out of an equilibrium orientation if an external magnetic torque is acting on the magnetic object (4; 104; 204), - a restoring torque unit (3; 103; 203) being adapted to provide a restoring torque to force the magnetic object (4; 104; 204) back into the equilibrium orientation if an external magnetic torque has rotated the magnetic object (4; 104; 204) out of the equilibrium orientation, in order to allow for a rotational oscillation of the magnetic object (4; 104; 204), which is excited by the external magnetic torque, with a resonant frequency, characterized in that the restoring torque unit (3; 103; 203) comprises a further magnetic object (3; 103; 203) for generating a magnetic field at the position of the magnetic object (4; 104; 204) such that it provides the restoring torque, and - a measurement element (5, 6; 8; 113; 213) being adapted to modify the resonant frequency depending a) on the temperature and/or b) on another physical or chemical quantity being a pressure or a presence of an organic solvent, wherein, if the measurement element (8; 113; 213) is adapted to modify the resonant frequency depending on the other physical or chemical quantity, the measurement device comprises a compensation element which is adapted to modify the resonant frequency in a first frequency direction depending on a temperature change which is opposite to a second frequency direction in which the measurement device would modify the resonant frequency, depending on the temperature change, if the compensation element were not part of the measurement device.