Electric vehicles (EVs) are seen as a promising solution for creating more efficient and sustainable transportation systems. European Union (EU) members show a strong interest in implementing EVs, and the governments support the concept by offering facilities to the buyers. Although electric vehicles can be operated with nonpolluting fuels, such as natural gas, fuel cells are more efficient. Creating electricity can affect the environment and the economy. Three environmental features (consumption of water, GHG emissions, and energy consumption, plus GDP's contribution to EU gross domestic product) were analyzed for 28 EU member states to measure electric vehicle efficiency. In one of the DEA models, an input-oriented method was employed to compute the efficiency scores. The k-means clustering algorithm defined the high, medium, and low-efficiency groups. Even more so, the total efficiency scores in this study show that using solar energy outperforms mixed-source energy sources was found to be more efficient