In this study, an energy management model for electric vehicles including the entire vehicle such as the cabin, electric motors, battery, and the heating–cooling system was prepared. The heating and cooling processes for electric vehicles were run according to the internationally recognized driving cycles as well as at constant speeds to investigate them under different ambient conditions. The heating–cooling processes were managed in line with the cabin temperature target determined by considering the comfort conditions. The energy consumption of each of the system elements and the system in the heating–cooling process in electric vehicles was analyzed. Under different operating conditions, the variation of cabin temperature with time, instantaneous power, and cumulative energy consumption was calculated. The effect of heating and cooling processes on energy consumption, charging rate, and range were analyzed and interpreted. The results showed that the heating–cooling system for the heating process consumed more energy when the ambient temperature decreased, and the charge consumption ratio as well as the range deformation rate increased to about 30% when the ambient temperature was –10 °C. Similarly, the heating–cooling system for the cooling process consumed more energy when the ambient temperature increased, and the charge consumption ratio as well as the range deformation rate reached up to 40% when the ambient temperature was 40 °C. When the outdoor conditions were close to the thermal comfort temperature of 23 °C inside the cabin, the total energy consumption and the range deformation rates were reduced to less than 10%.