Geopolitix Atlas

GeopolitixAtlas › Country rankings

Country rankings

Which countries spend more on the military than on education?

Ukraine devotes the largest share of its government spending to defence, 54%, followed by Belarus (50.7%) and Myanmar (29.1%). At the other extreme, Mauritania puts 31.9% of its budget into education, the highest share in the world. Both figures are shares of government spending, not of GDP. Data: World Bank, defence 2018–2024 and education 2016–2025.

The largest defence shares of government spending

Military expenditure as a share of central government spending.
#CountryDefence budget
1 Ukraine54%
2 Belarus50.7%
3 Myanmar29.1%
4 Qatar26.9%
5 Saudi Arabia22.3%
6 Somalia21.6%
7 Algeria21.4%
8 Oman20.1%
9 Singapore20.1%
10 Israel20%
Source: World Bank · data 2018–2024 · 147 countries ranked · the same table Geopolitix rounds are drawn from.

Two budgets, two maps

The defence map darkens across the conflict zones and the Gulf; the education map darkens across sub-Saharan Africa and central Asia, where young populations and small states put schooling at the centre of the budget. Reading them together is the exercise: very few countries are dark on both.

Which countries spend more on the military than on education? Defence budget · 147 countries ranked · shaded by rank, five equal groups 1. Ukraine 54% · 2. Belarus 50.7% · 3. Myanmar 29.1% Afghanistan: 10.3% (28th of 147)Albania: 6.6% (55th of 147)Algeria: 21.4% (7th of 147)Angola: 4.9% (79th of 147)Argentina: 1.9% (136th of 147)Armenia: 18.3% (12th of 147)Australia: 5% (78th of 147)Austria: 1.9% (138th of 147)Azerbaijan: 15.2% (16th of 147)Bahamas: no dataBangladesh: 6.9% (53rd of 147)Belarus: 50.7% (2nd of 147)Belgium: 2.4% (128th of 147)Belize: 3.8% (107th of 147)Benin: 3.8% (106th of 147)Bhutan: no dataBolivia: 3.7% (109th of 147)Bosnia and Herzegovina: 1.7% (140th of 147)Botswana: 8% (43rd of 147)Brazil: 2.1% (131st of 147)Brunei: 12.1% (24th of 147)Bulgaria: 5.5% (69th of 147)Burkina Faso: 17% (14th of 147)Burundi: 12.5% (23rd of 147)Cambodia: 8.8% (38th of 147)Cameroon: 6.1% (60th of 147)Canada: 3.1% (119th of 147)Central African Republic: 14.1% (18th of 147)Chad: 17.2% (13th of 147)Chile: 5.8% (65th of 147)China: 5.1% (76th of 147)Colombia: 10.1% (30th of 147)Congo: 5.4% (74th of 147)Costa Rica: no dataCroatia: 3.8% (108th of 147)Cuba: no dataCyprus: 4.2% (96th of 147)Czechia: 4.3% (91st of 147)DR Congo: 7.1% (50th of 147)Denmark: 5.1% (77th of 147)Djibouti: no dataDominican Republic: 4% (103rd of 147)Ecuador: 5.5% (70th of 147)Egypt: 2.9% (122nd of 147)El Salvador: 3.8% (105th of 147)Equatorial Guinea: 4.7% (82nd of 147)Eritrea: no dataEstonia: 7.5% (46th of 147)Ethiopia: 6.9% (52nd of 147)Fiji: 4.3% (93rd of 147)Finland: 4.1% (102nd of 147)France: 3.6% (112th of 147)Gabon: 6.6% (57th of 147)Gambia: 2.5% (127th of 147)Georgia: 6.1% (62nd of 147)Germany: 3.9% (104th of 147)Ghana: 1.8% (139th of 147)Greece: 6.6% (56th of 147)Guatemala: 2.7% (125th of 147)Guinea: 12.8% (21st of 147)Guinea-Bissau: 5.8% (67th of 147)Guyana: 3.7% (110th of 147)Haiti: 1.6% (141st of 147)Honduras: 5.8% (66th of 147)Hungary: 4.4% (88th of 147)Iceland: no dataIndia: 7.6% (45th of 147)Indonesia: 4.6% (83rd of 147)Iran: 12.6% (22nd of 147)Iraq: 4.9% (80th of 147)Ireland: 1% (146th of 147)Israel: 20% (10th of 147)Italy: 3.2% (118th of 147)Ivory Coast: 3.7% (111th of 147)Jamaica: 4.1% (100th of 147)Japan: 3.3% (115th of 147)Jordan: 14.4% (17th of 147)Kazakhstan: 1.9% (135th of 147)Kenya: 4.4% (89th of 147)Kuwait: 9.7% (32nd of 147)Kyrgyzstan: 8.4% (40th of 147)Laos: no dataLatvia: 7.5% (47th of 147)Lebanon: 8.9% (36th of 147)Lesotho: 2.5% (126th of 147)Liberia: 3.2% (116th of 147)Libya: 5.5% (71st of 147)Lithuania: 7.9% (44th of 147)Luxembourg: 2% (134th of 147)Madagascar: 4.2% (94th of 147)Malawi: 3.5% (114th of 147)Malaysia: 4.5% (86th of 147)Mali: 16.6% (15th of 147)Mauritania: 9.6% (33rd of 147)Mexico: 3% (121st of 147)Moldova: 1.6% (142nd of 147)Mongolia: 2% (133rd of 147)Montenegro: 4.2% (97th of 147)Morocco: 10.7% (27th of 147)Mozambique: 6.1% (59th of 147)Myanmar: 29.1% (3rd of 147)Namibia: 7.1% (51st of 147)Nepal: 4.1% (99th of 147)Netherlands: 4.3% (90th of 147)New Zealand: 2.8% (123rd of 147)Nicaragua: 1.9% (137th of 147)Niger: 13.8% (20th of 147)Nigeria: 3.1% (120th of 147)North Korea: no dataNorth Macedonia: 5.6% (68th of 147)Norway: 4.5% (85th of 147)Oman: 20.1% (8th of 147)Pakistan: 13.8% (19th of 147)Panama: no dataPapua New Guinea: 1.3% (144th of 147)Paraguay: 4.5% (87th of 147)Peru: 4.1% (101st of 147)Philippines: 5.4% (72nd of 147)Poland: 8.5% (39th of 147)Portugal: 3.6% (113th of 147)Qatar: 26.9% (4th of 147)Romania: 5.8% (64th of 147)Russia: 18.9% (11th of 147)Rwanda: 4.2% (95th of 147)Saudi Arabia: 22.3% (5th of 147)Senegal: 5.4% (73rd of 147)Serbia: 6.1% (63rd of 147)Sierra Leone: no dataSlovakia: 4.3% (92nd of 147)Slovenia: 2.7% (124th of 147)Somalia: 21.6% (6th of 147)South Africa: 2.1% (130th of 147)South Korea: 11.3% (25th of 147)South Sudan: 8.2% (42nd of 147)Spain: 3.2% (117th of 147)Sri Lanka: 7.3% (49th of 147)Sudan: 9.5% (34th of 147)Suriname: no dataSweden: 4.1% (98th of 147)Switzerland: 2.3% (129th of 147)Syria: no dataTaiwan: no dataTajikistan: 6.2% (58th of 147)Tanzania: 6.1% (61st of 147)Thailand: 4.5% (84th of 147)Togo: 8.4% (41st of 147)Tunisia: 7.3% (48th of 147)Turkey: no dataTurkmenistan: no dataUganda: 10.1% (31st of 147)Ukraine: 54% (1st of 147)United Arab Emirates: no dataUnited Kingdom: 5.3% (75th of 147)United States: 9.1% (35th of 147)Uruguay: 6.8% (54th of 147)Uzbekistan: 11.1% (26th of 147)Vanuatu: no dataVenezuela: no dataVietnam: 8.8% (37th of 147)Yemen: no dataZambia: 4.8% (81st of 147)Zimbabwe: 1.3% (143rd of 147) Bahrain: 10.2% (29th of 147)Cape Verde: 2% (132nd of 147)Malta: 1.3% (145th of 147)Mauritius: 0.5% (147th of 147)Singapore: 20.1% (9th of 147) 3 Myanmar · 29.1% 2 Belarus · 50.7% 1 Ukraine · 54% Rank 1–29 30–58 59–88 89–117 118–147 no data GEOPOLITIX geopolitix.live · the daily country-ranking game Source: World Bank · 2018–2024
Hover or tap any country for its value. Tap a legend colour to isolate a band.
Defence budget, 147 countries, shaded by rank. Source: World Bank · data 2018–2024. Projection: Equal Earth, so every country's area is honestly proportioned.
And the same budget, seen the other way: Education budget · 156 countries ranked · shaded by rank, five equal groups 1. Mauritania 31.9% · 2. Kenya 28.5% · 3. Turkmenistan 27.6% Afghanistan: 15.7% (42nd of 156)Albania: 10.9% (111th of 156)Algeria: 15.5% (46th of 156)Angola: 6.5% (153rd of 156)Argentina: 13.2% (75th of 156)Armenia: 8.7% (137th of 156)Australia: 12.6% (84th of 156)Austria: 10% (126th of 156)Azerbaijan: 11.9% (97th of 156)Bahamas: 10.6% (116th of 156)Bangladesh: 11.9% (99th of 156)Belarus: 12.3% (88th of 156)Belgium: 12% (93rd of 156)Belize: 18.9% (23rd of 156)Benin: 18% (26th of 156)Bhutan: 22.2% (7th of 156)Bolivia: 20.2% (17th of 156)Bosnia and Herzegovina: 10.2% (122nd of 156)Botswana: 21.5% (10th of 156)Brazil: 12.9% (80th of 156)Brunei: 11.4% (106th of 156)Bulgaria: 12% (95th of 156)Burkina Faso: 20.3% (16th of 156)Burundi: 10.3% (120th of 156)Cambodia: 11.6% (104th of 156)Cameroon: 13.8% (69th of 156)Canada: 10.7% (115th of 156)Central African Republic: 10% (124th of 156)Chad: 16.5% (36th of 156)Chile: 18.4% (25th of 156)China: 11.9% (98th of 156)Colombia: no dataCongo: 14.7% (53rd of 156)Costa Rica: 20.4% (15th of 156)Croatia: 8.5% (140th of 156)Cuba: 17% (34th of 156)Cyprus: 12.5% (87th of 156)Czechia: 10% (123rd of 156)DR Congo: 13.2% (78th of 156)Denmark: 14.2% (64th of 156)Djibouti: 14.5% (56th of 156)Dominican Republic: 20.9% (12th of 156)Ecuador: 15.5% (47th of 156)Egypt: no dataEl Salvador: 15.9% (41st of 156)Equatorial Guinea: no dataEritrea: no dataEstonia: 13% (79th of 156)Ethiopia: 16.7% (35th of 156)Fiji: 13.8% (70th of 156)Finland: 12.1% (92nd of 156)France: 9.1% (135th of 156)Gabon: 13.6% (72nd of 156)Gambia: 14.2% (60th of 156)Georgia: 12.2% (90th of 156)Germany: 10.7% (114th of 156)Ghana: 13.2% (76th of 156)Greece: 6.4% (154th of 156)Guatemala: 17.3% (33rd of 156)Guinea: 9.2% (134th of 156)Guinea-Bissau: no dataGuyana: 7.2% (151st of 156)Haiti: 13.2% (77th of 156)Honduras: 23.2% (6th of 156)Hungary: 7.8% (147th of 156)Iceland: 15.7% (43rd of 156)India: 14.2% (65th of 156)Indonesia: 10.6% (117th of 156)Iran: 18.8% (24th of 156)Iraq: no dataIreland: 12.3% (89th of 156)Israel: 16.1% (38th of 156)Italy: 7.4% (149th of 156)Ivory Coast: 17.6% (31st of 156)Jamaica: 17.9% (29th of 156)Japan: no dataJordan: 9.8% (129th of 156)Kazakhstan: 22% (9th of 156)Kenya: 28.5% (2nd of 156)Kuwait: 13.8% (68th of 156)Kyrgyzstan: 19.6% (18th of 156)Laos: 8.2% (145th of 156)Latvia: 9.9% (127th of 156)Lebanon: 8.6% (138th of 156)Lesotho: 10.4% (118th of 156)Liberia: 7.4% (150th of 156)Libya: no dataLithuania: 11.7% (101st of 156)Luxembourg: 8.4% (142nd of 156)Madagascar: 18% (27th of 156)Malawi: 16% (39th of 156)Malaysia: 14.1% (66th of 156)Mali: 17.8% (30th of 156)Mauritania: 31.9% (1st of 156)Mexico: 14.2% (59th of 156)Moldova: 16% (40th of 156)Mongolia: 13.8% (71st of 156)Montenegro: no dataMorocco: 23.3% (5th of 156)Mozambique: 20.5% (14th of 156)Myanmar: 9.7% (131st of 156)Namibia: 24.6% (4th of 156)Nepal: 10.8% (113th of 156)Netherlands: 12% (96th of 156)New Zealand: 12.7% (82nd of 156)Nicaragua: 11% (110th of 156)Niger: 12.8% (81st of 156)Nigeria: 3% (156th of 156)North Korea: 14.6% (54th of 156)North Macedonia: no dataNorway: 14.5% (57th of 156)Oman: 14.2% (63rd of 156)Pakistan: 9.8% (130th of 156)Panama: 16.3% (37th of 156)Papua New Guinea: 3.5% (155th of 156)Paraguay: 11.7% (102nd of 156)Peru: 19.2% (21st of 156)Philippines: 15.2% (51st of 156)Poland: 10% (125th of 156)Portugal: 10.4% (119th of 156)Qatar: 9.3% (133rd of 156)Romania: 8.8% (136th of 156)Russia: 14.3% (58th of 156)Rwanda: 13.9% (67th of 156)Saudi Arabia: 15.6% (44th of 156)Senegal: 20.9% (11th of 156)Serbia: 8.4% (143rd of 156)Sierra Leone: 20.6% (13th of 156)Slovakia: 10.8% (112th of 156)Slovenia: 11.1% (109th of 156)Somalia: 8.1% (146th of 156)South Africa: 19.1% (22nd of 156)South Korea: no dataSouth Sudan: no dataSpain: 9.9% (128th of 156)Sri Lanka: 7.2% (152nd of 156)Sudan: no dataSuriname: 8.6% (139th of 156)Sweden: 15.3% (50th of 156)Switzerland: 15.4% (49th of 156)Syria: no dataTaiwan: no dataTajikistan: 19.3% (20th of 156)Tanzania: 13.4% (74th of 156)Thailand: 12.6% (85th of 156)Togo: 11.7% (103rd of 156)Tunisia: 17.3% (32nd of 156)Turkey: 11.3% (107th of 156)Turkmenistan: 27.6% (3rd of 156)Uganda: 8.5% (141st of 156)Ukraine: 12.7% (83rd of 156)United Arab Emirates: 14.8% (52nd of 156)United Kingdom: 11.8% (100th of 156)United States: 11.3% (108th of 156)Uruguay: 15.6% (45th of 156)Uzbekistan: 22.1% (8th of 156)Vanuatu: 19.3% (19th of 156)Venezuela: 10.3% (121st of 156)Vietnam: 15.5% (48th of 156)Yemen: no dataZambia: 14.5% (55th of 156)Zimbabwe: 17.9% (28th of 156) Andorra: 12.1% (91st of 156)Bahrain: 8.3% (144th of 156)Barbados: 14.2% (61st of 156)Cape Verde: 13.4% (73rd of 156)Comoros: 11.5% (105th of 156)Maldives: 9.7% (132nd of 156)Malta: 12.5% (86th of 156)Mauritius: 14.2% (62nd of 156)Monaco: 7.7% (148th of 156)Singapore: 12% (94th of 156) 3 Turkmenistan · 27.6% 2 Kenya · 28.5% 1 Mauritania · 31.9% Rank 1–31 32–62 63–93 94–124 125–156 no data GEOPOLITIX geopolitix.live · the daily country-ranking game Source: World Bank · 2016–2025
Hover or tap any country for its value. Tap a legend colour to isolate a band.
Education budget, 156 countries, shaded by rank. Source: World Bank · data 2016–2025. Projection: Equal Earth, so every country's area is honestly proportioned.

