The state of charge (SOC) is one of the main indexes of the lithium-ion battery, which affects the practice range of new energy vehicles and the safety of the battery. Nevertheless, the value of SOC cannot be measured directly. At present, the algorithm for estimating the state of charge is not very satisfactory. The multilayer perceptron algorithm designed during this paper encompasses a sensible impact on state estimation. During this paper, the multilayer network is designed to estimate the charged state of lithium batteries from the three-layer artificial neural network to the eleven-layer artificial neural network. After preprocessing the dataset and comparing several activation functions, the ten-layer fully connected neural network is the most efficient to estimate the SOC. In order to prevent over-fitting of the multilayer perceptron algorithm, the two techniques of the BatchNormalization layer and Dropout layer work together to inhibit over-fitting. At the same time, the accuracy of extended Kalman filter, long and short memory network, and recurrent neural network are compared. The multilayer perceptron network designed during this paper has the highest accuracy. Finally, in the open dataset, both the training and test errors achieve good results. The algorithm developed in this paper has made some progress in SOC estimation.