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.

Highest30.2Costa Rica
Lowest2.2Somalia
Median14.2166 countries

Top 40 countries, 2017

Costa Rica: 30.2 %Costa Rica30.2Namibia: 24.7 %Namibia24.7Tanzania: 24.4 %Tanzania24.4Ethiopia: 23.3 %Ethiopia23.3Togo: 23.1 %Togo23.1Guatemala: 23.1 %Guatemala23.1Bhutan: 23 %Bhutan23Botswana: 22.8 %Botswana22.8Uzbekistan: 22.5 %Uzbekistan22.5Nicaragua: 22.4 %Nicaragua22.4Marshall Islands: 22.4 %Marshall Islands22.4Dominican Republic: 22.3 %Dominican Republic22.3Morocco: 21.6 %Morocco21.6Belize: 21.5 %Belize21.5Burkina Faso: 21.4 %Burkina Faso21.4Chile: 21.3 %Chile21.3Malaysia: 21.2 %Malaysia21.2Senegal: 21.1 %Senegal21.1Bolivia: 21 %Bolivia21Côte d’Ivoire: 20.6 %Côte d’Ivoire20.6Mauritius: 20.4 %Mauritius20.4Iran: 20.3 %Iran20.3Saint Vincent and the Grenadines: 20.2 %Saint Vincent and the Grenadines20.2Ghana: 20.1 %Ghana20.1Sierra Leone: 19.9 %Sierra Leone19.9Benin: 19.9 %Benin19.9Burundi: 19.8 %Burundi19.8Zimbabwe: 19.7 %Zimbabwe19.7Philippines: 19.6 %Philippines19.6Micronesia: 19.1 %Micronesia19.1South Africa: 18.7 %South Africa18.7Eswatini: 18.7 %Eswatini18.7Mozambique: 18.6 %Mozambique18.6Aruba: 18.5 %Aruba18.5Moldova: 18.4 %Moldova18.4Jamaica: 18.4 %Jamaica18.4São Tomé and Príncipe: 18.4 %São Tomé and Príncipe18.4Thailand: 18.4 %Thailand18.4Peru: 18.3 %Peru18.3Tajikistan: 18.1 %Tajikistan18.1
%. Source: UNESCO Institute for Statistics, Government expenditure on education, total, % of government expenditure (SE.XPD.TOTL.GB.ZS) via World Bank, World Development Indicators. Retrieved 2026-10-12.

Full ranking