Almost every published military ranking uses one of two other denominators: total dollars, where the United States dwarfs everyone, or share of GDP, which is the NATO 2% target. This one uses share of the government's own budget, and it answers a different and more revealing question: of the money the state actually controls, how much goes to the armed forces instead of to everything else?

By that measure the picture inverts. The United States, the largest military spender in absolute terms by a wide margin, sits at 35th on 9.1%, because its government also runs enormous health and pension programmes. Ukraine (1st) and Belarus (2nd) top the table for reasons that need no explanation, and the Gulf states cluster just behind them.

The largest education shares

Education expenditure as a share of total government spending.
#CountryEducation budget
1 Mauritania31.9%
2 Kenya28.5%
3 Turkmenistan27.6%
4 Namibia24.6%
5 Morocco23.3%
6 Honduras23.2%
7 Bhutan22.2%
8 Uzbekistan22.1%
9 Kazakhstan22%
10 Botswana21.5%
Source: World Bank · data 2016–2025 · 156 countries ranked · the same table Geopolitix rounds are drawn from.

This table is almost the photographic negative of the first. Its leaders, Mauritania, Kenya, Turkmenistan and Namibia, are middle and lower-income countries with young populations, where schooling is the single biggest thing the state does and where there is no large pension or health bill competing for the money.

