Ranking of African Countries By GDP in 2017

Updated on July 24, 2024.

Based on data from the World Bank, in 2017, Among all African countries, South Africa had the highest GDP ($381.45B), followed by Nigeria ($375.75B), and Egypt ($248.36B).

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 2017
South Africa
Nigeria
Egypt
Algeria
Morocco
Kenya
Ethiopia
Angola
Libya
Ghana
Ranking of African Countries By GDP in 2017
Items per page:
0 of 0
Rank Country GDP
1 South Africa 381448814653
2 Nigeria 375745731053
3 Egypt 248362771739
4 Algeria 189880896903
5 Morocco 118540573368
6 Kenya 82036510877
7 Ethiopia 81770886826
8 Angola 73690154991
9 Libya 67157452182
10 Ghana 60405924079
11 Tanzania 53274884533
12 Ivory Coast 52512343997
13 Tunisia 42163530591
14 Sudan 41283617976
15 Democratic Republic of the Congo 38019264795
16 Cameroon 36098547059
17 Uganda 30744473841
18 Zambia 25873601261
19 Senegal 20996562944
20 Zimbabwe 17584890937
21 Botswana 16105155857
22 Mali 15365713048
23 Gabon 14929487485
24 Burkina Faso 14106955615
25 Mauritius 13713506131
26 Mozambique 13264640646
27 Madagascar 13176313594
28 Namibia 12895153160
29 Benin 12701655837
30 Equatorial Guinea 12200913879
31 Republic of Congo 11834473048
32 Niger 11185104252
33 Guinea 10324668271
34 Chad 10000394381
35 Rwanda 9252834120
36 Malawi 8943543677
37 Somalia 8252394373
38 Mauritania 6800135898
39 Togo 6387422518
40 Eswatini 4402969226
41 Sierra Leone 3719443418
42 Liberia 3390703400
43 Djibouti 2762581334
44 Burundi 2723586963
45 Lesotho 2306741674
46 Central African Republic 2072349973
47 Cape Verde 1996741540
48 Seychelles 1675370641
49 Gambia 1504909463
50 Guinea-Bissau 1469978606
51 Comoros 1077439757
52 Sao Tome and Principe 322002845
53 Eritrea 0
53 South Sudan 0