In this paper, we propose novel techniques to reduce total cost and peak load of factories from a customer point of view. We control energy storage system (ESS) to minimize the total electricity bill under the Korea commercial and industrial (KCI) tariff, which both considers peak load and time of use (ToU). Under the KCI tariff, the average peak load, which is the maximum among all average power consumptions measured every 15 min for the past 12 months, determines the monthly base cost, and thus peak load control is extremely critical. We aim to leverage ESS for both peak load reduction based on load prediction as well as energy arbitrage exploiting ToU. However, load prediction inevitably has uncertainty, which makes ESS operation challenging with KCI tariff. To tackle it, we apply robust optimization to minimize risk in a real environment. Our approach significantly reduces the peak load by 49.9% and the total cost by 10.8% compared to the case that does not consider load uncertainty. In doing this we also consider battery degradation cost and validate the practical use of the proposed techniques.