A linear position sensor system (2200; 2300) comprising: - a magnetic field generator movable relative to a first and a second magnetic sensor (303, 304) or vice versa, and being adapted for providing a first magnetic field vector (B1mag) to the first magnetic sensor and for providing a second magnetic field vector (B2mag) different from the first magnetic field vector, to the second magnetic sensor; - the first magnetic sensor being adapted for determining first vector data (v1x, v1y; v1x, v1z) related to a combination of said first magnetic field vector (B1mag) and an external disturbance field (Bext), if present; - the second magnetic sensor being adapted for determining second vector data (v2x, v2y; v2x, v2z) related to a combination of said second magnetic field vector (B2mag) and said external disturbance field (Bext), if present; - the position sensor system further comprising at least one processor (306, 307, 309) adapted for receiving the first vector data (v1x, v1y; v1x, v1z) and the second vector data (v2x, v2y; v2x, v2z), and adapted for performing a method (500, 900, 1000, 1300, 1400, 1600, 1800) of determining a position of the magnetic field generator relative to the first and second magnetic sensor (303; 304), which is based on the first vector data and the second vector data in a manner which eliminates the external disturbance field (Bext); - wherein the first magnetic sensor is configured for measuring, at a first sensor position, a first magnetic field component (B1x) oriented in a first direction and a second magnetic field component (B1y; B1z) oriented in a second direction substantially perpendicular to the first direction; and - wherein the second magnetic sensor is configured for measuring, at a second sensor position, a third magnetic field component (B2x) oriented in said first direction and a fourth magnetic field component (B2y; B2z) oriented in said second direction; characterised in that - the first and the second magnetic sensor (303; 304) are integrated in a single package; - the magnetic field generator is magnetized such that, and the first and the second magnetic sensor (303, 304) are oriented relative to the magnetic field generator and are spaced apart such that the first magnetic field component (B1x) is phase shifted relative to the third magnetic field component (B2x) by a value in the range from 30° to 330°. - a magnetic field generator movable relative to a first and a second magnetic sensor (303, 304) or vice versa, and being adapted for providing a first magnetic field vector (B1mag) to the first magnetic sensor and for providing a second magnetic field vector (B2mag) different from the first magnetic field vector, to the second magnetic sensor; - the first magnetic sensor being adapted for determining first vector data (v1x, v1y; v1x, v1z) related to a combination of said first magnetic field vector (B1mag) and an external disturbance field (Bext), if present; - the second magnetic sensor being adapted for determining second vector data (v2x, v2y; v2x, v2z) related to a combination of said second magnetic field vector (B2mag) and said external disturbance field (Bext), if present; - the position sensor system further comprising at least one processor (306, 307, 309) adapted for receiving the first vector data (v1x, v1y; v1x, v1z) and the second vector data (v2x, v2y; v2x, v2z), and adapted for performing a method (500, 900, 1000, 1300, 1400, 1600, 1800) of determining a position of the magnetic field generator relative to the first and second magnetic sensor (303; 304), which is based on the first vector data and the second vector data in a manner which eliminates the external disturbance field (Bext); - wherein the first magnetic sensor is configured for measuring, at a first sensor position, a first magnetic field component (B1x) oriented in a first direction and a second magnetic field component (B1y; B1z) oriented in a second direction substantially perpendicular to the first direction; and - wherein the second magnetic sensor is configured for measuring, at a second sensor position, a third magnetic field component (B2x) oriented in said first direction and a fourth magnetic field component (B2y; B2z) oriented in said second direction; - the first and the second magnetic sensor (303; 304) are integrated in a single package; - the magnetic field generator is magnetized such that, and the first and the second magnetic sensor (303, 304) are oriented relative to the magnetic field generator and are spaced apart such that the first magnetic field component (B1x) is phase shifted relative to the third magnetic field component (B2x) by a value in the range from 30° to 330°.