Accurate energy consumption prediction of electric vehicles (EVs) is crucial for drivers considering long trips. All the data should be provided beforehand to determine the energy consumption at the beginning of the trip. Although dynamic vehicle data (vehicle speed, state-of-charge, acceleration, etc.) cannot be known before the trip, factors related to the specified route (route type, elevation, average speed, weather, driving time, etc.) can be used to predict the consumed energy. These factors can be categorized as static and dynamic features, and thus, the question of how to effectively use static and dynamic data arises. This paper investigates the problem of predicting the energy consumption of an EV for a predetermined trip using a deep neural network (DNN) model that effectively uses static features along with dynamic segment features. Furthermore, we address the problem where the route types are unknown in advance. To include more information in the prediction model, we clustered the speed profiles using shape-based clustering with dynamic time warping (DTW) to predict the route type and used the cluster labels as static inputs. Real driving data collected from various drivers of a specific EV were used to train the DNN. The proposed DNN model was compared with the average energy consumption (AEC) model and five machine learning models. The results show that labels obtained from shape-based clustering improved the prediction more than feature-based cluster labels. The prediction errors were minimized with the proposed DNN model, where static features are introduced to the first and second layers twice.