Wireless Sensor network consist distributed sensors to monitor external conditions and to cooperatively pass their data through the network to a base station. Clustering is an important mechanism in wireless sensor networks for obtaining scalability and better network performance. The mail objective of this paper is to provide distributed algorithm for clustering. This paper proposed an algorithm of LEACH protocol which is intended to extend the life of the network. The proposed protocol basically has set-up and steady-state phases for each round in the protocol. Clustering through distributed method is being developed for dealing with the issues like cluster formation and network performance. General Terms LEACH Protocol, Network Performance