54 countries · 127 indicators · 45 sourcesLiveGet API key

Economy · Africa ranking

GDP (PPP) by African country

$2.23TEgypt leads · 2024

Egypt has the highest GDP at purchasing power parity of any African country, at $2.23T, 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, 2024.

#1 vs #541514×Egypt vs Sao Tome and Principe
Median$55.41BNiger
Lowest$1.47BSao 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$3.84T
6 countries · led by Egypt
West Africa$3.2T
16 countries · led by Nigeria
East Africa$1.59T
16 countries · led by Ethiopia
Southern Africa$1.29T
7 countries · led by South Africa
Central Africa$941.36B
9 countries · led by Angola

Full ranking

54 of 54 countries
#CountryGDP (PPP)Period
1Egypt
$2.23T2024
2Nigeria
$2.11T2024
3South Africa
$989.31B2024
4Algeria
$824.9B2024
5Ethiopia
$434.15B2024
6Morocco
$402.77B2024
7Angola
$383.35B2024
8Kenya
$374.95B2024
9Tanzania
$280.43B2024
10Ghana
$276.11B2024
11Cote d'Ivoire
$244.91B2024
12Democratic Republic of the Congo
$199B2024
13Tunisia
$178.28B2024
14Uganda
$163.71B2024
15Cameroon
$162.77B2024
16Sudan
$106.74B2024
17Libya
$105.58B2024
18Zimbabwe
$98.61B2024
19Senegal
$93.82B2024
20Zambia
$89.84B2024
21Mali
$81.14B2024
22Burkina Faso
$68.19B2024
23Guinea
$67.36B2024
24Benin
$64.14B2024
25Madagascar
$60.21B2024
26Mozambique
$59.06B2024
27Chad
$55.67B2024
28Niger
$55.41B2024
29Gabon
$54.61B2024
30Rwanda
$52.9B2024
31Botswana
$51.78B2024
32Republic of the Congo
$44.5B2024
33Malawi
$40.23B2024
34Mauritius
$39.67B2024
35Mauritania
$38.09B2024
36Namibia
$35.41B2024
37Equatorial Guinea
$33.25B2024
38Togo
$32.02B2024
39Somalia
$30.45B2024
40Sierra Leone
$30.44B2024
41Burundi
$16.79B2024
42Eswatini
$14.66B2024
43South Sudan
$12.83B2015
44Liberia
$10.5B2024
45Gambia
$9.59B2024
46Djibouti
$9.13B2024
47Lesotho
$7.01B2024
48Guinea-Bissau
$6.87B2024
49Central African Republic
$6.73B2024
50Cabo Verde
$5.88B2024
51Eritrea
$5.22B2011
52Seychelles
$4.03B2024
53Comoros
$3.43B2024
54Sao Tome and Principe
$1.47B2024

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, 2024. 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.23T (2024), 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.47B (2024).

How many African countries report GDP (PPP) data?

54 of 54 African countries have a recent GDP (PPP) figure in the Africa API. Each value links to the country's 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