Recommendation system is one of the most important technologies in E-commerce. Collaborative filtering is the most widely used and the most successful recommendation technology[1]. This paper first introduces the traditional collaborative filtering recommendation algorithm. And then, a new collaborative filtering algorithm using clustering and weighted algorithm is introduced. Using clustering can dramatically reduce the time spent calculating the similarity between two users or two items. Using weighted algorithm can improve the recommendation by changing the weighted value.