GDP in Africa · 2025

What country in Africa has the most GDP?

South Africa has the most GDP in Africa, at US$427.18 billion.

Ranking by US$
#CountryShare of #1US$
1 South Africa 427,184,325,997
2 Egypt 365,254,630,180
3 Nigeria 290,794,361,542
4 Algeria 287,031,225,988
5 Morocco 182,374,250,612
6 Kenya 135,941,278,879
7 Ethiopia 126,358,758,448
8 Angola 122,174,889,424
9 Ghana 114,209,905,279
10 Côte d'Ivoire 99,773,555,666
11 DR Congo 91,030,531,317
12 Tanzania 90,143,496,090
13 Uganda 61,985,829,288
14 Sudan 60,162,634,574
15 Cameroon 58,933,453,924
16 Tunisia 57,502,836,548
17 Zimbabwe 51,215,643,906
18 Libya 48,098,909,614
19 Senegal 37,006,536,238
20 Mali 30,069,148,581
21 Zambia 28,879,806,220
22 Guinea 28,346,024,753
23 Burkina Faso 27,627,297,461
24 Benin 24,566,420,904
25 Mozambique 22,337,997,046
26 Niger 21,646,191,388
27 Chad 21,472,835,225
28 Gabon 21,427,119,323
29 Botswana 19,928,479,839
30 Madagascar 19,620,352,036
31 Rwanda 16,372,132,990
32 Republic of the Congo 16,306,633,779
33 Mauritius 16,157,804,492
34 Namibia 15,080,340,654
35 Malawi 14,918,276,698
36 Somalia 12,995,200,000
37 Equatorial Guinea 12,823,210,426
38 Togo 11,889,949,067
39 Mauritania 11,679,910,946
40 Sierra Leone 7,464,157,904
41 Liberia 5,245,938,900
42 Eswatini 5,160,679,613
43 Djibouti 4,624,533,092
44 Burundi 3,364,713,864
45 Central African Republic 3,066,109,226
46 Cabo Verde 3,056,630,435
47 Gambia 2,593,673,988
48 Lesotho 2,573,572,920
49 Guinea-Bissau 2,527,930,273
50 Seychelles 2,387,022,853
51 Comoros 1,814,920,856
52 Sao Tome and Principe 981,293,587

Key facts

Runners-up

Egypt is 2nd and Nigeria 3rd in Africa.

Lead

South Africa has 1.2× the figure of Egypt.

Share of the total

South Africa alone accounts for 13.6% of all 52 ranked countries in Africa.

Top 10

The ten largest together account for 68.4%.

Questions

What country in Africa has the most GDP?

South Africa has the most GDP in Africa, at US$427.18 billion.

What country in Africa has the second most GDP?

Egypt ranks second in Africa, with 365.25 billion US$.

How many countries are in this ranking?

52 countries in Africa with data from World Bank (2025). Territories are not ranked.

↑ ↓ to move↵ to open