A method and a device is provided for determining a rotational position of a first feature of a first bone section relative to a second feature of a second bone section, the method comprises the steps of determining a longitudinal axis of a bone and determining a plane extending perpendicular to the longitudinal axis of the bone, determining a first projected vector representing a first direction defined by a feature of the first bone section, determining a second projected vector representing a second direction defined by a feature of the second bone section, and determining an angle between the first projected vector and the second projected vector.