With the exponential growth of the Internet, it has become more and more difficult to find information. Web search services such as AltaVista, InfoSeek, and MSN Web Search were introduced to help people find information on the web. A web search engine is designed to search for information on the World Wide Web. It works by storing information about many web pages, which they retrieve from the html itself. The search results are generally presented in a list of results and are often called hits. A search engine results page (SERP), is the listing of web pages returned by a search engine in response to a keyword query. The results normally include a list of web pages with titles, a link to the page, and a short description showing where the keywords have matched content within the page. A SERP may refer to a single page of links returned, or to the set of all links returned for a search query. Such a result page may not always satisfy the userís needs as there are wide list of result ranked by relevance to the user entered query. Moreover user tends to restrict their sightings to minimum number of result pages as they satisfy their needs thus prohibiting the usage of entire search result. Our aim is to let the user, refine the result page in such a way that all the result pages are covered thus providing various information and views relevant to the query. We design an algorithm that allows the user in refining the search result as per their needs. This is done by grouping the result page in such a way that helps the user in choosing the document according to the categorization.