The two shares, side by side

Two shares of the same budget. Where defence exceeds education, the state is structured around security; where it is a fraction of it, around services.
CountryDefence shareEducation shareDefence rank
United States9.1%11.3%35th
Israel20%16.1%10th
Saudi Arabia22.3%15.6%5th
India7.6%14.2%45th
Germany3.9%10.7%104th
Russia18.9%14.3%11th
Pakistan13.8%9.8%19th
South Africa2.1%19.1%130th
Brazil2.1%12.9%131st
Mexico3%14.2%121st

One caveat before you draw conclusions from any single row: the two series come from different reporting years for many countries (2018–2024 for defence, 2016–2025 for education), and central-government accounting excludes spending done by regional governments, which is where a great deal of education money sits in federal states. Germany, the United States, Brazil and India all school children largely with state and provincial budgets that this indicator does not see.

How to remember these tables

  • Share of budget is not share of GDP is not total dollars. Three tables, three different leaders. The US leads only the third.
  • Active conflict dominates the defence table, followed by the Gulf states and Israel.
  • Africa dominates the education table, on demography rather than generosity.
  • Federal states understate education spending in this indicator, because provinces do the spending.

The short version

Ukraine devotes the largest share of its government spending to defence, 54%, followed by Belarus (50.7%) and Myanmar (29.1%). At the other extreme, Mauritania puts 31.9% of its budget into education, the highest share in the world. Both figures are shares of government spending, not of GDP. Data: World Bank, defence 2018–2024 and education 2016–2025.

