A magnetic field sensor system for measuring rotational movements of a shaft is disclosed. The sensor system includes a biasing magnet configured for generating a biasing magnetic field and a magnetic wheel having a wheel axis and a circumferential surface which comprises a regular structure of teeth and gaps arranged in an alternating manner. The magnetic wheel is attachable to the shaft and is magnetizable by the biasing magnetic field. A magnetoresistive sensor arrangement comprising four magnetoresistive sensor elements being connected with each other in a Wheatstone bridge, respectively two of the magnetoresistive sensor elements being assigned to one half bridge of the Wheatstone bridge. The four magnetoresistive sensor elements are arranged within an x-y plane.