Gross domestic product in Africa

52 countries in Africa, 2025. Unit: current US$. World ranking →

First in the ranking
427.2 bn US$
Median country
21.6 bn US$
half above, half below
World total
118.4 tn US$
World Bank aggregate
Range
981.3 mn to 427.2 bn
São Tomé and Principe - South Africa

How to read it

Across 52 countries in Africa, the highest value is in South Africa (427,184,325,997 US$) and the lowest in São Tomé and Principe (981,293,587 US$).

The median country is at 21,559,513,307 US$: half are above, half below.

Gross domestic product is the total income earned through the production of goods and services in an economic territory during an accounting period. It can be measured in three different ways: using either the expenditure approach, the income approach, or the production approach. This indicator is expressed in current prices, meaning no adjustment has been made to account for price changes over time. This indicator…

Compare selected countries · on the world map

Source: Country official statistics, National Statistical Organizations and/or Central Banks; National Accounts data files, Organisation for Economic Co-operation and… · via World Bank WDI (NY.GDP.MKTP.CD) · licence

GDP over time

US$

Ranking of countries

2025
In chart Share of the highest value
1South Africa427.2 bn
2Egypt365.3 bn
3Nigeria290.8 bn
4Algeria287 bn
5Morocco182.4 bn
6Kenya135.9 bn
7Ethiopia126.4 bn
8Angola122.2 bn
9Ghana114.2 bn
10Côte d'Ivoire99.8 bn
11Democratic Republic of the Congo91 bn
12Tanzania90.1 bn
13Uganda62 bn
14Sudan60.2 bn
15Cameroon58.9 bn
16Tunisia57.5 bn
17Zimbabwe51.2 bn
18Libya48.1 bn
19Senegal37 bn
20Mali30.1 bn
21Zambia28.9 bn
22Guinea28.3 bn
23Burkina Faso27.6 bn
24Benin24.6 bn
25Mozambique22.3 bn
26Niger21.6 bn
27Chad21.5 bn
28Gabon21.4 bn
29Botswana19.9 bn
30Madagascar19.6 bn
31Rwanda16.4 bn
32Republic of the Congo16.3 bn
33Mauritius16.2 bn
34Namibia15.1 bn
35Malawi14.9 bn
36Somalia13 bn
37Equatorial Guinea12.8 bn
38Togo11.9 bn
39Mauritania11.7 bn
40Sierra Leone7.5 bn
41Liberia5.2 bn
42Eswatini5.2 bn
43Djibouti4.6 bn
44Burundi3.4 bn
45Central African Republic3.1 bn
46Cabo Verde3.1 bn
47The Gambia2.6 bn
48Lesotho2.6 bn
49Guinea-Bissau2.5 bn
50Seychelles2.4 bn
51Comoros1.8 bn
52São Tomé and Principe981.3 mn
World Bank, WDI · NY.GDP.MKTP.CD · 2025 · CC BY 4.0 Source and licence

Tick a country in the table to add it to the chart above, up to six at a time. The ranking uses the latest year for which at least half of the countries have a value; countries without a value that year are not listed.