Defining the causative source parameters is an essential tool in geophysical exploration and is often carried out using gravity subject datasets. Naturally stimulated metaheuristic optimization algorithms are primarily based totally on a few stochastic approaches, and have attracted greater interest over the past decade, because of their functionality to discover the finest answer of the version parameters from the explored area. This is done after making use of the distinct horizontal derivative orders at the located information, to lessen the local impacts. The most desirable management parameters of the particle swarm optimization rules were decided, using few parameters tuning research on artificial anomalies. The option for the optimization issues advanced with the aid of using the horizontal derivatives on the observed gravity data. So, the present-day inversion algorithm uses the third horizontal derivative, to minimize the regional anomaly and the particle swarm optimization, to estimate the different source model parameters. The present-day inversion algorithm was carried out on three different synthetic models (a two-sided dipping fault version with second and third orders regional, and without and with 5% and 10% random noises, a two-sided dipping fault with asphere shape model, without and with 5% and 10% random noises, and a -sided dipping fault model, without and with 10% random noises) and an actual field data set (from the USA). Applications have proven that, the present-day inversion algorithm provided close results. However, it indicates that, applying the higher horizontal derivatives turned into greater power in decreasing the regional component. The acquired results declared that, the present-day inversion algorithm works nicely, even with inside the existence of noises.