CountryLens Country intelligence

Home / Rankings / Africa

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

52 countries
RankCountryGDP, current US$, 2025GDP per capita, current US$
1South Africa$427 billion$6,598
2Egypt$365 billion$3,086
3Nigeria$291 billion$1,224
4Algeria$287 billion$6,051
5Morocco$182 billion$4,746
6Kenya$136 billion$2,363
7Ethiopia$126 billion$933
8Angola$122 billion$3,129
9Ghana$114 billion$3,257
10Cote d'Ivoire$99.8 billion$3,050
11Democratic Republic of the Congo$91.0 billion$807
12Tanzania$90.1 billion$1,278
13Uganda$62.0 billion$1,206
14Sudan$60.2 billion$1,165
15Cameroon$58.9 billion$1,972
16Tunisia$57.5 billion$4,657
17Zimbabwe$51.2 billion$3,021
18Libya$48.1 billion$6,449
19Senegal$37.0 billion$1,955
20Mali$30.1 billion$1,193
21Zambia$28.9 billion$1,318
22Guinea$28.3 billion$1,877
23Burkina Faso$27.6 billion$1,148
24Benin$24.6 billion$1,658
25Mozambique$22.3 billion$627
26Niger$21.6 billion$775
27Chad$21.5 billion$1,022
28Gabon$21.4 billion$8,263
29Botswana$19.9 billion$7,778
30Madagascar$19.6 billion$599
31Rwanda$16.4 billion$1,124
32Republic of the Congo$16.3 billion$2,515
33Mauritius$16.2 billion$12,991
34Namibia$15.1 billion$4,876
35Malawi$14.9 billion$672
36Somalia$13.0 billion$661
37Equatorial Guinea$12.8 billion$6,615
38Togo$11.9 billion$1,384
39Mauritania$11.7 billion$2,198
40Sierra Leone$7.46 billion$846
41Liberia$5.25 billion$915
42Eswatini$5.16 billion$4,108
43Djibouti$4.62 billion$3,906
44Burundi$3.36 billion$234
45Central African Republic$3.07 billion$556
46Cabo Verde$3.06 billion$5,796
47Gambia$2.59 billion$919
48Lesotho$2.57 billion$1,089
49Guinea-Bissau$2.53 billion$1,124
50Seychelles$2.39 billion$19,449
51Comoros$1.81 billion$2,056
52Sao Tome and Principe$981 million$4,084

Not ranked, no figure for 2025: Eritrea, South Sudan.

More rankings

Africa, ranked another way

All countries of Africa →

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.