Ranking of African Countries By GDP in 2018

Updated on July 24, 2024.

Based on data from the World Bank, in 2018, Among all African countries, Nigeria had the highest GDP ($421.74B), followed by South Africa ($405.26B), and Egypt ($262.59B).

The chart below shows the top 10 countries with high GDP, and the table below shows the ranking for all countries.

Data Source: World Bank.
See this for other years:
Ranking of African Countries By GDP in 2018
Nigeria
South Africa
Egypt
Algeria
Morocco
Kenya
Ethiopia
Angola
Libya
Ghana
Ranking of African Countries By GDP in 2018
Items per page:
0 of 0
Rank Country GDP
1 Nigeria 421739251509
2 South Africa 405260723893
3 Egypt 262588632527
4 Algeria 194554483656
5 Morocco 127341147582
6 Kenya 92202979985
7 Ethiopia 84269196626
8 Angola 79450688259
9 Libya 76686029772
10 Ghana 67298914624
11 Ivory Coast 58522477787
12 Tanzania 57003712892
13 Democratic Republic of the Congo 47568210010
14 Tunisia 42686580021
15 Cameroon 39955552190
16 Zimbabwe 34156069918
17 Uganda 32927025620
18 Sudan 32333780383
19 Zambia 26311507274
20 Senegal 23116701556
21 Mali 17070867590
22 Botswana 17031943186
23 Gabon 16867326390
24 Burkina Faso 15890066221
25 Mozambique 15017359042
26 Republic of Congo 14773900278
27 Mauritius 14735695931
28 Benin 14262408090
29 Madagascar 13760033282
30 Namibia 13682018827
31 Equatorial Guinea 13097012134
32 Niger 12837307497
33 Guinea 11857030367
34 Chad 11239167898
35 Malawi 9880675786
36 Rwanda 9637904553
37 Somalia 8278212314
38 Mauritania 7473550557
39 Togo 7029300383
40 Eswatini 4666598024
41 Sierra Leone 4085114388
42 Liberia 3422754800
43 Djibouti 2913466732
44 Burundi 2667182200
45 Lesotho 2556247292
46 Central African Republic 2220979146
47 Cape Verde 2205099507
48 Seychelles 1784313927
49 Gambia 1670671328
50 Guinea-Bissau 1554133594
51 Comoros 1188797449
52 Sao Tome and Principe 383717328
53 Eritrea 0
53 South Sudan 0