Cluster-based routing protocol has been demonstrated as a good way to meet the requirements of wireless sensor networks (WSNs), such as scalability, lifetime constraint and energy-efficiency in LEACH. On one hand, the creation of clusters can lower energy consumption within a cluster by performing data fusion to decrease the amount of sensed data forwarded to BS (base station). On the other hand, the formation of cluster can consume lots of energy and then increase additional overhead. Therefore cluster formation algorithm which decides how to select cluster and how to schedule nodes is crux in cluster-based related routing protocols. In the paper, we propose a distributed weight-based clustering algorithm for WSNs which takes battery usage, load balancing and MAC functionality into consideration. Simulation results demonstrate the energy-efficiency of the proposed algorithm