Total Investment (% of GDP) by Country, 2004–2026 — Bar Chart Race
This bar chart race ranks 43 countries by total Investment (% of GDP) (Percent of GDP), year by year from 2004 to 2026. The data comes from IMF AFR Regional Economic Outlook (October 2026) (via IMF — World Economic Outlook and IMF Data).
Customise this chart & export videoDownload the data (CSV)
Key facts
- Mozambique leads in 2026 with 46.37 Percent of GDP, followed by Gabon (39.91).
- In 2004 the leader was São Tomé and Príncipe with 51.16 Percent of GDP.
- Among today’s top ten, Benin grew the most: 2.4× since 2004.
- The animation covers 23 time steps from 2004 to 2026 across 43 countries.
How the ranking changed
First place changed hands 12 times between 2004 and 2026: Cabo Verde overtook São Tomé and Príncipe in 2005, Congo overtook Cabo Verde in 2007, São Tomé and Príncipe overtook Congo in 2008, Congo overtook São Tomé and Príncipe in 2009 and São Tomé and Príncipe overtook Congo in 2010, among others. Mozambique had the longest run at the top (2012–2014).
The biggest climbers into the 2026 top ten were Benin (30th in 2004, now 3rd), Lesotho (18th in 2004, now 5th) and Gabon (11th in 2004, now 2nd).
Gabon, Benin, Lesotho, Botswana and Ethiopia were not in the top ten in 2004 but are in it by 2026.
Top 10 in 2026
| Rank | Name | Value (Percent of GDP) |
|---|---|---|
| 1 | Mozambique | 46.37 |
| 2 | Gabon | 39.91 |
| 3 | Benin | 36.92 |
| 4 | Tanzania | 36.23 |
| 5 | Lesotho | 34.31 |
| 6 | Zambia | 33.36 |
| 7 | Chad | 33.05 |
| 8 | Botswana | 30.42 |
| 9 | Equatorial Guinea | 29.18 |
| 10 | Ethiopia | 28.73 |
Top 10 in 2004
| Rank | Name | Value (Percent of GDP) |
|---|---|---|
| 1 | São Tomé and Príncipe | 51.16 |
| 2 | Cabo Verde | 40.25 |
| 3 | Ghana | 38.65 |
| 4 | Zambia | 37.01 |
| 5 | Equatorial Guinea | 35.04 |
| 6 | Chad | 33.26 |
| 7 | Angola | 32.7 |
| 8 | Eswatini | 32.69 |
| 9 | Mozambique | 28.6 |
| 10 | Tanzania | 27.94 |
Top 5 over time
| Period | #1 | #2 | #3 | #4 | #5 |
|---|---|---|---|---|---|
| 2004 | São Tomé and Príncipe51.16% | Cabo Verde40.25% | Ghana38.65% | Zambia37.01% | Equatorial Guinea35.04% |
| 2010 | São Tomé and Príncipe56.82% | Congo47.19% | Ghana45.72% | Cabo Verde44.96% | Seychelles36.62% |
| 2020 | Mozambique44.83% | Tanzania38.48% | South Sudan35.99% | Senegal35.41% | Botswana32.79% |
| 2026 | Mozambique46.37% | Gabon39.91% | Benin36.92% | Tanzania36.23% | Lesotho34.31% |
About the data
Source: IMF AFR Regional Economic Outlook (October 2026) (via IMF — World Economic Outlook and IMF Data), licensed IMF copyright; reuse with attribution. Snapshot last refreshed on . Gaps in a series are interpolated between the nearest reported values.
Questions
Which country ranks first for total Investment (% of GDP) in 2026?
Mozambique, with 46.37%. Gabon is second with 39.91% and Benin third.
Which country was first in 2004?
São Tomé and Príncipe, with 51.16%. By 2026 it ranks 11th or lower.
When did Mozambique become the top country?
Mozambique took first place in 2026, overtaking Gabon.
What were the top 5 countries in 2020?
1. Mozambique (44.83%), 2. Tanzania (38.48%), 3. South Sudan (35.99%), 4. Senegal (35.41%) and 5. Botswana (32.79%).
Where does the data come from?
IMF AFR Regional Economic Outlook (October 2026) (via IMF — World Economic Outlook and IMF Data), published under IMF copyright; reuse with attribution. The chart covers 23 time steps from 2004 to 2026 for 43 countries.
Can I export the bar chart race as a video?
Yes. The chart is rendered frame by frame in your browser and saved as an MP4 (H.264) file at up to 4K and 60 frames per second. Nothing is uploaded, so your data stays on your device.
More bar chart races
- Trade Balance (% of GDP) by Country
- Net Foreign Direct Investment (% of GDP) by Country
- External Debt, Official Debt, Debtor Based (% of GDP) by Country
- Trade as a Share of GDP by Country
- GDP per Capita by Country
- Number of Income/consumption Surveys in the Past Decade Available Via the World Bank by Country
- Taxes on Incomes of Individuals and Corporations as Share of GDP by Country
- Taxes on Goods and Services as Share of GDP by Country
- All economy charts