Nowadays, the government is actively searching for alternative sources of fossil fuel due to its limitation and increasing cost. Thus, the government increased the implementation of renewable energy sources such as wind, solar and hydro to have sustainable growth and social progress. Among them all, the cleanest power sources must be identified to provide better service to customers. This paper presents a work on power quality comparison between on the grid and off-grid renewable energy. The on-grid power source is from a hydropower plant. Solar and wind power are the sources of off-grid renewable energy. The power quality in this research will be compared by detecting voltage sag and voltage swell events in the power generated from the power sources. By eliminating the events, the percentage of the clean signal that occurred in every source will be calculated. The highest percentage of the clean signal in the power source is identified as the cleanest renewable energy power source. The method is developed by using Microsoft Excel. The real interrupted signal data will be obtained from Energy Management & Storage System. The database will be used in comparing the power quality between the various types of renewable energy mentioned before. The results show that an on-grid power source produced the cleanest energy. Then, followed by solar and wind power sources.