Map Options

Metric:
Color Scheme:
map placeholder
GDP (IMF '23)

$0

$50.00 Bn

$100.00 Bn

$150.00 Bn

$200.00 Bn

$250.00 Bn

$300.00 Bn

$350.00 Bn

$400.00 Bn

Click on a country for details.

Richest African Countries 2024

Snapshot

  • Despite widespread poverty and conflict, Africa has fast-growing economies with a potential GDP of $29 trillion by 2050, driven by agriculture, trade, and natural resources.

  • GDP, a key measure of national wealth, shows Nigeria as the richest African country in 2021, primarily due to its large population and petroleum-focused economy.

  • Egypt leads Africa in GDP adjusted for Purchasing Power Parity, reflecting its mixed economy with strengths in tourism, agriculture, fossil fuels, and emerging technology sectors.

Many of the world's poorest nations are in Africa. Numerous African economies are unstable, poverty is widespread, and poor access to vaccines is slowing the entire continent's recovery from the COVID-19 pandemic. Moreover, many African countries, including Cameroon, Chad, Nigeria, and Somalia, are currently at war with either terrorist insurgencies or one another, which puts further strain on their economies.

Despite these challenges, Africa's 54 countries include some of the fastest-growing economies in the world. The African economy is expected to reach a GDP of $29 trillion by 2050, powered by its agriculture, trade, and natural resources sectors. The region has an eager and expanding workforce, with 20 million new job seekers a year in sub-Saharan Africa alone. Africans are starting to catch up with the rest of the world technologically as well: Every day, more than 90,000 residents of sub-Saharan Africa log on to the internet for the first time. Africa may be the least developed of the major continents—even the richest African countries lag far behind the wealthiest countries in the world—but its potential is both substantial and undeniable.

Using gross domestic product (GDP) to measure the wealth of African countries

While there are several ways to compare various nations' wealth, one of the best methods is to evaluate each country's gross domestic product, or GDP. This is the value of all the goods and services produced by a nation in a given year. GDP is typically expressed in one of two ways. The first is in current US dollars (USD or US$). The second method is slightly more complex, but designed to make country-to-country comparisons more precise. In the second method, GDP is first adjusted for Purchasing Power Parity (PPP), which modifies each country's GDP in relation to its local cost of living, then expressed in a fictional currency called international dollars (INT). Results and rankings may differ depending upon which of the two methods is used.

Top 10 Richest African Countries by Overall GDP (current US$ - World Bank)*:

Country
GDP (current US$ millions)
Nigeria$440,834
South Africa$419,015
Egypt$404,143
Algeria$163,044
Morocco$142,866
Ethiopia$111,271
Kenya$110,347
Ghana$77,594
Ivory Coast$70,043
Tanzania$67,841

* Data year 2021 (applies to all tables marked with *)

Top 10 Richest African Countries by Overall GDP*:

Country
GDP (UN '22)
Nigeria$475.06 Bn
Egypt$409.31 Bn
South Africa$405.27 Bn
Algeria$191.91 Bn
Morocco$130.91 Bn
Ethiopia$118.97 Bn
Kenya$113.42 Bn
Angola$113.30 Bn
Ghana$73.77 Bn
Ivory Coast$70.02 Bn

Ranked by GDP in current USD, Nigeria comes out as the richest country in Africa during the year 2021. Nigeria is the most populous country in Africa, with 211 million residents—nearly twice the population of Egypt—contributing to its GDP. Nigeria is a lower-middle-income, mixed economy focused upon petroleum and (to a lesser extent) agriculture. It is also an emerging market with growing financial, service, communications, and technology sectors.

However, in terms of total GDP by PPP-adjusted international dollars (PPP INT$), Egypt ranks as the richest country in Africa for 2021. With 104 million people, Egypt is Africa's third-most populous country. Egypt is also a mixed economy strong in tourism, agriculture, and fossil fuels, with an emerging information and communications technology sector.

Shortcomings of GDP and strengths of GDP per capita and GNI per capita

Although GDP is an extremely valuable metric, it is also quite broad. For example, it disregards the number of citizens contributing to a country's GDP, which means a country with a vast, but less effective workforce can post a higher GDP than a country with a smaller, but more efficient workforce. GDP can also be distorted by the financial sector in tax haven countries (though this is a much greater concern in Europe than in Africa).

To overcome these shortcomings, economists often turn to GDP per capita, which divides gross domestic product by the number of people in the country, and to gross national income (GNI) per capita, which does the same and is less impacted by tax haven activity.

Richest African Countries by GDP per Capita (current US$ - World Bank)*:

Country
GDP Per Capita (Current US$) - WB
Seychelles$14,653
Mauritius$9,106
Gabon$8,635
Equatorial Guinea$7,507
South Africa$7,055
Botswana$6,805
Libya$6,357
Namibia$4,866
Eswatini$3,978
Tunisia$3,807

Switching the measurement to GDP per capita has a significant impact on the list of Africa's richest countries. Seychelles is the richest country when using this metric. The Seychelles economy is primarily driven by fishing, tourism, boat building, processing coconuts and vanilla, and agriculture, especially cinnamon, sweet potatoes, tuna, and bananas. Its public sector contributes the most employment and gross revenue, employing two-thirds of the total labor force.

Although Egypt has the highest total GDP of any African country, it ranks only eighth in terms of GDP per capita. What's more, Nigeria doesn't even make the new list—in fact, it's in 22nd place.

Gross national income (GNI) per capita of African economies

A final metric often used by economists to compare the wealth of different countries is gross national income, or GNI. While GDP measures the value of the goods and services a country creates, GNI measures the total income obtained through those goods and services. GNI also tracks money that enters or exits a country's economy as part of international business activities. This makes GNI a bit better at avoiding the artificially inflated totals that can distort the GDPs of countries that are known international tax shelters.

Richest African Countries by GNI per Capita (Atlas method, current US$ — World Bank)*:

Country
GNI per capita, Atlas method (current US$) - WB
Seychelles$14,540
Mauritius$9,920
Libya$8,700
South Africa$6,530
Gabon$6,440
Botswana$6,430
Equatorial Guinea$5,150
Namibia$4,650
Algeria$3,660
Eswatini$3,650

Once again, Seychelles ranks first, with Mauritius close behind and countries including Botswana, Libya, Equatorial Guinea, and Gabon slotting in underneath. However, Egypt, which had the highest overall GDP in all of Africa, has fallen completely out of the top 10 (it was actually 13th in 2021).

How do Africa's richest countries compare to the richest countries on other continents?

Viewed on a global scale, even Africa's richest nations pale in comparison to those on most other continents. The average GNI per capita in North America was $68,599 USD in 2021, and the European Union's average GNI per capita was $37,779. However, Seychelles is ahead of the 2021 global average of $12,023 USD, and several other African countries have the potential to meet and exceed that goal as well.

Download Table Data

Enter your email below, and you'll receive this table's data in your inbox momentarily.

Country
GDP (IMF '23)
% of Africa GDP
GDP (UN '22)
Per Capita (UN '21)
GNI per capita, Atlas method (current US$) - WB
GDP Per Capita (Current US$) - WB
GDP per capita (PPP INT$)
GDP (current US$ millions)
Seychelles$2.08 Bn0.07%$1.99 Bn$18,426$14,540$14,653$31,596$1,454
Mauritius$14.82 Bn0.52%$12.90 Bn$9,907$9,920$9,106$23,035$11,529
Libya$40.19 Bn1.41%$40.54 Bn$5,821$8,700$6,357$24,131$42,817
South Africa$380.91 Bn13.4%$405.27 Bn$6,642$6,530$7,055$14,624$419,015
Gabon$19.32 Bn0.68%$20.13 Bn$8,103$6,440$8,635$15,176$20,217
Botswana$20.76 Bn0.73%$20.35 Bn$7,483$6,430$6,805$16,304$17,615
Equatorial Guinea$10.04 Bn0.35%$11.77 Bn$6,705$5,150$7,507$16,080$12,269
Namibia$12.65 Bn0.45%$12.61 Bn$4,765$4,650$4,866$10,039$12,311
Algeria$224.11 Bn7.89%$191.91 Bn$4,147$3,660$3,691$12,128$163,044
Eswatini$4.65 Bn0.16%$4.33 Bn$3,541$3,650$3,978$9,730$4,743
Morocco$147.34 Bn5.19%$130.91 Bn$3,426$3,620$3,795$8,853$142,866
Tunisia$51.27 Bn1.8%$46.18 Bn$3,675$3,540$3,807$11,283$46,687
Egypt$398.40 Bn14.02%$409.31 Bn$3,575$3,350$3,699$12,706$404,143
Cape Verde$2.60 Bn0.09%$2.31 Bn$3,830$3,190$3,293$6,717$1,936
Djibouti$3.87 Bn0.14%$4.00 Bn$3,474$3,080$3,150$5,398$3,483
Ivory Coast$79.43 Bn2.8%$70.02 Bn$2,365$2,420$2,549$5,850$70,043
Ghana$76.63 Bn2.7%$73.77 Bn$2,121$2,280$2,363$5,971$77,594
Sao Tome and Principe$674.00 Mn0.02%$546.76 Mn$2,313$2,260$2,361$4,452$527
Nigeria$390.00 Bn13.72%$475.06 Bn$2,073$2,080$2,066$5,408$440,834
Kenya$112.75 Bn3.97%$113.42 Bn$2,018$2,080$2,082$5,211$110,347
Republic of the Congo$14.41 Bn0.51%$15.34 Bn$2,457$1,970$2,290$3,553$13,366
Mauritania$10.36 Bn0.36%$11.00 Bn$2,202$1,950$2,166$5,831$9,996
Angola$93.80 Bn3.3%$113.30 Bn$2,997$1,710$1,954$6,491$67,404
Cameroon$49.26 Bn1.73%$44.34 Bn$1,509$1,590$1,667$4,065$45,338
Comoros$1.36 Bn0.05%$1.25 Bn$1,437$1,580$1,578$3,547$1,296
Senegal$31.14 Bn1.1%$27.78 Bn$1,524$1,570$1,637$3,840$27,625
Zimbabwe$32.42 Bn1.14%$26.42 Bn$1,552$1,530$1,774$2,324$28,371
Benin$19.94 Bn0.7%$17.40 Bn$1,236$1,350$1,319$3,649$17,145
Lesotho$2.37 Bn0.08%$2.29 Bn$971$1,210$1,094$2,522$2,496
Tanzania$84.03 Bn2.96%$0-$1,100$1,099$2,836$67,841
South Sudan$6.27 Bn0.22%$4.62 Bn$409$1,040$1,072$1,182$11,998
Zambia$29.54 Bn1.04%$29.14 Bn$1,379$1,030$1,137$3,556$22,148
Guinea$23.20 Bn0.82%$20.85 Bn$1,435$1,020$1,189$2,901$16,092
Togo$9.11 Bn0.32%$8.09 Bn$873$960$973$2,334$8,413
Ethiopia$155.80 Bn5.48%$118.97 Bn$917$940$925$2,548$111,271
Rwanda$13.93 Bn0.49%$13.31 Bn$924$840$822$2,460$11,070
Burkina Faso$20.79 Bn0.73%$19.18 Bn$804$830$893$2,395$19,738
Mali$21.31 Bn0.75%$18.83 Bn$784$820$874$2,330$19,140
Uganda$52.39 Bn1.84%$48.24 Bn$966$760$884$2,468$40,530
Guinea Bissau$1.99 Bn0.07%$1.57 Bn$717$760$795$2,012$1,639
Gambia$2.39 Bn0.08%$2.23 Bn$785$740$772$2,281$2,038
Sudan$00%$36.73 Bn$744$650$752$4,066$34,326
Chad$12.60 Bn0.44%$16.80 Bn$891$640$686$1,566$11,780
Liberia$4.35 Bn0.15%$3.27 Bn$590$630$676$1,564$3,509
Malawi$13.18 Bn0.46%$12.56 Bn$585$620$635$1,638$12,627
Eritrea$00%$2.38 Bn$624$610$644$1,629$2,065
Niger$17.07 Bn0.6%$15.41 Bn$546$590$591$1,304$14,915
DR Congo$67.51 Bn2.38%$62.55 Bn$592$550$577$1,180$55,351
Sierra Leone$3.52 Bn0.12%$3.48 Bn$388$500$480$1,774$4,042
Madagascar$15.76 Bn0.55%$14.95 Bn$482$490$501$1,608$14,473
Mozambique$21.94 Bn0.77%$18.41 Bn$528$480$492$1,348$15,777
Central African Republic$2.76 Bn0.1%$2.40 Bn$405$480$461$920$2,517
Somalia$11.52 Bn0.41%$10.42 Bn$557$430$447$1,249$7,628
Burundi$3.19 Bn0.11%$4.03 Bn$297$220$222$775$2,780
Total$52.62 Bn100%$51.76 Bn-----
showing: 54 rows

What is the richest country in Africa?

Nigeria is the richest country in Africa when measured by GDP. Egypt is the richest country in Africa by total GDP when that GDP is calculated in PPP-adjusted international dollars, however.

Frequently Asked Questions

Sources