A sensor device for detecting measurement data relating to the absolute position of a linearly or rotationally moveable body, comprising: - an optical sensor system having a measuring unit and a gauge cooperating with the measuring unit, wherein the optical sensor system uses exclusively zero-order reflections for the position measuring, and the optical sensor system emits a first sensor output signal depending on the position to be determined of the moveable body, and - a magnetic sensor system having a measuring unit and a gauge cooperating with the measuring unit, which emits a second sensor output signal depending on the position to be determined of the moveable body, wherein the gauge of the optical sensor system and the gauge of the magnetic sensor system are integrated in a common gauge body, and the measuring unit of the optical sensor system and the measuring unit of the magnetic sensor system are facing the surface of the gauge body, on which the gauge of the optical sensor system and/or the gauge of the magnetic sensor system are or is arranged and which defines a measurement surface, and wherein the optical sensor system has a higher resolution than the magnetic sensor system, and - a computing unit which is provided to obtain the first sensor output signal and the second sensor output signal and to generate a common sensor output signal from the first sensor output signal and the second sensor output signal, wherein the current period of the optical sensor system can be deduced from the second sensor output signal of the magnetic sensor system at any time, in order to calculate clear absolute position information based on the first and the second sensor output signal, wherein the accuracy of the magnetic sensor system is less than the signal period of the optical sensor system. - an optical sensor system having a measuring unit and a gauge cooperating with the measuring unit, wherein the optical sensor system uses exclusively zero-order reflections for the position measuring, and the optical sensor system emits a first sensor output signal depending on the position to be determined of the moveable body, and - a magnetic sensor system having a measuring unit and a gauge cooperating with the measuring unit, which emits a second sensor output signal depending on the position to be determined of the moveable body, wherein the gauge of the optical sensor system and the gauge of the magnetic sensor system are integrated in a common gauge body, and the measuring unit of the optical sensor system and the measuring unit of the magnetic sensor system are facing the surface of the gauge body, on which the gauge of the optical sensor system and/or the gauge of the magnetic sensor system are or is arranged and which defines a measurement surface, and wherein the optical sensor system has a higher resolution than the magnetic sensor system, and - a computing unit which is provided to obtain the first sensor output signal and the second sensor output signal and to generate a common sensor output signal from the first sensor output signal and the second sensor output signal, wherein the current period of the optical sensor system can be deduced from the second sensor output signal of the magnetic sensor system at any time, in order to calculate clear absolute position information based on the first and the second sensor output signal, wherein the accuracy of the magnetic sensor system is less than the signal period of the optical sensor system.