This paper presents a novel optimization method for sizing and design of stand alone photovoltaic systems. Loss of power supply probability analysis is set as a benchmark to determine all possible PV array and battery capacity. Then, the optimum design is proposed based on the lowest levelized cost of energy. The case study, with reference to Malaysia's meteorological data and typical load profile of rural area, has been simulated and compared to selected three past researches.