A device and method for determining a position of a medical device or part of a patients body uses first and second position detection devices to obtain first and second positions, respectively, of the medical device or part of the patients body, wherein the first position detection device is separate from the second position detection device. A first priority is assigned to the first position and a second priority is assigned to the second position, wherein the first and second priority are based on at least one input variable, and the first and second priority define a first and second weight factor to be applied to the respective first and second position. The position of the medical device or part of the patients body is determined from the combination of the first position and the first weight factor, and the second position and the second weight factor.