To reconstruct a complex-valued object function, a new algorithm has been proposed. Using the given information of the intensity distributions in If, 2f and 3/ planes behind a lens, the amplitude and phase of a unknown object function can be retrieved. The new algorithm is proved to be practical and also can give an excellent convergent result.