← Agent Data Hub · All datasets · This dataset

Government expense (% of GDP): Africa (2017)

Government expense (% of GDP) across Africa (AFRICA, 58 members), 2017: highest Lesotho with 39.7153 % of GDP, lowest Somalia with 3.1388 % of GDP; 34 of 58 members have a value for 2017.

Source: World Bank World Development Indicators, as of 2026-11-30. Same table as CSV or JSON (no key) · Ranking: 10 highest and 10 lowest with rank · World ranking

Each member's full series: https://api.agentdatahub.de/api/v1/series/wb.GC.XPN.TOTL.GD.ZS.{code}, e.g. LS.

PlaceCodeValue (% of GDP), 2017
LesothoLS39.7153
NamibiaNA38.5621
South AfricaZA33.2518
BotswanaBW28.155
EswatiniSZ27.072
KenyaKE25.1285
MoroccoMA22.6793
MauritiusMU21.9285
ZambiaZM20.9221
SenegalSN19.8176
RwandaRW18.8531
Cape VerdeCV18.6695
Burkina FasoBF18.4898
MozambiqueMZ17.6257
GhanaGH17.3552
BurundiBI17.0213
Congo - BrazzavilleCG16.0397
TanzaniaTZ15.7387
GabonGA15.6675
Côte d’IvoireCI14.9472
AngolaAO14.3467
MalawiMW13.2445
Guinea-BissauGW13.1636
TogoTG11.5121
UgandaUG11.258
EthiopiaET11.2325
MadagascarMG10.5891
CameroonCM10.5272
MaliML10.4968
Equatorial GuineaGQ9.9021
ZimbabweZW9.7828
Central African RepublicCF8.6768
Congo - KinshasaCD7.8363
SomaliaSO3.1388

Missing, not in the archive (the publisher has no value for this member): Benin (BJ), Djibouti (DJ), Algeria (DZ), Western Sahara (EH), Eritrea (ER), Comoros (KM), Libya (LY), Mauritania (MR), Nigeria (NG), Réunion (RE), St. Helena (SH), Sierra Leone (SL), South Sudan (SS), São Tomé & Príncipe (ST), Chad (TD), Mayotte (YT).

Missing, no value for 2017 yet (newest value of each in last): Sudan (SD: 9.7262 % of GDP in 2016), Egypt (EG: 30.2304 % of GDP in 2015), Tunisia (TN: 33.7641 % of GDP in 2012), Seychelles (SC: 24.6171 % of GDP in 2008), Guinea (GN: 6.4695 % of GDP in 1992), Gambia (GM: 17.1601 % of GDP in 1990), Liberia (LR: 34.3777 % of GDP in 1982), Niger (NE: 10.1645 % of GDP in 1980).

One row per member of Africa with a value for 2017, the newest period at least 80 % of the members the publisher covers have; highest first. Rows and missing together are all 58 members (member list as of 2026-11-15).

Other groups

European Union · Euro area · Group of Seven · Group of Twenty · OECD (members) · Association of Southeast Asian Nations · BRICS · Organization of the Petroleum Exporting Countries · Gulf Cooperation Council · African Union · Nordic Region · Africa · Asia · Europe · North America · South America · Oceania · The Americas · World (all countries) · High-income economies (World Bank) · Upper-middle-income economies (World Bank) · Lower-middle-income economies (World Bank) · Low-income economies (World Bank) · East Asia & Pacific (World Bank region) · Europe & Central Asia (World Bank region) · Latin America & Caribbean (World Bank region) · Middle East, North Africa, Afghanistan & Pakistan (World Bank region) · North America (World Bank region) · South Asia (World Bank region) · Sub-Saharan Africa (World Bank region)

Source and licence

Source: World Bank World Development Indicators · Licence: World Bank CC-BY 4.0 Open Data · terms · As of: 2026-11-30 (newest update of the series in this archive) · Checked: 2026-11-30 (oldest of the series shown) · Publisher page