Recently, there has been a significant emphasis in the forecasting of the electricity demand due to the increase in the power consumption. Energy demand forecasting is a very important task in the electric power distribution system to enable appropriate planning for future power generation. Quantitative and qualitative methods have been utilizedpreviously for the electricity demand forecasting. Due to the limitations inthe availability of data, these methods fail to provide effective results. With the development of the advanced tools, these methods are replaced by efficient forecasting techniques. This paper presents the computational modeling of electricity consumption based on the Neural Network (NN) training algorithms. The main aim of the work is to determine the optimal training algorithm for electricity demand forecasting. From the experimental analysis, it is concluded that the Bayesian regularization training algorithm exhibits low relative error and high correlation coefficient than other training algorithms. Thus, the Bayesian Regularization training algorithm is selected as the optimal training algorithm for the effective prediction of the electricity demand. Finally, the economic input attributes are forecasted for next 15 years using time series forecasting. Using this forecasted economic attributes and with the optimal Bayesian Regularization training algorithm, the electricity demand for the next 15 years ispredicted. The comparative analysis of the NN training algorithms for the proposed dataset and larger datasets obtained from the UCI repository and American Statistical Association shows that the Bayesian Regularization training algorithm yields higher correlation value and lower relative error than other training algorithms.