World Ranking · Data for Every Country
Largest Economies in Africa
Which African economies lead in nominal GDP for 2024?
South Africa and Egypt are the largest African economies by nominal GDP in 2024, with $401.1 billion and $386.1 billion respectively. Together they account for a substantial share of the continent's output. The full table below ranks 52 African countries by nominal GDP, providing a comprehensive view of economic size across the region. Nominal GDP measures the market value of all final goods and services produced in a country in a given year, expressed in current US dollars. This ranking reflects the relative economic weight of each nation, though it does not account for purchasing power parity or income distribution. The data show a wide range, from South Africa's $401.1 billion to São Tomé and Principe's $0.8 billion. The table includes GDP per capita and real GDP growth for each country, offering additional context on economic performance and living standards. All figures are for the reference year 2024.
What is GDP (nominal)?
Gross domestic product (GDP) is the total value of all final goods and services produced inside a country in a year. It is the standard measure of the size of an economy.
How it is measured. Calculated as the sum of gross value added by all resident producers, plus product taxes and minus subsidies not already counted in output. Nominal GDP is expressed in current US dollars, converted from national currency at official exchange rates, so it moves with both real activity and currency swings.
How to read it. A higher figure means a larger economy, not a richer population. Compare with GDP per capita for living standards, and with PPP GDP when exchange rates distort the picture.
Source: World Bank WDI. See our methodology.
Largest Economies in Africa, 2024
| # | Country | GDP | GDP per Capita | GDP Growth |
|---|---|---|---|---|
| 1 | South Africa | $401.1B | $6,316 | 0.53% |
| 2 | Egypt | $386.1B | $3,454 | 2.40% |
| 3 | Algeria | $269.2B | $5,763 | 3.70% |
| 4 | Nigeria | $252.2B | $1,084 | 4.06% |
| 5 | Morocco | $160.6B | $4,225 | 3.79% |
| 6 | Kenya | $119.8B | $2,204 | 4.72% |
| 7 | Angola | $108.1B | $2,850 | 4.42% |
| 8 | Côte d'Ivoire | $87.1B | $2,726 | 6.01% |
| 9 | Ghana | $82.6B | $2,398 | 5.64% |
| 10 | Tanzania | $79.0B | $1,201 | 5.49% |
| 11 | Congo, Democratic Republic of | $72.7B | $686 | 6.29% |
| 12 | Uganda | $55.1B | $1,142 | 6.17% |
| 13 | Cameroon | $53.8B | $1,849 | 3.49% |
| 14 | Tunisia | $52.1B | $4,236 | 1.63% |
| 15 | Libya | $48.4B | $6,782 | 1.91% |
| 16 | Zimbabwe | $45.3B | $2,695 | 1.74% |
| 17 | Sudan | $39.4B | $789 | -18.66% |
| 18 | Senegal | $32.8B | $1,766 | 6.23% |
| 19 | Zambia | $25.8B | $1,216 | 3.93% |
| 20 | Mali | $24.8B | $1,012 | 4.85% |
| 21 | Guinea | $24.6B | $1,633 | 5.71% |
| 22 | Burkina Faso | $23.1B | $982 | 4.80% |
| 23 | Mozambique | $22.7B | $655 | 2.15% |
| 24 | Benin | $21.5B | $1,484 | 7.45% |
| 25 | Gabon | $20.9B | $8,744 | 3.37% |
| 26 | Niger | $19.9B | $721 | 10.30% |
| 27 | Chad | $19.7B | $1,019 | 3.85% |
| 28 | Botswana | $19.4B | $7,406 | -2.99% |
| 29 | Madagascar | $17.4B | $557 | 4.20% |
| 30 | Congo, Republic of | $15.2B | $2,412 | 2.35% |
| 31 | Mauritius | $15.0B | $11,950 | 4.93% |
| 32 | Rwanda | $14.3B | $1,014 | 8.89% |
| 33 | Namibia | $13.4B | $4,442 | 3.71% |
| 34 | Equatorial Guinea | $12.8B | $7,387 | 0.89% |
| 35 | Somalia, Fed. Rep. | $12.1B | $683 | 4.11% |
| 36 | Malawi | $11.6B | $514 | 1.74% |
| 37 | Mauritania | $11.0B | $2,270 | 6.31% |
| 38 | Togo | $10.2B | $1,072 | 5.92% |
| 39 | Sierra Leone | $7.4B | $854 | 4.36% |
| 40 | Eswatini | $4.9B | $4,072 | 2.88% |
| 41 | Liberia | $4.8B | $851 | 4.02% |
| 42 | South Sudan | $4.6B | $301 | -26.14% |
| 43 | Djibouti | $4.2B | $3,833 | 6.75% |
| 44 | Burundi | $4.0B | $282 | 3.83% |
| 45 | Central African Republic | $2.8B | $524 | 1.71% |
| 46 | Cape Verde | $2.7B | $5,261 | 7.24% |
| 47 | Gambia | $2.4B | $868 | 5.44% |
| 48 | Lesotho | $2.3B | $973 | 2.52% |
| 49 | Guinea-Bissau | $2.2B | $1,057 | 4.47% |
| 50 | Seychelles | $2.2B | $19,744 | 3.21% |
| 51 | Comoros | $1.4B | $1,642 | 3.34% |
| 52 | São Tomé and Principe | $825.1M | $3,504 | 1.10% |
Reference year 2024; 52 countries. Sources: World Bank WDI. Values are current-year figures as published; the European Union aggregate is excluded.
Download the full table as CSV. Cite this page: GDPIndex, “Largest Economies in Africa”, 2024, https://gdpindex.org/world/largest-economies-in-africa/.
Top of the Ranking
Top of the Ranking
South Africa leads the table with a nominal GDP of USD 401.1 billion, ahead of Egypt at USD 386.1 billion. The gap between first and second is USD 15.0 billion, or 3.9 per cent of South Africa's total. Both economies exceed USD 380 billion, and no other listed country reaches USD 270 billion. South Africa's GDP per capita of USD 6,315.92 is nearly double Egypt's USD 3,454.38, though its real growth of 0.53 per cent is the lowest among the top fifteen.
The USD 250 Billion Tier
Algeria ranks third at USD 269.2 billion, followed by Nigeria at USD 252.2 billion. The two are separated by USD 17.0 billion, a margin similar to the gap at the top of the table. Nigeria's GDP per capita of USD 1,083.83 is the lowest in the top ten and less than one fifth of Algeria's USD 5,762.64. Growth rates diverge: Algeria expanded 3.7 per cent in real terms, Nigeria 4.06 per cent. Nigeria's population effect is visible in the per capita figure, which sits below Tanzania's USD 1,200.71.
Concentration and Separation
The five largest economies account for 53.5 per cent of the combined GDP of the listed countries, and the top ten for 70.8 per cent. The median GDP across the 52 listed economies is USD 19.8 billion, so South Africa's total is 20.3 times the median. Morocco, fifth at USD 160.6 billion, is 2.0 times the median. The drop from Morocco to Kenya at USD 119.8 billion is USD 40.8 billion, larger than the entire GDP of Tunisia at USD 52.1 billion.
Growth Versus Scale
Rank does not track growth. Côte d'Ivoire, eighth at USD 87.1 billion, recorded 6.01 per cent real growth, the second highest in the top fifteen after the Democratic Republic of the Congo at 6.29 per cent. South Africa, first by scale, grew 0.53 per cent. Egypt, second, grew 2.4 per cent. Among the top five, Algeria's 3.7 per cent and Nigeria's 4.06 per cent exceed Morocco's 3.79 per cent only marginally. Scale and momentum are distinct measures across this group.
- South Africa: USD 401.1 billion, 0.53 per cent growth
- Egypt: USD 386.1 billion, 2.4 per cent growth
- Algeria: USD 269.2 billion, 3.7 per cent growth
- Nigeria: USD 252.2 billion, 4.06 per cent growth
- Morocco: USD 160.6 billion, 3.79 per cent growth
Concentration and Spread
Concentration and Spread
Across the 52 listed economies, the top five account for 53.5% of combined nominal GDP and the top ten for 70.8%. South Africa ranks first at USD 401.1 billion, ahead of Egypt at USD 386.1 billion and Algeria at USD 269.2 billion. Nigeria ranks fourth at USD 252.2 billion, followed by Morocco at USD 160.6 billion. The median economy on the list records USD 19.8 billion, so the largest single economy is 20.3 times the median. Output is therefore concentrated at the top of the distribution rather than spread evenly across the 52 economies.
The Tail of the Distribution
The smallest listed economies are far below the leaders. Lesotho records USD 2.3 billion, Guinea-Bissau and Seychelles USD 2.2 billion each, Comoros USD 1.4 billion and São Tomé and Principe USD 0.8 billion. The gap between South Africa at USD 401.1 billion and São Tomé and Principe at USD 0.8 billion is roughly 500-fold. Seychelles, however, records GDP per capita of USD 19,743.89, above South Africa at USD 6,315.92 and Libya at USD 6,782.48. Aggregate size and income per head therefore diverge sharply within the same list.
Growth Across the Spread
Real GDP growth does not track nominal size. The Democratic Republic of the Congo records 6.29% growth on GDP of USD 72.7 billion, Uganda 6.17% on USD 55.1 billion and Côte d'Ivoire 6.01% on USD 87.1 billion. South Africa, the largest economy, records 0.53% growth, and Tunisia 1.63% on USD 52.1 billion. Egypt records 2.4% on USD 386.1 billion. Smaller economies in the tail post mixed rates: Guinea-Bissau 4.47% and Comoros 3.34%, against São Tomé and Principe at 1.1%.
Summary Figures
- Listed economies: 52
- Median nominal GDP: USD 19.8 billion
- Top economy versus median: 20.3 times
- Top five share of listed total: 53.5%
- Top ten share of listed total: 70.8%
Caveats and Alternative Measures
Nominal GDP as a Ranking Basis
Nominal GDP measures total output at current prices and does not adjust for population size or price levels. South Africa ranks first at USD 401.1 billion, ahead of Egypt at USD 386.1 billion, a gap of USD 15.0 billion. The 52 listed economies have a median nominal GDP of USD 19.8 billion, so the top entry is 20.3 times the median. The five largest economies account for 53.5 per cent of the listed total, and the ten largest for 70.8 per cent.
GDP per Capita Reorders the List
Dividing output by population changes the picture. Libya ranks 15th by nominal GDP at USD 48.4 billion, yet its GDP per capita of USD 6,782.48 exceeds South Africa's USD 6,315.92. Nigeria ranks fourth at USD 252.2 billion, but its GDP per capita is USD 1,083.83. The Democratic Republic of the Congo ranks 11th at USD 72.7 billion with USD 685.64 per capita. Seychelles, outside the top 15, records USD 19,743.89 per capita on GDP of USD 2.2 billion.
Growth Rates and Base Effects
Real GDP growth is a separate measure from level. Among the top 15, Côte d'Ivoire records 6.01 per cent and the Democratic Republic of the Congo 6.29 per cent, against 0.53 per cent for South Africa and 1.63 per cent for Tunisia. A smaller economy can post faster growth without changing its rank. Uganda, 12th at USD 55.1 billion, grew 6.17 per cent, while Cameroon, 13th at USD 53.8 billion, grew 3.49 per cent.
Further Limitations
- Exchange rate movements alter nominal USD figures year to year.
- Price level differences are not captured without purchasing power parity adjustment.
- Informal activity is unevenly recorded across the 52 listed economies.
- Per capita figures use total population, including non-working cohorts.
The brief lists 52 economies, from South Africa at USD 401.1 billion to São Tomé and Principe at USD 0.8 billion. Rankings by nominal GDP, GDP per capita and growth therefore produce different orderings of the same set.
Frequently asked questions
Which is the largest economy in Africa by nominal GDP in 2024?
South Africa ranks first with a nominal GDP of USD 401.1 billion in 2024, according to the dataset. Its GDP per capita stands at USD 6,315.92, and real GDP growth was 0.53 per cent. Egypt follows closely in second place with USD 386.1 billion, a difference of USD 15 billion. The top two economies together account for a substantial share of the continent's output. South Africa's lead is narrow, and exchange rate movements or revisions could alter the ranking in subsequent years.
How many African countries have a GDP above USD 100 billion?
Seven African countries recorded nominal GDP above USD 100 billion in 2024: South Africa (USD 401.1 billion), Egypt (USD 386.1 billion), Algeria (USD 269.2 billion), Nigeria (USD 252.2 billion), Morocco (USD 160.6 billion), Kenya (USD 119.8 billion), and Angola (USD 108.1 billion). The median GDP across the 52 listed countries is USD 19.8 billion, so these seven are well above the typical level. The top five alone contribute 53.5 per cent of the total GDP of the listed countries, indicating a high degree of concentration.
What is the GDP per capita of the largest African economies?
GDP per capita varies widely among the largest economies. Libya, ranked 15th by total GDP, has the highest GDP per capita in the top 15 at USD 6,782.48. South Africa follows with USD 6,315.92, then Algeria at USD 5,762.64. Nigeria, despite being the fourth-largest economy, has a GDP per capita of only USD 1,083.83, reflecting its large population. Egypt's GDP per capita is USD 3,454.38. These figures illustrate that total GDP size does not directly translate into higher average income levels across the continent.
Which African countries have the fastest real GDP growth in 2024?
Among the top 15 economies, the Democratic Republic of the Congo recorded the highest real GDP growth at 6.29 per cent, followed by Uganda at 6.17 per cent and Côte d'Ivoire at 6.01 per cent. Ghana grew by 5.64 per cent and Tanzania by 5.49 per cent. In contrast, South Africa, the largest economy, grew by only 0.53 per cent, and Tunisia by 1.63 per cent. The data show that smaller or more diversified economies often expand faster than the continent's largest nominal GDP holders, though growth rates do not necessarily reflect absolute economic size.
What are the smallest economies in Africa by nominal GDP in 2024?
The bottom five African economies by nominal GDP in 2024 are São Tomé and Principe (USD 0.8 billion), Comoros (USD 1.4 billion), Seychelles (USD 2.2 billion), Guinea-Bissau (USD 2.2 billion), and Lesotho (USD 2.3 billion). Despite their small total GDP, some have relatively high GDP per capita: Seychelles stands at USD 19,743.89, far above the continental median. São Tomé and Principe has a GDP per capita of USD 3,503.72. These economies are ranked 48th to 52nd out of 52 listed countries, highlighting the wide disparity in economic size across Africa.