Largest economies in Africa
South Africa ($427 billion), Egypt ($365 billion) and Nigeria ($291 billion) top the ranking of 52 countries in Africa by GDP at current prices in 2025. The median country stands at $21.6 billion.
52 countries
World Bank · 2025
Which country has the largest economy in Africa?
By GDP at current prices, South Africa is the largest economy in Africa in 2025, at $427 billion.
Ranking
GDP, current US$, 2025
| Rank | Country | GDP, current US$, 2025 | GDP per capita, current US$ |
|---|---|---|---|
| 1 | South Africa | $427 billion | $6,598 |
| 2 | Egypt | $365 billion | $3,086 |
| 3 | Nigeria | $291 billion | $1,224 |
| 4 | Algeria | $287 billion | $6,051 |
| 5 | Morocco | $182 billion | $4,746 |
| 6 | Kenya | $136 billion | $2,363 |
| 7 | Ethiopia | $126 billion | $933 |
| 8 | Angola | $122 billion | $3,129 |
| 9 | Ghana | $114 billion | $3,257 |
| 10 | Cote d'Ivoire | $99.8 billion | $3,050 |
| 11 | Democratic Republic of the Congo | $91.0 billion | $807 |
| 12 | Tanzania | $90.1 billion | $1,278 |
| 13 | Uganda | $62.0 billion | $1,206 |
| 14 | Sudan | $60.2 billion | $1,165 |
| 15 | Cameroon | $58.9 billion | $1,972 |
| 16 | Tunisia | $57.5 billion | $4,657 |
| 17 | Zimbabwe | $51.2 billion | $3,021 |
| 18 | Libya | $48.1 billion | $6,449 |
| 19 | Senegal | $37.0 billion | $1,955 |
| 20 | Mali | $30.1 billion | $1,193 |
| 21 | Zambia | $28.9 billion | $1,318 |
| 22 | Guinea | $28.3 billion | $1,877 |
| 23 | Burkina Faso | $27.6 billion | $1,148 |
| 24 | Benin | $24.6 billion | $1,658 |
| 25 | Mozambique | $22.3 billion | $627 |
| 26 | Niger | $21.6 billion | $775 |
| 27 | Chad | $21.5 billion | $1,022 |
| 28 | Gabon | $21.4 billion | $8,263 |
| 29 | Botswana | $19.9 billion | $7,778 |
| 30 | Madagascar | $19.6 billion | $599 |
| 31 | Rwanda | $16.4 billion | $1,124 |
| 32 | Republic of the Congo | $16.3 billion | $2,515 |
| 33 | Mauritius | $16.2 billion | $12,991 |
| 34 | Namibia | $15.1 billion | $4,876 |
| 35 | Malawi | $14.9 billion | $672 |
| 36 | Somalia | $13.0 billion | $661 |
| 37 | Equatorial Guinea | $12.8 billion | $6,615 |
| 38 | Togo | $11.9 billion | $1,384 |
| 39 | Mauritania | $11.7 billion | $2,198 |
| 40 | Sierra Leone | $7.46 billion | $846 |
| 41 | Liberia | $5.25 billion | $915 |
| 42 | Eswatini | $5.16 billion | $4,108 |
| 43 | Djibouti | $4.62 billion | $3,906 |
| 44 | Burundi | $3.36 billion | $234 |
| 45 | Central African Republic | $3.07 billion | $556 |
| 46 | Cabo Verde | $3.06 billion | $5,796 |
| 47 | Gambia | $2.59 billion | $919 |
| 48 | Lesotho | $2.57 billion | $1,089 |
| 49 | Guinea-Bissau | $2.53 billion | $1,124 |
| 50 | Seychelles | $2.39 billion | $19,449 |
| 51 | Comoros | $1.81 billion | $2,056 |
| 52 | Sao Tome and Principe | $981 million | $4,084 |
Not ranked, no figure for 2025: Eritrea, South Sudan.
More rankings
Africa, ranked another way
How to read this
What this ranking measures
GDP at current prices is the total value of goods and services an economy produces in a year, converted to US dollars at market exchange rates.
Every country of Africa, with the region's combined GDP, population and growth: Africa profile.
Ranks count only countries with a figure for the year shown; tied values share a rank. Figures come from the World Bank. The calculator shows how any of these countries changed since 2019 against its peers.