54 countries · 127 indicators · 45 sourcesLiveGet API key

Economy · Africa ranking

GDP (PPP) by African country

$2.39TEgypt leads · 2025

Egypt has the highest GDP at purchasing power parity of any African country, at $2.39T, ahead of Nigeria and South Africa.

Gross domestic product at purchasing power parity, in current international dollars. 54 of 54 countries, ranked · World Bank — World Development Indicators, 2025.

Latest available year varies by country (20112025); each row shows its year, and values more than 5 years behind the most recent are marked .

#1 vs #541558×Egypt vs Sao Tome and Principe
Median$60.67BRwanda
Lowest$1.53BSao Tome and Principe

By region

regional total

The top 5 countries account for 61% of Africa's total GDP at purchasing power parity.

North Africa$4.13T
6 countries · led by Egypt
West Africa$3.45T
16 countries · led by Nigeria
East Africa$1.73T
16 countries · led by Ethiopia
Southern Africa$1.35T
7 countries · led by South Africa
Central Africa$995.41B
9 countries · led by Angola

Full ranking

54 of 54 countries
#CountryGDP (PPP)Period
1Egypt
$2.39T2025
2Nigeria
$2.26T2025
3South Africa
$1.03T2025
4Algeria
$881.65B2025
5Ethiopia
$490.64B2025
6Morocco
$433.71B2025
7Kenya
$403.64B2025
8Angola
$400.21B2025
9Tanzania
$305.6B2025
10Ghana
$301.91B2025
11Cote d'Ivoire
$268.53B2025
12Democratic Republic of the Congo
$216.62B2025
13Tunisia
$188.11B2025
14Uganda
$179.21B2025
15Cameroon
$172.94B2025
16Libya
$123.23B2025
17Sudan
$113.26B2025
18Zimbabwe
$109.68B2025
19Senegal
$103.43B2025
20Zambia
$95.97B2025
21Mali
$88.27B2025
22Guinea
$74.51B2025
23Burkina Faso
$73.95B2025
24Benin
$71.36B2025
25Madagascar
$63.93B2025
26Chad
$60.97B2025
27Niger
$60.78B2025
28Rwanda
$60.67B2025
29Mozambique
$60.5B2025
30Gabon
$57.62B2025
31Botswana
$53.03B2025
32Republic of the Congo
$47B2025
33Malawi
$42.19B2025
34Mauritius
$41.87B2025
35Mauritania
$40.8B2025
36Namibia
$37.07B2025
37Togo
$35.05B2025
38Sierra Leone
$32.78B2025
39Somalia
$32.29B2025
40Equatorial Guinea
$31.27B2025
41Burundi
$17.96B2025
42Eswatini
$15.74B2025
43South Sudan
$12.83B ⚠ ’152015
44Liberia
$11.35B2025
45Gambia
$10.46B2025
46Djibouti
$10.01B2025
47Lesotho
$7.53B2025
48Guinea-Bissau
$7.41B2025
49Central African Republic
$7.24B2025
50Cabo Verde
$6.42B2025
51Eritrea
$5.22B ⚠ ’112011
52Seychelles
$4.4B2025
53Comoros
$3.74B2025
54Sao Tome and Principe
$1.53B2025

Get this ranking via API

GET /v1/data

One call to /v1/data returns the latest GDP (PPP) figure for every country you pass — JSON, with source metadata on each observation.

curl "https://api.africa-api.com/v1/data?metric_key=gdp_ppp_current_intl&latest=true&country_codes=NG,KE,ZA,EG" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Cite or republish this ranking

Data: Africa APIWorld Bank — World Development Indicators, 2025. Free to republish with a link to this page. Pull the live figures via the API above so your version never goes stale.

Embed this ranking

free · auto-updating

Drop this chart into your article or site — it stays live as the data updates. Paste the snippet anywhere HTML is allowed (a citation link is included).

<iframe src="https://africa-api.com/embed/gdp-ppp" width="100%" height="560" loading="lazy" style="border:1px solid #e3e3e3;border-radius:10px;max-width:640px" title="GDP (PPP) by African country — Africa API"></iframe>
<p style="font:13px/1.5 system-ui,sans-serif;margin:.5rem 0"><a href="https://africa-api.com/data/gdp-ppp">GDP (PPP) by African country — Africa API</a></p>

Frequently asked questions

Which African country has the highest GDP at purchasing power parity?

Egypt has the highest GDP at purchasing power parity in Africa at $2.39T (2025), followed by Nigeria and South Africa.

Which African country has the lowest GDP at purchasing power parity?

Sao Tome and Principe has the lowest GDP at purchasing power parity of the 54 African countries with data, at $1.53B (2025).

How many African countries report GDP (PPP) data?

54 of 54 African countries have a GDP (PPP) figure in the Africa API, each from the latest year available for that country (which can differ between countries, here 2011–2025). Every value links to its full series with source and history.

How do I get this ranking via API?

Call GET /v1/data?metric_key=gdp_ppp_current_intl&latest=true with the country codes you need and a free Africa API key — the response returns the latest value per country as JSON.

More economy rankings