In recent years there has been considerable interest in analyzing relative trust level of the web pages. As the web contains the facts, deceit, opposition and assumptions on the grand scale resulting on which web page do one trust? In this paper an algorithm is proposed which assigns a rank to every document on the web that specify the quality of that document or the relative level of trust one can made on a document. This algorithm is basically using the concept of Page Rank and implemented using C++. The Page Rank algorithm is used in the Google search engine for ranking search results. In this paper we have analyzed the behavior of the proposed algorithm for the different values of moister factor.