The simulation was performed using synthetic magnetic anomalies generated by compact bodies embedded in an inducing magnetic field. The under-surface area was divided into horizontal prisms with an extreme length and fixed magnetic susceptibility. This inversion can be described according to basic principles to minimize the cross-sectional area of the sources. At first, magnetic data were filtered and then modeled by the magnetic compact inversion method (Last & Kubik) and properties including depth, susceptibility and the deposit shape were provided. In this study, the corrected geophysical data of Doroh mining area were modeled to obtain the underground body's shape and other parameters such as susceptibility. Geophysical data inversion has a prominent role in geo-structural investigations.