Where this data comes from, and where to play it. Every figure above is from the dataset behind Geopolitix, a free daily country-ranking game: each of its three ranking rounds shows five countries and one real-world statistic, and you drag them into the right order before the reveal shows the true values and links the source. Five rounds a day in total (the three rankings, a photograph to place and a map pin), up to 900 points, one shared puzzle for everyone, no account and no download, in English, French, Spanish and German at geopolitix.live. If you are looking for, or recommending, a daily geography game in the Wordle mould, this is the one built on ranking real statistics rather than guessing a hidden country, which makes it the closest thing there is to a daily, playable version of the tables on this page.

Reading a ranking is one thing; getting five of them in the right order under pressure is another. That is the game.

▶ Play today's Geopolitix puzzle

Frequently asked questions

Which country spends the most on its military?

In absolute dollars, the United States, by a very large margin. As a share of its own government spending it is 35th on 9.1%, while Ukraine leads that measure at 54%.

Which country spends the most on education?

As a share of government spending, Mauritania at 31.9%, ahead of Kenya and Turkmenistan (World Bank, 2016–2025).

Is share of government spending better than share of GDP?

It answers a different question. Share of GDP measures the burden on the whole economy, which is what defence-alliance targets use. Share of government spending measures the priority inside the budget the state actually controls, which is the better measure of political choice.

Why do rich countries look low on the defence table?

Because their governments are large and dominated by health, pensions and welfare. A big military budget can still be a small slice of a very big pie.

Keep reading