Economy · Africa ranking
Government Revenue (% of GDP) by African country
Lesotho has the highest general government revenue as a share of GDP of any African country, at 62.5% — 1.7× Namibia's 36.3%.
General government revenue as a share of GDP. 37 of 54 countries, ranked · IMF MACRO FINANCIAL, 2024.
By region
Full ranking
| # | Country | Government Revenue (% of GDP) | |
|---|---|---|---|
| 1 | Lesotho | 62.5% | |
| 2 | Namibia | 36.3% | |
| 3 | Seychelles | 33.1% | |
| 4 | Eswatini | 31.5% | |
| 5 | Morocco | 29.1% | |
| 6 | Tunisia | 27.9% | |
| 7 | South Africa | 27.2% | |
| 8 | Mozambique | 27.1% | |
| 9 | Republic of the Congo | 25.3% | |
| 10 | Cabo Verde | 25% | |
| 11 | Algeria | 23% | |
| 12 | Rwanda | 22.2% | |
| 13 | Burkina Faso | 22% | |
| 14 | Gabon | 20.9% | |
| 15 | Senegal | 20.1% | |
| 16 | Togo | 19% | |
| 17 | Djibouti | 18% | |
| 18 | Equatorial Guinea | 17.9% | |
| 19 | Burundi | 17.5% | |
| 20 | Kenya | 17.5% | |
| 21 | Angola | 17.4% | |
| 22 | Chad | 16.7% | |
| 23 | Cote d'Ivoire | 16.4% | |
| 24 | Comoros | 16.2% | |
| 25 | Tanzania | 16.1% | |
| 26 | Ghana | 15.9% | |
| 27 | Guinea | 15.6% | |
| 28 | Democratic Republic of the Congo | 15.2% | |
| 29 | Benin | 15% | |
| 30 | Uganda | 14.7% | |
| 31 | Central African Republic | 14.5% | |
| 32 | Madagascar | 13.7% | |
| 33 | Guinea-Bissau | 13.1% | |
| 34 | Nigeria | 10.8% | |
| 35 | Niger | 9.2% | |
| 36 | Ethiopia | 7.5% | |
| 37 | Sudan | 2.9% |
Get this ranking via API
One call to /v1/data returns the latest Government Revenue (% 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=government_revenue_pct_gdp&latest=true&country_codes=NG,KE,ZA,EG" \
-H "Authorization: Bearer $AFRICA_API_KEY"Cite or republish this ranking
Data: Africa API — IMF MACRO FINANCIAL, 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 general government revenue as a share of GDP?
Lesotho has the highest general government revenue as a share of GDP in Africa at 62.5% (2024), followed by Namibia and Seychelles.
Which African country has the lowest general government revenue as a share of GDP?
Sudan has the lowest general government revenue as a share of GDP of the 37 African countries with data, at 2.9% (2024).
How many African countries report Government Revenue (% of GDP) data?
37 of 54 African countries have a recent Government Revenue (% 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=government_revenue_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