The use of the higher derivatives of the magnetic potential to calculate the depth and other elements of occurrence from complex magnetic anomalies indicating the presence of a number of disconnected bodies with the same magnetization or rocks with changing magnetization provides a number of advantages over the methods of calculations directly from Z or ∆T curves: 1) the possibility of dissecting complex curves depicting the total field of a number of magnetized bodies; 2) a sharp reduction or complete elimination of the dependence of the problem solution on errors in the choice of the normal field; 3) the ability to calculate the total field of a number of magnetized bodies.