In recent years, the energy crisis has become more and more serious. Li-ion batteries are used in grids because of their benefits such as contributing to the intermittent generation of renewable energy sources and stabilizing the grid. In addition, li-ion batteries are widely used in electric vehicles due to their long cycle life and high energy density. Li-ion battery state of charge (SoC) is an important indicator for safety. Therefore, the SoC estimation of li-ion batteries is important. Today, there are different methods to determine the state of the SoC in many applications. The traditional estimation method, the ampere-hour integration method and the coulomb counting method, has a cumulative error and cannot achieve good results in a working environment with Gaussian noise. For this purpose, in this study, firstly, the Thevenin equivalent model was created for battery SOC estimation, and then the Kalman filter algorithm was applied. Thus, the estimation error caused by Gaussian noise is eliminated. SoC estimation was simulated for the battery model created in the MATLAB/Simulink program using this method. Using these simulation results, the charge/discharge characteristics of the battery were obtained. However, the SoC estimation has been made for the charging and discharging processes of the battery. In the simulation, the charge value was recorded for 6 hours. The data recorded every 10 minutes gave results very close to the true value.