Energy demands in the building sector account for more than 30% of the total energy use and more than 55% of the global electricity demand. Efforts to develop sustainable buildings are progressing but are still not keeping pace with the growing building sector and the rising demand for energy. Analyzing the energy use pattern of buildings and planning for energy conservation in existing buildings are essential. In this research, we propose a method to analyze the energy use pattern in a building using the K-means clustering method. Initial centroids in K-means clustering are chosen randomly so that the clustering result changes every time. This instability is removed in the proposed method by the selection of initial centroids using a percentile method based on empirical cumulative distribution. The results from the proposed method have better accuracy, and the internal cohesion and separation between clusters are better than the random initialization method. Analyzing yearly electricity use using the proposed clustering method, the daily pattern of electricity use can be categorized according to the operation of buildings. For this purpose, in this research, electricity use pattern was analyzed for three to six clusters. In comparison with the university schedule, six clusters were found to be appropriate and the accuracy was 89.3%. Once daily electricity use are categorized, base electricity consumption, electricity consumption by human activities, and electricity consumption by air-conditioning can be determined. As energy consumption by usage is clarified, measures for energy consumption in university buildings can be proposed.