Namibia has the best conditions for solar power in Africa, and in the world. Each kilowatt of solar panels there can produce about 5.38 kWh a day on average, according to the World Bank's country study, carried out by Solargis. Egypt, Lesotho, Libya and Botswana follow.
Even Africa's least sunny countries do well by world standards. São Tomé and Príncipe, at the bottom of Africa's list, still scores about 3.47 kWh a day, well above Ireland's 2.51, the lowest in the world. But sunshine is only one part of whether solar pays.
At a glance: Africa's top 10 for solar potential
| Rank | Country | kWh per kWp a day | kWh per kWp a year |
|---|---|---|---|
| 1 | Namibia | 5.38 | About 1,960 |
| 2 | Egypt | 5.25 | About 1,920 |
| 3 | Lesotho | 5.13 | About 1,870 |
| 4 | Libya | 5.12 | About 1,870 |
| 5 | Botswana | 5.11 | About 1,860 |
| 6 | Morocco | 5.01 | About 1,830 |
| 7 | South Africa | 5.00 | About 1,830 |
| 8 | Sudan | 4.94 | About 1,800 |
| 9 | Algeria | 4.92 | About 1,800 |
| 10 | Eritrea | 4.89 | About 1,790 |
World Bank and ESMAP, Global Photovoltaic Power Potential by Country (2020), long-term average practical potential, as compiled by Nations Inquiry. Yearly figures are our calculation.
What the number means
The figure is called PVOUT: the electricity a typical solar plant makes for every kilowatt-peak (kWp) of panels, averaged over many years. It assumes ground-mounted panels at the best fixed angle, and allows for local temperature and terrain.
So in Namibia, 1 kWp of panels makes about 5.4 kWh on an average day. A 5 kWp home system would make about 27 kWh a day, before losses from roof direction, shade and dust. On a typical rooftop, expect less than these figures.
The least sunny countries
| Rank | Country | kWh per kWp a day |
|---|---|---|
| 45 | Togo | 4.12 |
| 46 | Rwanda | 4.10 |
| 47 | Sierra Leone | 4.09 |
| 48 | Ghana | 4.02 |
| 49 | Côte d'Ivoire | 4.00 |
| 50 | Liberia | 3.88 |
| 51 | Republic of the Congo | 3.77 |
| 52 | Equatorial Guinea | 3.67 |
| 53 | Gabon | 3.60 |
| 54 | São Tomé and Príncipe | 3.47 |
Same source, ranked among Africa's 54 countries.
The lowest scores come from the humid, cloudy countries around the Gulf of Guinea and the Congo Basin. Namibia's panels produce about 1.5 times as much as Gabon's. Still, the world median is about 4.27, so most African countries sit above the global middle.
How Africa's biggest markets compare
| Country | kWh per kWp a day | Rank in Africa |
|---|---|---|
| South Africa | 5.00 | 7 |
| Ethiopia | 4.70 | 20 |
| Tanzania | 4.51 | 28 |
| Kenya | 4.50 | 29 |
| Uganda | 4.46 | 31 |
| Nigeria | 4.30 | 38 |
| DR Congo | 4.26 | 41 |
| Ghana | 4.02 | 48 |
Same source.
The World Bank found that around 70 countries have excellent conditions, with average output above 4.5 kWh per kWp a day, and that the Middle East and North Africa and sub-Saharan Africa dominate that group. It also found that sunny countries tend to have steady output through the year. South Africa's seasonal variation is low, it said, which means very stable production.
Sun isn't what decides whether solar pays
If sunshine alone decided it, Namibia and Botswana would lead Africa's solar boom. In practice, three other things matter more:
- The price of the units solar replaces. A unit of solar is worth what you'd otherwise pay for a unit. Where tariffs are high, as in Kenya or South Africa, solar pays faster, even with less sun. See electricity prices in Africa by country.
- The cost of money. Solar is paid for up front, so interest rates weigh heavily on its real cost. See what solar costs across Africa.
- Reliability. Where the grid fails often, solar and batteries replace diesel generators, which cost far more per unit. See power cuts in Africa.
The World Bank's 2020 study noted that solar rollout had lagged in countries with high potential, including almost all African countries except South Africa. That has started to change. See the largest solar farms in Africa.
What it means in South Africa
At about 5 kWh per kWp a day, South Africa ranks seventh in Africa. On a rooftop, a modern 565 W panel facing north makes about 979 kWh a year in Johannesburg and 950 in Cape Town, our panels guide shows. The difference between cities is small. The difference between tariffs is large. See how many solar panels you need.
▶ By our estimate, 3.5% to 5% of the Sahara could make all the world's electricity. Watch why sunshine was never the constraint, and what is.
See what solar would save you
The sun is the same across a city. Your tariff isn't. We publish electricity tariffs line by line, starting in South Africa, with more countries coming soon.
In South Africa? Our free solar calculator prices solar on your own supplier's tariff, for homes billed by City Power, the City of Cape Town or Eskom, using your town's sunshine. It currently covers South Africa only.
Sources
- World Bank, Solar photovoltaic power potential by country (July 2020)
- ESMAP, Global Photovoltaic Power Potential by Country (June 2020, report by Solargis)
- Nations Inquiry, Photovoltaic power potential by country (World Bank and ESMAP data, 2020)
- tariffs.africa, How many solar panels do I need? (output per panel by city)
- tariffs.africa, The Sahara can power the entire planet
Figures as of November 2026. PVOUT figures are long-term averages for ground-mounted plants, not rooftop guarantees.

