54 country profiles · 207 indicator definitionsAPI dataGet API key

Economy · Africa ranking

Investment (% of GDP) by African country

45.3%Algeria · highest shown · 2025

Algeria has the highest reported gross capital formation as a share of GDP among the 49 countries shown, at 45.3% (2025).

Gross capital formation (investment in fixed assets and inventories) as a share of GDP. 49 of 54 countries are shown. Open a country to see its source details and available history.

Latest available year varies by country (20232025). Only observations within 2 years of the freshest result are included, and each row shows its period.

#1 vs #49Algeria vs Equatorial Guinea
Median20.1%Ethiopia
Lowest-3.7%Equatorial Guinea

By region

unweighted mean of countries shown
West Africa25.8%
14 countries shown · highest value: Mauritania
East Africa21.4%
13 countries shown · highest value: Tanzania
Southern Africa20.1%
7 countries shown · highest value: Lesotho
North Africa20%
6 countries shown · highest value: Algeria
Central Africa16.7%
9 countries shown · highest value: Democratic Republic of the Congo

Full ranking

49 of 54 countries
#CountryInvestment (% of GDP)Period
1Algeria
45.3%2025
2Mauritania
44.3%2025
3Tanzania
40.7%2025
4Gambia
40.4%2025
5Guinea
37%2025
6Benin
35.8%2025
7Rwanda
34.1%2025
8Morocco
31.9%2025
9Democratic Republic of the Congo
31.7%2025
10Lesotho
31.2%2025
11Republic of the Congo
29.4%2025
12Botswana
29.2%2025
13Somalia
28.1%2025
14Senegal
26.9%2025
15Guinea-Bissau
25.8%2025
16Gabon
24.8%2025
17Mozambique
24.2%2025
18Madagascar
24.1%2025
19Zambia
23.8%2024
20Sierra Leone
23.2%2025
21Uganda
22.6%2025
22Togo
22.4%2023
23Niger
22%2025
24Chad
20.4%2025
25Ethiopia
20.1%2025
26Mali
20%2025
27Mauritius
19.9%2025
28Cameroon
19.3%2025
29Cote d'Ivoire
19.3%2025
30Seychelles
18.7%2025
31Namibia
18.7%2025
32Cabo Verde
17.4%2025
33Burkina Faso
17.2%2025
34Kenya
17%2025
35Malawi
15.7%2025
36Tunisia
15.2%2025
37Eswatini
15%2024
38Libya
14.3%2025
39South Africa
13.9%2025
40Egypt
12.9%2025
41Comoros
11.8%2025
42Angola
10.6%2024
43Ghana
9.9%2024
44Central African Republic
9.3%2025
45Zimbabwe
8.8%2024
46Sao Tome and Principe
8.7%2025
47Djibouti
1.6%2025
48Sudan
0.7%2025
49Equatorial Guinea
-3.7%2025

Get this ranking via API

GET /v1/data

Request the latest available Investment (% of 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=gross_capital_formation_pct_gdp&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/investment-gdp-share" width="100%" height="560" loading="lazy" style="border:1px solid #e3e3e3;border-radius:10px;max-width:640px" title="Investment (% of 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/investment-gdp-share">Investment (% of GDP) by African country — Africa API</a></p>

About this ranking

Which observations are included?

The table includes 49 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