An angular position sensor system comprising: - a permanent magnet in the form of a multi-pole magnet, the magnet having an axis; - a sensor device arranged at an axial distance (dz) from said magnet from 0.5 to 5.0 mm; characterised in that - the sensor device is adapted for determining one or more field gradients (dBx/dx, dBx/dy, dBy/dx, dBy/dy, dBz/dx, dBz/dy) of the magnetic field created by the magnet, in a plane perpendicular to the axis, and is adapted for determining an angular position (θ) of the sensor device relative to the permanent magnet, based on said field gradients; and - the magnet comprises an isotropic magnetic material; and in that - the magnet has a remanent magnetic field which, for each point (p) of an imaginary circle (c) located in a plane (λ) perpendicular to said axis and having a centre (m) substantially located on said axis, is located substantially in a virtual plane (ε) tangential to said virtual circle in point (p) and parallel to said axis, which magnetic field furthermore defines an angle (β) relative to the plane (λ) containing the circle (c), which angle (β) rotates substantially linearly as a function of the position (θ) of the point (p) on the imaginary circle (c), or the magnet is a multi-pole magnet having an axis and having a plurality of at least four poles as seen from a point on said axis, and is produced by the following steps: a) providing a shaped body comprising or consisting of an isotropic magnetic material, the shaped body having an axis and a centre (c); b) providing a number of at least four electrical conductor segments (c1, c2, c3, c4) arranged in a plane perpendicular to said axis, the conductor segments being oriented radially with respect to said axis, and being angularly spaced by an angle of 360° divided by said number; c) simultaneously applying or inducing currents to flow through each of said number of conductor segments, the currents in the even numbered conductor segments flowing towards the axis, the currents in the odd numbered conductor segments flowing away from said axis. - a permanent magnet in the form of a multi-pole magnet, the magnet having an axis; - a sensor device arranged at an axial distance (dz) from said magnet from 0.5 to 5.0 mm; characterised in that - the sensor device is adapted for determining one or more field gradients (dBx/dx, dBx/dy, dBy/dx, dBy/dy, dBz/dx, dBz/dy) of the magnetic field created by the magnet, in a plane perpendicular to the axis, and is adapted for determining an angular position (θ) of the sensor device relative to the permanent magnet, based on said field gradients; and - the magnet comprises an isotropic magnetic material; and in that - the magnet has a remanent magnetic field which, for each point (p) of an imaginary circle (c) located in a plane (λ) perpendicular to said axis and having a centre (m) substantially located on said axis, is located substantially in a virtual plane (ε) tangential to said virtual circle in point (p) and parallel to said axis, which magnetic field furthermore defines an angle (β) relative to the plane (λ) containing the circle (c), which angle (β) rotates substantially linearly as a function of the position (θ) of the point (p) on the imaginary circle (c), or the magnet is a multi-pole magnet having an axis and having a plurality of at least four poles as seen from a point on said axis, and is produced by the following steps: a) providing a shaped body comprising or consisting of an isotropic magnetic material, the shaped body having an axis and a centre (c); b) providing a number of at least four electrical conductor segments (c1, c2, c3, c4) arranged in a plane perpendicular to said axis, the conductor segments being oriented radially with respect to said axis, and being angularly spaced by an angle of 360° divided by said number; c) simultaneously applying or inducing currents to flow through each of said number of conductor segments, the currents in the even numbered conductor segments flowing towards the axis, the currents in the odd numbered conductor segments flowing away from said axis.