Formulas defining two types of modified Dar Zarrouk curves are used to invert Schlumberger sounding curves, using an iterative procedure. The number of layers, which is equal to the number of points on the inverted curve, is reduced by automatically smoothing the corresponding DZ curve.