Economy · Africa ranking
Investment (% of GDP) by African country
Mauritania has the highest gross capital formation as a share of GDP of any African country, at 43.1%, ahead of Algeria and Tanzania.
Gross capital formation (investment in fixed assets and inventories) as a share of GDP. 50 of 54 countries, ranked · World Bank — World Development Indicators, 2024.
By region
Full ranking
| # | Country | Investment (% of GDP) | |
|---|---|---|---|
| 1 | Mauritania | 43.1% | |
| 2 | Algeria | 41.1% | |
| 3 | Tanzania | 39.8% | |
| 4 | Senegal | 37.5% | |
| 5 | Botswana | 36% | |
| 6 | Benin | 35.1% | |
| 7 | Democratic Republic of the Congo | 32.5% | |
| 8 | Guinea | 32.1% | |
| 9 | Morocco | 30.1% | |
| 10 | Gambia | 29.9% | |
| 11 | Lesotho | 27.2% | |
| 12 | Republic of the Congo | 26.8% | |
| 13 | Chad | 26.8% | |
| 14 | Somalia | 26.7% | |
| 15 | Rwanda | 25.9% | |
| 16 | Namibia | 25.6% | |
| 17 | Guinea-Bissau | 24.9% | |
| 18 | Togo | 24.5% | |
| 19 | Zambia | 23.8% | |
| 20 | Central African Republic | 23.6% | |
| 21 | Uganda | 22.4% | |
| 22 | Madagascar | 22.2% | |
| 23 | Niger | 22.1% | |
| 24 | Burkina Faso | 21.9% | |
| 25 | Mauritius | 21.2% | |
| 26 | Cote d'Ivoire | 20.9% | |
| 27 | Ethiopia | 20.6% | |
| 28 | Sierra Leone | 20.5% | |
| 29 | Mali | 19.5% | |
| 30 | Gabon | 19.1% | |
| 31 | Cameroon | 18.9% | |
| 32 | Mozambique | 17.7% | |
| 33 | Seychelles | 17.2% | |
| 34 | Kenya | 16.8% | |
| 35 | Cabo Verde | 16.4% | |
| 36 | Eswatini | 15% | |
| 37 | Malawi | 14.5% | |
| 38 | Libya | 14.3% | |
| 39 | South Africa | 14.1% | |
| 40 | Egypt | 13% | |
| 41 | Eritrea | 12.6% | |
| 42 | Comoros | 11.7% | |
| 43 | Angola | 10.4% | |
| 44 | Ghana | 10% | |
| 45 | Equatorial Guinea | 9% | |
| 46 | Zimbabwe | 8.8% | |
| 47 | Tunisia | 7.9% | |
| 48 | South Sudan | 5.8% | |
| 49 | Sudan | 2.9% | |
| 50 | Djibouti | 0.3% |
Get this ranking via API
One call to /v1/data returns the latest Investment (% of GDP) figure for every country you pass — JSON, with source metadata on each observation.
curl "https://api.africa-api.com/v1/data?metric_key=gross_capital_formation_pct_gdp&latest=true&country_codes=NG,KE,ZA,EG" \
-H "Authorization: Bearer $AFRICA_API_KEY"Cite or republish this ranking
Data: Africa API — World 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
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).
Frequently asked questions
Which African country has the highest gross capital formation as a share of GDP?
Mauritania has the highest gross capital formation as a share of GDP in Africa at 43.1% (2024), followed by Algeria and Tanzania.
Which African country has the lowest gross capital formation as a share of GDP?
Djibouti has the lowest gross capital formation as a share of GDP of the 50 African countries with data, at 0.3% (2024).
How many African countries report Investment (% of GDP) data?
50 of 54 African countries have a recent Investment (% of GDP) 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=gross_capital_formation_pct_gdp&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