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 (S1) comprising a first in-phase, I, value (I1) and a first quadrature, Q, value (Q1), and a second sample point (S2), comprising a second I value (I2) and a second Q value (Q2), the first sample point (S1) 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 (S1) and the second sample point (S2) 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 (S1) and the second sample point (S2) 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 (S1) comprising a first in-phase, I, value (I1) and a first quadrature, Q, value (Q1), and a second sample point (S2), comprising a second I value (I2) and a second Q value (Q2), the first sample point (S1) 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 (S1) and the second sample point (S2) 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 (S1) and the second sample point (S2) 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. <EOS>