RankCountries2017 (%)Change on 2016
1Costa Rica30.2+6.7 pts
2Namibia24.7+0.7 pts
3Tanzania24.4+7.2 pts
4Ethiopia23.3+0.3 pts
5Togo23.1+7.1 pts
6Guatemala23.1-0.3 pts
7Bhutan23-1.3 pts
8Botswana22.8+0.8 pts
9Uzbekistan22.5-0.6 pts
10Nicaragua22.4+1.1 pts
11Marshall Islands22.4-2.3 pts
12Dominican Republic22.3+0.4 pts
13Morocco21.6-0.6 pts
14Belize21.5+1 pts
15Burkina Faso21.4n/a
16Chile21.3+0.2 pts
17Malaysia21.2+0.4 pts
18Senegal21.1-0.2 pts
19Bolivia21+0.6 pts
20Côte d’Ivoire20.6-1.8 pts
21Mauritius20.4+0.4 pts
22Iran20.3+0.9 pts
23Saint Vincent and the Grenadines20.20 pts
24Ghana20.1-2 pts
25Sierra Leone19.9+7.4 pts
26Benin19.9+1.1 pts
27Burundi19.8-1 pts
28Zimbabwe19.7-3.8 pts
29Philippines19.6+2.9 pts
30Micronesia19.1-2.4 pts
31South Africa18.7+0.7 pts
32Eswatini18.7+2.1 pts
33Mozambique18.6-1.3 pts
34Aruba18.5-3.3 pts
35Moldova18.4-0.2 pts
36Jamaica18.4-0.7 pts
37São Tomé and Príncipe18.4+2.4 pts
38Thailand18.4-1.4 pts
39Peru18.3+0.4 pts
40Tajikistan18.1+1.1 pts
41Hong Kong17.8-0.3 pts
42Guyana17.7-1.1 pts
43Kenya17.6+0.1 pts
44Mexico17.6-0.4 pts
45Algeria17.6+1.4 pts
46Suriname17.3+1.2 pts
47Singapore17.3-0.3 pts
48Nepal17.1-2 pts
49Iceland17.1+1.1 pts
50Fiji16.8+1.6 pts
51Mali16.5+2.6 pts
52Cape Verde16.4-1.4 pts
53Chad16.4n/a
54Kyrgyzstan16.3-0.6 pts
55Curaçao16.2+4.4 pts
56Norway15.9+0.1 pts
57Cameroon15.9+3.2 pts
58Panama15.9+0.3 pts
59India15.8+0.1 pts
60Israel15.7+0.4 pts
61Republic of the Congo15.7+7 pts
62Afghanistan15.7-0.6 pts
63Djibouti15.6+0.5 pts
64Sweden15.5+0.1 pts
65Vietnam15.5-0.1 pts
66Switzerland15.5+0.1 pts
67Gambia15.4+5 pts
68Kiribati15.3-3.2 pts
69Gabon15.3+5 pts
70Oman15.2n/a
71Samoa15.2+2.1 pts
72Lesotho15.1+1.1 pts
73New Zealand15-0.3 pts
74Zambia14.9-0.7 pts
75Uruguay14.9+0.2 pts
76Cyprus14.8-0.6 pts
77Haiti14.7+1.5 pts
78Denmark14.6-0.2 pts
79Pakistan14.5-0.5 pts
80Sri Lanka14.5-3.2 pts
81Malawi14.3-2.9 pts
82North Korea14.3+0.6 pts
83Brazil14.3+0.4 pts
84Macao14.1+0.3 pts
85Saint Lucia14.1-7.9 pts
86Grenada14.1n/a
87United States13.9+0.7 pts
88United Kingdom13.8+0.3 pts
89Cuba13.6-1.4 pts
90Russia13.5+2.5 pts
91Guinea13.4-2.4 pts
92Ireland13.4+0.1 pts
93Malta13.3-0.7 pts
94Argentina13.3-0.1 pts
95Saint Kitts and Nevis13.3-1.1 pts
96El Salvador13.3-0.7 pts
97Türkiye13.3-0.4 pts
98Niger13.2-2.1 pts
99San Marino13.2n/a
100Democratic Republic of the Congo13.1-1.1 pts
101Ukraine13+0.7 pts
102Georgia13+0.3 pts
103Barbados12.9-0.5 pts
104Bulgaria12.7+1.1 pts
105Mongolia12.6-0.4 pts
106British Virgin Islands12.6-0.2 pts
107Estonia12.5-0.5 pts
108Albania12.4-1.2 pts
109Belgium12.3+0.2 pts
110Belarus12.3+0.1 pts
111Vanuatu12.2-0.3 pts
112Uganda12.2-0.3 pts
113Canada12.2+0.1 pts
114Finland12.1-0.4 pts
115Latvia12-0.9 pts
116Netherlands11.9-0.4 pts
117Kuwait11.9+0.6 pts
118Bahamas11.5-0.1 pts
119Laos11.4-1.5 pts
120Lithuania11.4-0.2 pts
121Kazakhstan11.4-2.4 pts
122Maldives11.4+1.5 pts
123Rwanda11.1-1.2 pts
124Tonga11.1n/a
125Portugal11.1n/a
126Poland11-0.2 pts
127Turks and Caicos Islands11-2.1 pts
128Puerto Rico10.9+0.8 pts
129Indonesia10.9-0.4 pts
130Jordan10.9-0.7 pts
131Austria10.8-0 pts
132Slovenia10.8+0.5 pts
133Germany10.7+0.1 pts
134Papua New Guinea10.7+6.6 pts
135Armenia10.4+0.2 pts
136Seychelles10.3-1.4 pts
137Myanmar10.2n/a
138Spain10.2+0.2 pts
139Romania10.1+0.5 pts
140Hungary9.9+0.1 pts
141Trinidad and Tobago9.9-1.9 pts
142Slovakia9.9+0.4 pts
143Czechia9.8-4.2 pts
144Dominica9.7-2.9 pts
145France9.5n/a
146Andorra9.4-0.6 pts
147Serbia9.3+0.6 pts
148Central African Republic8.9+1.6 pts
149Croatia8.8n/a
150Qatar8.6n/a
151Luxembourg8.4n/a
152Italy8.3+0.5 pts
153Timor-Leste8.2+1 pts
154Bermuda7.8n/a
155Liberia7.8n/a
156Gibraltar7.6-0.4 pts
157Bahrain7.2-2.4 pts
158Antigua and Barbuda7.2+0.7 pts
159Lebanon7.1-0 pts
160Greece7.1n/a
161Monaco7+0.4 pts
162Azerbaijan7-1.2 pts
163Angola6.8+0.2 pts
164Nauru6.5+1.5 pts
165Nigeria6.1-0.5 pts
166Somalia2.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

Connect Claude, ChatGPT or Cursor in one step. The trial answers 25 calls a day without an account.

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.

Government spending on education, share of government spending: other rankings

Countries: more rankings