Wind and photovoltaic generators are the most promising approach to supply electrical energy as stand-alone systems for remote areas. Sizing of these supplies for reliable operation and low cost is a very important issue. A sizing and best management technique for a PV-wind hybrid system with batteries is proposed in this report, where the best size for every component of the system will be optimized according to the weather conditions and the load profile. The average hourly values for wind speed and solar radiation for two regions in Egypt have been used in the design for the systems, along with different expected load profiles. A logistical model is also developed for battery operation, according to the power balance between the generators and loads used in the software, to anticipate performances for the different systems according to the different weather conditions. The program will output the performance of the system during the year, the total cost of the system and the best size for the PV-generator, wind generator and battery capacity.