A magnetic field angle sensor to detect a direction of a magnetic field comprising: first means for generating a first sinusoidal signal indicative of the magnetic field along a first axis of said means and a first cosinusoidal signal indicative of the magnetic field along a second axis of said means that is orthogonal with respect to the first axis ; second means for generating a second sinusoidal signal indicative of the magnetic field along a third axis of said second means and a second cosinusoidal signal indicative of the magnetic field along a fourth axis of said second means that is orthogonal with respect to the third axis , wherein an angle between the first axis and the third axis is between -90° and 90°; and means for computing the direction of the magnetic field in response to the first sinusoidal signal, the first cosinusoidal signal, the second sinusoidal signal, and the second cosinusoidal signal, wherein the computing means further comprises: means for determining a first arctangent of the first sinusoidal signal and the first cosinusoidal signal and a second arctangent of the second sinusoidal signal and the second cosinusoidal signal; means for subtracting the angle between the first axis and the third axis from the second arctangent to generate a third arctangent; and means for calculating a mean value of the first arctangent and the third arctangent in order to provide an output signal indicative of the direction of the magnetic field. first means for generating a first sinusoidal signal indicative of the magnetic field along a first axis of said means and a first cosinusoidal signal indicative of the magnetic field along a second axis of said means that is orthogonal with respect to the first axis ; second means for generating a second sinusoidal signal indicative of the magnetic field along a third axis of said second means and a second cosinusoidal signal indicative of the magnetic field along a fourth axis of said second means that is orthogonal with respect to the third axis , wherein an angle between the first axis and the third axis is between -90° and 90°; and means for computing the direction of the magnetic field in response to the first sinusoidal signal, the first cosinusoidal signal, the second sinusoidal signal, and the second cosinusoidal signal, wherein the computing means further comprises: means for determining a first arctangent of the first sinusoidal signal and the first cosinusoidal signal and a second arctangent of the second sinusoidal signal and the second cosinusoidal signal; means for subtracting the angle between the first axis and the third axis from the second arctangent to generate a third arctangent; and means for calculating a mean value of the first arctangent and the third arctangent in order to provide an output signal indicative of the direction of the magnetic field. means for determining a first arctangent of the first sinusoidal signal and the first cosinusoidal signal and a second arctangent of the second sinusoidal signal and the second cosinusoidal signal; means for subtracting the angle between the first axis and the third axis from the second arctangent to generate a third arctangent; and means for calculating a mean value of the first arctangent and the third arctangent in order to provide an output signal indicative of the direction of the magnetic field. <EOS>