A method for determining an orientation of an artificial joint, in particular for planning an implantation of at least one artificial joint in a human or animal body, wherein a first part of the artificial joint and a second part of the artificial joint are designed to be able to form an artificial joint connection with each other, wherein the first part is provided for implantation in a first body structure of the human or animal body, and the second part is provided for implantation in a second body structure of the human or animal body, in order to replace an anatomical joint which connects or connected the first body structure to the second body structure, wherein the method comprises the following steps:body structure data are provided which describe a mobility of the first body structure relative to the second body structurean orientation which is suitable for implanting the artificial joint is determined on the basis of the body structure data.