Distance measuring device comprising - a first magnetic field sensor, wherein the first magnetic field sensor provides a first measurement signal in dependence on the strength of the magnetic field, - at least one permanent magnet with a first magnetic pole with a first pole surface and a second magnetic pole with a second pole surface, - a semiconductor body with a monolithically integrated evaluating circuit, wherein the evaluating circuit is in electrically operative connection with the first magnetic field sensor and the semiconductor body has a surface formed in the X-Y plane, - a second magnetic field sensor based on the same physical operative principle as the first magnetic field sensor, wherein the second magnetic field sensor provides a second measurement signal in dependence on the strength of the magnetic field and the second magnetic field sensor is in operative connection with the evaluating circuit and the evaluating circuit for suppression of magnetic constant fields determines a difference signal and provides an output signal as a result of the determination, wherein the value of the output signal based on neutralisation of a region free of magnetic flux depends on a spacing of a ferromagnetic transmitter from the two magnetic field sensors and the two magnetic field sensors are connected with the surface of the semiconductor body by frictional couple and in order to measure the same component of the magnetic field have the same arrangement, wherein - in order to measure the magnitude of the flux change in the case of the transmitter acting with different strength on the two magnetic field sensors (34, 38) the permanent magnet is magnetised in Z direction and forms one of the two pole surfaces in the X-Y plane and the magnetic field sensors (34, 38) are arranged along the one pole surface, wherein the permanent magnet is of U-shaped construction and has two mutually opposite straight and parallelly extending limbs (124, 128) or circular limbs (124, 128). - a first magnetic field sensor, wherein the first magnetic field sensor provides a first measurement signal in dependence on the strength of the magnetic field, - at least one permanent magnet with a first magnetic pole with a first pole surface and a second magnetic pole with a second pole surface, - a semiconductor body with a monolithically integrated evaluating circuit, wherein the evaluating circuit is in electrically operative connection with the first magnetic field sensor and the semiconductor body has a surface formed in the X-Y plane, - a second magnetic field sensor based on the same physical operative principle as the first magnetic field sensor, wherein the second magnetic field sensor provides a second measurement signal in dependence on the strength of the magnetic field and the second magnetic field sensor is in operative connection with the evaluating circuit and the evaluating circuit for suppression of magnetic constant fields determines a difference signal and provides an output signal as a result of the determination, wherein the value of the output signal based on neutralisation of a region free of magnetic flux depends on a spacing of a ferromagnetic transmitter from the two magnetic field sensors and the two magnetic field sensors are connected with the surface of the semiconductor body by frictional couple and in order to measure the same component of the magnetic field have the same arrangement, wherein - in order to measure the magnitude of the flux change in the case of the transmitter acting with different strength on the two magnetic field sensors (34, 38) the permanent magnet is magnetised in Z direction and forms one of the two pole surfaces in the X-Y plane and the magnetic field sensors (34, 38) are arranged along the one pole surface, wherein the permanent magnet is of U-shaped construction and has two mutually opposite straight and parallelly extending limbs (124, 128) or circular limbs (124, 128).