Magnetic position transducer in a Cartesian coordinate system with an x-axis, a y-axis and a z-axis, which intersect at an origin, comprising - a magnetic transducer comprising a first magnet and a second magnet for forming a magnetic field, wherein -- the magnets (4, 5), in a rest state, are arranged substantially centred along an x-axis on a magnet carrier, wherein the origin of the coordinate system lies centrally between the magnets along the y-axis and on the magnet carrier along the z-axis and the magnets (4, 5) lie on the side of the positive z-axis, and -- the magnets (4, 5), in the rest state, are arranged substantially symmetrically in relation to the y-axis on the magnet carrier in the plane that is spanned by the x-axis and the y-axis, - a magnetic flux density sensor which is spaced apart from the magnetic transducer in the direction of the positive z-axis, wherein -- the flux density sensor and the magnets (4, 5) are displaceable relative to one another along a travel (ΔX) in the direction of the x-axis, and -- the flux density sensor is embodied to measure a z-component (B z) of the flux density of the magnetic field extending in the direction of the z-axis, characterized in that - each magnet (4, 5) is formed in the direction of the x-axis in such a way that a first z-dimension (Z 1), extending in the direction of the z-axis, of the magnet (4, 5) reduces towards the y-axis such that the z-component (B z) has a substantially linear characteristic in the region of the travel (ΔX), and - each magnet (4, 5) is formed in the direction of the y-axis in such a way that a second z-dimension (Z 2), extending in the direction of the z-axis, of the magnet (4, 5) reduces towards the x-axis such that the z-component (B z) is substantially constant in the region of a transverse offset (ΔY) of the flux density sensor in the direction of the y-axis. - a magnetic transducer comprising a first magnet and a second magnet for forming a magnetic field, wherein -- the magnets (4, 5), in a rest state, are arranged substantially centred along an x-axis on a magnet carrier, wherein the origin of the coordinate system lies centrally between the magnets along the y-axis and on the magnet carrier along the z-axis and the magnets (4, 5) lie on the side of the positive z-axis, and -- the magnets (4, 5), in the rest state, are arranged substantially symmetrically in relation to the y-axis on the magnet carrier in the plane that is spanned by the x-axis and the y-axis, -- the magnets (4, 5), in a rest state, are arranged substantially centred along an x-axis on a magnet carrier, wherein the origin of the coordinate system lies centrally between the magnets along the y-axis and on the magnet carrier along the z-axis and the magnets (4, 5) lie on the side of the positive z-axis, and -- the magnets (4, 5), in the rest state, are arranged substantially symmetrically in relation to the y-axis on the magnet carrier in the plane that is spanned by the x-axis and the y-axis, - a magnetic flux density sensor which is spaced apart from the magnetic transducer in the direction of the positive z-axis, wherein -- the flux density sensor and the magnets (4, 5) are displaceable relative to one another along a travel (ΔX) in the direction of the x-axis, and -- the flux density sensor is embodied to measure a z-component (B z) of the flux density of the magnetic field extending in the direction of the z-axis, -- the flux density sensor and the magnets (4, 5) are displaceable relative to one another along a travel (ΔX) in the direction of the x-axis, and -- the flux density sensor is embodied to measure a z-component (B z) of the flux density of the magnetic field extending in the direction of the z-axis, - each magnet (4, 5) is formed in the direction of the x-axis in such a way that a first z-dimension (Z 1), extending in the direction of the z-axis, of the magnet (4, 5) reduces towards the y-axis such that the z-component (B z) has a substantially linear characteristic in the region of the travel (ΔX), and - each magnet (4, 5) is formed in the direction of the y-axis in such a way that a second z-dimension (Z 2), extending in the direction of the z-axis, of the magnet (4, 5) reduces towards the x-axis such that the z-component (B z) is substantially constant in the region of a transverse offset (ΔY) of the flux density sensor in the direction of the y-axis.