54 country profiles · 207 indicator definitionsAPI dataGet API key

Economy · Africa ranking

GDP by African country

$479.96BSouth Africa · highest shown · 2026

South Africa has the highest reported gross domestic product among the 53 countries shown, at $479.96B (2026).

Gross domestic product in current US dollars. 53 of 54 countries are shown. Open a country to see its source details and available history.

#1 vs #53413×South Africa vs Sao Tome and Principe
Median$23.36BGabon
Lowest$1.16BSao Tome and Principe

By region

total of countries shown

The 5 largest values account for 50% of the total across the countries shown.

North Africa$1.1T
6 countries shown · highest value: Egypt
West Africa$848.06B
16 countries shown · highest value: Nigeria
Southern Africa$625.94B
7 countries shown · highest value: South Africa
East Africa$571.29B
15 countries shown · highest value: Kenya
Central Africa$425.29B
9 countries shown · highest value: Angola

Full ranking

53 of 54 countries
#CountryGDPPeriod
1South Africa
$479.96B2026
2Egypt
$429.65B2026
3Nigeria
$377.37B2026
4Algeria
$317.17B2026
5Morocco
$194.33B2026
6Angola
$152.35B2026
7Kenya
$147.27B2026
8Democratic Republic of the Congo
$123.41B2026
9Ethiopia
$121.53B2026
10Ghana
$118.29B2026
11Cote d'Ivoire
$112.12B2026
12Tanzania
$94.89B2026
13Uganda
$73.37B2026
14Cameroon
$65.14B2026
15Tunisia
$60.75B2026
16Zimbabwe
$56.71B2026
17Libya
$52.45B2026
18Sudan
$44.69B2026
19Zambia
$41.24B2026
20Senegal
$40.47B2026
21Mali
$33.85B2026
22Burkina Faso
$32.51B2026
23Guinea
$29.93B2026
24Benin
$27.79B2026
25Chad
$25.63B2026
26Niger
$24.81B2026
27Gabon
$23.36B2026
28Mozambique
$23.28B2026
29Botswana
$21.94B2026
30Madagascar
$21.19B2026
31Malawi
$18.15B2026
32Rwanda
$17.34B2026
33Namibia
$17.31B2026
34Mauritius
$17.12B2026
35Republic of the Congo
$17.03B2026
36Mauritania
$14.35B2026
37Somalia
$14.17B2026
38Equatorial Guinea
$13.72B2026
39Togo
$13.44B2026
40Sierra Leone
$8.27B2026
41Burundi
$8.14B2026
42South Sudan
$6.07B2026
43Eswatini
$5.79B2026
44Liberia
$5.64B2026
45Djibouti
$4.73B2026
46Central African Republic
$3.49B2026
47Cabo Verde
$3.45B2026
48Guinea-Bissau
$2.99B2026
49Lesotho
$2.97B2026
50Gambia
$2.79B2026
51Seychelles
$2.25B2026
52Comoros
$1.81B2026
53Sao Tome and Principe
$1.16B2026

Get this ranking via API

GET /v1/data

Request the latest available GDP values for the selected countries as JSON. The response includes source metadata; check reporting periods before comparing values.

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

Cite or republish this ranking

Check the original source's reuse conditions before republishing. Keep each observation's source and reporting period with the value, and link to this page. See the terms and source metadata reference.

Embed this ranking

iframe snippet

Paste this snippet into a page that supports iframes. The chart loads the available ranking observations and includes their reporting periods. A link to this page is included.

<iframe src="https://africa-api.com/embed/gdp" width="100%" height="560" loading="lazy" style="border:1px solid #e3e3e3;border-radius:10px;max-width:640px" title="GDP 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">GDP by African country — Africa API</a></p>

About this ranking

Which observations are included?

The table includes 53 of 54 countries with available observations for 2023 or later and within 2 years of the freshest result. Each row shows its reporting period. Countries without an eligible observation are omitted.

Does a higher value mean a better result?

The table is sorted by value, from highest to lowest. The order does not rate a country's performance. Interpretation depends on the indicator and its definition.

More economy rankings