Various backfill materials are used with the aim to reduce grounding resistance of grounding systems to the desired values. The algorithm for determination of a proper combination of features a backfill material needs to possess in order to successfully perform this task is developed and presented. It is based on the numerical analysis of the results obtained with finite-element method modelling of the considered grounding system, surrounding soil, backfill material and imperfect contact. As an example, the developed algorithm is applied on two grounding loops (one conventional and the other backfilled with bentonite suspension) embedded in a two-layer soil. The results obtained with the application of the proposed algorithm can be used as guidance for the researchers who are looking for new suitable low cost backfill materials.