In today's world, the huge information is stored on World Wide Web (WWW). Every user wants to get relevant information according to its query. There are number of techniques are used to provide the best results to the user. Various page ranking algorithms are used by the search engines to provide relevant results to the user by ranking their results. This paper proposed a new method for providing the relevant results to the user using ranking and clustering algorithm. The main aim of this paper is to rank the results, so that the users retrieve the relevant results on the top according to the user query.