The mode of battery operating cost is built to solve the economic operation of energy storage equipment in microgrid. In this mode, not only the cost of battery depreciation, the influence of time-of-use price, and the expense of interacting with the grid are considered, but also the actual characteristic of running processes is taken into account. Taking the concrete project of microgrid in hebei province for example, the daily typical power curve of local wind, light and load are chosen to analyse the operating cost of battery according to the proposed three kinds of microgrid operation strategies. Through analysis, the battery operates in the most economical way when using the grid-connected power setting control strategy under the local natural condition.