In a method to determine a parameter of a fixing element for an implant to be affixed to a bone, the actual design of the bone and the relative attitude of the implant positioned on this are determined, a virtual 3D model depicting the actual design of the bone and the relative attitude of the implant is generated, and a parameter of the fixing element is determined automatically using the virtual 3D model.