A method for determining a position of a mobile key device, the method being performed by a position determiner and comprising the steps of: obtaining a first sample point comprising a first in-phase, I, value and a first quadrature, Q, value, and a second sample point, comprising a second I value and a second Q value, the first sample point indicating a signal received from the mobile key device using a first antenna and the second sample point indicating a signal received from the mobile key device using a second antenna; determining that a transformation condition is true by determining that the obtained first sample point is in the first quadrant and the obtained second sample point is in the second quadrant, that the obtained first sample point is in the second quadrant and the obtained second sample point is in the first quadrant, that the obtained first sample point is in the third quadrant and the obtained second sample point is in the fourth quadrant, or that the obtained first sample point is in the fourth quadrant and the obtained second sample point is in the third quadrant; transforming the first sample point and the second sample point according to the following: setting the I value of a first transformed sample point to the Q value of the obtained first sample point, setting the Q value of the first transformed sample point to the inverse of the I value of the obtained first sample point, -I, setting the I value of a second transformed sample point to the inverse of the Q value of the obtained second sample point, -Q, setting the Q value of the second transformed sample point to the I value of the obtained second sample point; determining the phase difference between the first sample point and the second sample point by applying an inverse tangent function based on the result of the transforming; and determining the position of the mobile key device based on the phase differences. obtaining a first sample point comprising a first in-phase, I, value and a first quadrature, Q, value, and a second sample point, comprising a second I value and a second Q value, the first sample point indicating a signal received from the mobile key device using a first antenna and the second sample point indicating a signal received from the mobile key device using a second antenna; determining that a transformation condition is true by determining that the obtained first sample point is in the first quadrant and the obtained second sample point is in the second quadrant, that the obtained first sample point is in the second quadrant and the obtained second sample point is in the first quadrant, that the obtained first sample point is in the third quadrant and the obtained second sample point is in the fourth quadrant, or that the obtained first sample point is in the fourth quadrant and the obtained second sample point is in the third quadrant; transforming the first sample point and the second sample point according to the following: setting the I value of a first transformed sample point to the Q value of the obtained first sample point, setting the Q value of the first transformed sample point to the inverse of the I value of the obtained first sample point, -I, setting the I value of a second transformed sample point to the inverse of the Q value of the obtained second sample point, -Q, setting the Q value of the second transformed sample point to the I value of the obtained second sample point; determining the phase difference between the first sample point and the second sample point by applying an inverse tangent function based on the result of the transforming; and determining the position of the mobile key device based on the phase differences.