Countries by government spending on education, share of government spending
Costa Rica had the highest government spending on education, share of government spending of 166 countries in 2017, at 30.2%. Somalia had the lowest, at 2.2%. The median was 14.2%. Source: UNESCO Institute for Statistics.
Top 40 countries, 2017
Full ranking
| Rank | Countries | 2017 (%) | Change on 2016 |
|---|---|---|---|
| 1 | Costa Rica | 30.2 | +6.7 pts |
| 2 | Namibia | 24.7 | +0.7 pts |
| 3 | Tanzania | 24.4 | +7.2 pts |
| 4 | Ethiopia | 23.3 | +0.3 pts |
| 5 | Togo | 23.1 | +7.1 pts |
| 6 | Guatemala | 23.1 | -0.3 pts |
| 7 | Bhutan | 23 | -1.3 pts |
| 8 | Botswana | 22.8 | +0.8 pts |
| 9 | Uzbekistan | 22.5 | -0.6 pts |
| 10 | Nicaragua | 22.4 | +1.1 pts |
| 11 | Marshall Islands | 22.4 | -2.3 pts |
| 12 | Dominican Republic | 22.3 | +0.4 pts |
| 13 | Morocco | 21.6 | -0.6 pts |
| 14 | Belize | 21.5 | +1 pts |
| 15 | Burkina Faso | 21.4 | |
| 16 | Chile | 21.3 | +0.2 pts |
| 17 | Malaysia | 21.2 | +0.4 pts |
| 18 | Senegal | 21.1 | -0.2 pts |
| 19 | Bolivia | 21 | +0.6 pts |
| 20 | Côte d’Ivoire | 20.6 | -1.8 pts |
| 21 | Mauritius | 20.4 | +0.4 pts |
| 22 | Iran | 20.3 | +0.9 pts |
| 23 | Saint Vincent and the Grenadines | 20.2 | 0 pts |
| 24 | Ghana | 20.1 | -2 pts |
| 25 | Sierra Leone | 19.9 | +7.4 pts |
| 26 | Benin | 19.9 | +1.1 pts |
| 27 | Burundi | 19.8 | -1 pts |
| 28 | Zimbabwe | 19.7 | -3.8 pts |
| 29 | Philippines | 19.6 | +2.9 pts |
| 30 | Micronesia | 19.1 | -2.4 pts |
| 31 | South Africa | 18.7 | +0.7 pts |
| 32 | Eswatini | 18.7 | +2.1 pts |
| 33 | Mozambique | 18.6 | -1.3 pts |
| 34 | Aruba | 18.5 | -3.3 pts |
| 35 | Moldova | 18.4 | -0.2 pts |
| 36 | Jamaica | 18.4 | -0.7 pts |
| 37 | São Tomé and Príncipe | 18.4 | +2.4 pts |
| 38 | Thailand | 18.4 | -1.4 pts |
| 39 | Peru | 18.3 | +0.4 pts |
| 40 | Tajikistan | 18.1 | +1.1 pts |
| 41 | Hong Kong | 17.8 | -0.3 pts |
| 42 | Guyana | 17.7 | -1.1 pts |
| 43 | Kenya | 17.6 | +0.1 pts |
| 44 | Mexico | 17.6 | -0.4 pts |
| 45 | Algeria | 17.6 | +1.4 pts |
| 46 | Suriname | 17.3 | +1.2 pts |
| 47 | Singapore | 17.3 | -0.3 pts |
| 48 | Nepal | 17.1 | -2 pts |
| 49 | Iceland | 17.1 | +1.1 pts |
| 50 | Fiji | 16.8 | +1.6 pts |
| 51 | Mali | 16.5 | +2.6 pts |
| 52 | Cape Verde | 16.4 | -1.4 pts |
| 53 | Chad | 16.4 | |
| 54 | Kyrgyzstan | 16.3 | -0.6 pts |
| 55 | Curaçao | 16.2 | +4.4 pts |
| 56 | Norway | 15.9 | +0.1 pts |
| 57 | Cameroon | 15.9 | +3.2 pts |
| 58 | Panama | 15.9 | +0.3 pts |
| 59 | India | 15.8 | +0.1 pts |
| 60 | Israel | 15.7 | +0.4 pts |
| 61 | Republic of the Congo | 15.7 | +7 pts |
| 62 | Afghanistan | 15.7 | -0.6 pts |
| 63 | Djibouti | 15.6 | +0.5 pts |
| 64 | Sweden | 15.5 | +0.1 pts |
| 65 | Vietnam | 15.5 | -0.1 pts |
| 66 | Switzerland | 15.5 | +0.1 pts |
| 67 | Gambia | 15.4 | +5 pts |
| 68 | Kiribati | 15.3 | -3.2 pts |
| 69 | Gabon | 15.3 | +5 pts |
| 70 | Oman | 15.2 | |
| 71 | Samoa | 15.2 | +2.1 pts |
| 72 | Lesotho | 15.1 | +1.1 pts |
| 73 | New Zealand | 15 | -0.3 pts |
| 74 | Zambia | 14.9 | -0.7 pts |
| 75 | Uruguay | 14.9 | +0.2 pts |
| 76 | Cyprus | 14.8 | -0.6 pts |
| 77 | Haiti | 14.7 | +1.5 pts |
| 78 | Denmark | 14.6 | -0.2 pts |
| 79 | Pakistan | 14.5 | -0.5 pts |
| 80 | Sri Lanka | 14.5 | -3.2 pts |
| 81 | Malawi | 14.3 | -2.9 pts |
| 82 | North Korea | 14.3 | +0.6 pts |
| 83 | Brazil | 14.3 | +0.4 pts |
| 84 | Macao | 14.1 | +0.3 pts |
| 85 | Saint Lucia | 14.1 | -7.9 pts |
| 86 | Grenada | 14.1 | |
| 87 | United States | 13.9 | +0.7 pts |
| 88 | United Kingdom | 13.8 | +0.3 pts |
| 89 | Cuba | 13.6 | -1.4 pts |
| 90 | Russia | 13.5 | +2.5 pts |
| 91 | Guinea | 13.4 | -2.4 pts |
| 92 | Ireland | 13.4 | +0.1 pts |
| 93 | Malta | 13.3 | -0.7 pts |
| 94 | Argentina | 13.3 | -0.1 pts |
| 95 | Saint Kitts and Nevis | 13.3 | -1.1 pts |
| 96 | El Salvador | 13.3 | -0.7 pts |
| 97 | Türkiye | 13.3 | -0.4 pts |
| 98 | Niger | 13.2 | -2.1 pts |
| 99 | San Marino | 13.2 | |
| 100 | Democratic Republic of the Congo | 13.1 | -1.1 pts |
| 101 | Ukraine | 13 | +0.7 pts |
| 102 | Georgia | 13 | +0.3 pts |
| 103 | Barbados | 12.9 | -0.5 pts |
| 104 | Bulgaria | 12.7 | +1.1 pts |
| 105 | Mongolia | 12.6 | -0.4 pts |
| 106 | British Virgin Islands | 12.6 | -0.2 pts |
| 107 | Estonia | 12.5 | -0.5 pts |
| 108 | Albania | 12.4 | -1.2 pts |
| 109 | Belgium | 12.3 | +0.2 pts |
| 110 | Belarus | 12.3 | +0.1 pts |
| 111 | Vanuatu | 12.2 | -0.3 pts |
| 112 | Uganda | 12.2 | -0.3 pts |
| 113 | Canada | 12.2 | +0.1 pts |
| 114 | Finland | 12.1 | -0.4 pts |
| 115 | Latvia | 12 | -0.9 pts |
| 116 | Netherlands | 11.9 | -0.4 pts |
| 117 | Kuwait | 11.9 | +0.6 pts |
| 118 | Bahamas | 11.5 | -0.1 pts |
| 119 | Laos | 11.4 | -1.5 pts |
| 120 | Lithuania | 11.4 | -0.2 pts |
| 121 | Kazakhstan | 11.4 | -2.4 pts |
| 122 | Maldives | 11.4 | +1.5 pts |
| 123 | Rwanda | 11.1 | -1.2 pts |
| 124 | Tonga | 11.1 | |
| 125 | Portugal | 11.1 | |
| 126 | Poland | 11 | -0.2 pts |
| 127 | Turks and Caicos Islands | 11 | -2.1 pts |
| 128 | Puerto Rico | 10.9 | +0.8 pts |
| 129 | Indonesia | 10.9 | -0.4 pts |
| 130 | Jordan | 10.9 | -0.7 pts |
| 131 | Austria | 10.8 | -0 pts |
| 132 | Slovenia | 10.8 | +0.5 pts |
| 133 | Germany | 10.7 | +0.1 pts |
| 134 | Papua New Guinea | 10.7 | +6.6 pts |
| 135 | Armenia | 10.4 | +0.2 pts |
| 136 | Seychelles | 10.3 | -1.4 pts |
| 137 | Myanmar | 10.2 | |
| 138 | Spain | 10.2 | +0.2 pts |
| 139 | Romania | 10.1 | +0.5 pts |
| 140 | Hungary | 9.9 | +0.1 pts |
| 141 | Trinidad and Tobago | 9.9 | -1.9 pts |
| 142 | Slovakia | 9.9 | +0.4 pts |
| 143 | Czechia | 9.8 | -4.2 pts |
| 144 | Dominica | 9.7 | -2.9 pts |
| 145 | France | 9.5 | |
| 146 | Andorra | 9.4 | -0.6 pts |
| 147 | Serbia | 9.3 | +0.6 pts |
| 148 | Central African Republic | 8.9 | +1.6 pts |
| 149 | Croatia | 8.8 | |
| 150 | Qatar | 8.6 | |
| 151 | Luxembourg | 8.4 | |
| 152 | Italy | 8.3 | +0.5 pts |
| 153 | Timor-Leste | 8.2 | +1 pts |
| 154 | Bermuda | 7.8 | |
| 155 | Liberia | 7.8 | |
| 156 | Gibraltar | 7.6 | -0.4 pts |
| 157 | Bahrain | 7.2 | -2.4 pts |
| 158 | Antigua and Barbuda | 7.2 | +0.7 pts |
| 159 | Lebanon | 7.1 | -0 pts |
| 160 | Greece | 7.1 | |
| 161 | Monaco | 7 | +0.4 pts |
| 162 | Azerbaijan | 7 | -1.2 pts |
| 163 | Angola | 6.8 | +0.2 pts |
| 164 | Nauru | 6.5 | +1.5 pts |
| 165 | Nigeria | 6.1 | -0.5 pts |
| 166 | Somalia | 2.2 | +0.9 pts |
Other periods
About this ranking
General government expenditure on education as a percentage of total general government expenditure on all sectors. Calculated and published by the UNESCO Institute for Statistics.
A share of the government budget, not of GDP; for that see education_expenditure_gdp. UIS divides by total government spending from IMF figures or, for some countries, from government budget documents, so a recent year can be revised. Countries only; UIS publishes no World figure.
Every value in the ranking comes from the same publisher and the same period, so the countries are compared on one definition. 34 countries with data in other periods have no value for 2017 and are left out rather than filled from another source. Equal values share a rank.
How to cite
Source: UNESCO Institute for Statistics (UIS). Government expenditure on education, total, % of government expenditure (SE.XPD.TOTL.GB.ZS). Retrieved through World Bank World Development Indicators (data.worldbank.org). https://data.worldbank.org/indicator/SE.XPD.TOTL.GB.ZS. Retrieved 2026-10-12. Licensed under CC BY-SA 4.0. UIS does not endorse Invokely or this use of the data.
Use this data in your AI agent
Invokely serves this figure to AI assistants through MCP and to code through a REST API, with the source and citation attached. Ask your assistant:
Rank Countries by government spending on education, share of government spending using official data, and cite the source.
rank_places {"indicator":"education_expenditure_govt_share","level":"country","limit":10}
GET https://invokely.ai/api/v1/rank?indicator=education_expenditure_govt_share&level=country&limit=10
Questions
Which country has the highest government spending on education, share of government spending?
Costa Rica, with 30.2% in 2017, according to UNESCO Institute for Statistics.
Which country has the lowest government spending on education, share of government spending?
Somalia, with 2.2% in 2017.
Where does this ranking come from?
Every value comes from one source and one period, so the places are comparable: UNESCO Institute for Statistics, Government expenditure on education, total, % of government expenditure (SE.XPD.TOTL.GB.ZS). Retrieved 2026-10-12. 34 countries have no value for 2017 and are not ranked.