Countries by military spending as a share of GDP

Ukraine had the highest military spending as a share of GDP of 153 countries in 2022, at 25.6% of GDP. Panama had the lowest, at 0% of GDP. The median was 1.4% of GDP and the figure for the World was 2.2% of GDP. Source: the World Bank.

Highest25.6Ukraine
Lowest0Panama
Median1.4153 countries
World2.2History

Top 40 countries, 2022

CSVChart (SVG)

UkraineUkraine: 25.6 % of GDP25.6QatarQatar: 6.5 % of GDP6.5Saudi ArabiaSaudi Arabia: 5.7 % of GDP5.7OmanOman: 5.3 % of GDP5.3JordanJordan: 4.8 % of GDP4.8RussiaRussia: 4.6 % of GDP4.6KuwaitKuwait: 4.5 % of GDP4.5IsraelIsrael: 4.3 % of GDP4.3TogoTogo: 4.1 % of GDP4.1ArmeniaArmenia: 4.1 % of GDP4.1AlgeriaAlgeria: 4.1 % of GDP4.1GreeceGreece: 4 % of GDP4MyanmarMyanmar: 3.8 % of GDP3.8MoroccoMorocco: 3.8 % of GDP3.8AzerbaijanAzerbaijan: 3.8 % of GDP3.8BahrainBahrain: 3.4 % of GDP3.4United StatesUnited States: 3.3 % of GDP3.3PakistanPakistan: 3.2 % of GDP3.2MaliMali: 3.1 % of GDP3.1Burkina FasoBurkina Faso: 3 % of GDP3NamibiaNamibia: 2.9 % of GDP2.9KyrgyzstanKyrgyzstan: 2.9 % of GDP2.9LibyaLibya: 2.8 % of GDP2.8ColombiaColombia: 2.8 % of GDP2.8BruneiBrunei: 2.6 % of GDP2.6BurundiBurundi: 2.6 % of GDP2.6South KoreaSouth Korea: 2.6 % of GDP2.6LithuaniaLithuania: 2.6 % of GDP2.6TunisiaTunisia: 2.6 % of GDP2.6BotswanaBotswana: 2.5 % of GDP2.5IndiaIndia: 2.4 % of GDP2.4MauritaniaMauritania: 2.4 % of GDP2.4SingaporeSingapore: 2.4 % of GDP2.4LatviaLatvia: 2.3 % of GDP2.3IranIran: 2.2 % of GDP2.2EcuadorEcuador: 2.2 % of GDP2.2MozambiqueMozambique: 2.2 % of GDP2.2PolandPoland: 2.2 % of GDP2.2GuineaGuinea: 2.2 % of GDP2.2SerbiaSerbia: 2.2 % of GDP2.2
% of GDP. Source: World Bank. Retrieved 2026-10-09.

Full ranking

RankCountries2022
% of GDP
Change on 2021
1Ukraine25.6+22.2 pts
2Qatar6.50 pts
3Saudi Arabia5.7-0.7 pts
4Oman5.3-1.4 pts
5Jordan4.8+0.1 pts
6Russia4.6+1 pts
7Kuwait4.5-1.6 pts
8Israel4.3-0.5 pts
9Togo4.1+1.8 pts
10Armenia4.1-0.4 pts
11Algeria4.1-0.8 pts
12Greece4+0.2 pts
13Myanmar3.8-0.6 pts
14Morocco3.8+0.1 pts
15Azerbaijan3.8-1.1 pts
16Bahrain3.4-0.1 pts
17United States3.3-0.1 pts
18Pakistan3.2-0.2 pts
19Mali3.1-0.3 pts
20Burkina Faso3+0.6 pts
21Namibia2.9-0.3 pts
22Kyrgyzstan2.9+0.1 pts
23Libya2.8n/a
24Colombia2.8-0.4 pts
25Brunei2.6-0.6 pts
26Burundi2.6+0.6 pts
27South Korea2.6-0 pts
28Lithuania2.6+0.6 pts
29Tunisia2.6-0.1 pts
30Botswana2.5-0.5 pts
31India2.4-0.1 pts
32Mauritania2.4-0.1 pts
33Singapore2.4-0.2 pts
34Latvia2.3+0.1 pts
35Iran2.2-0.1 pts
36Ecuador2.2-0 pts
37Mozambique2.2+0.3 pts
38Poland2.2-0 pts
39Guinea2.2+0.6 pts
40Serbia2.2-0.6 pts
41Estonia2.1+0.1 pts
42Chad2-0 pts
43United Kingdom2-0 pts
44France2-0 pts
45Tajikistan1.9+0.9 pts
46Republic of the Congo1.9-0.4 pts
47Australia1.9-0.1 pts
48Uganda1.8-0.5 pts
49Uruguay1.8-0.2 pts
50Hungary1.8+0.5 pts
51Croatia1.8-0.2 pts
52Slovakia1.8+0.1 pts
53Romania1.8-0.1 pts
54Vietnam1.7-0.3 pts
55Central African Republic1.7-0.4 pts
56Cyprus1.7-0.1 pts
57Eswatini1.7-0 pts
58Iraq1.6-0.6 pts
59Belarus1.6-0.1 pts
60Türkiye1.6-0.2 pts
61Georgia1.60 pts
62Italy1.6-0 pts
63China1.60 pts
64Finland1.6+0.3 pts
65Bulgaria1.6+0.1 pts
66South Sudan1.6+0.1 pts
67Niger1.6+0.2 pts
68Montenegro1.60 pts
69Chile1.5-0.1 pts
70Cambodia1.5-0.2 pts
71Senegal1.5-0.2 pts
72North Macedonia1.5+0.1 pts
73Lesotho1.5-0.1 pts
74Honduras1.5-0 pts
75Norway1.5-0.2 pts
76El Salvador1.4+0.2 pts
77Angola1.40 pts
78Spain1.4+0.1 pts
79Timor-Leste1.4+0.3 pts
80Denmark1.4+0.1 pts
81Fiji1.4-0.2 pts
82Gabon1.4-0.2 pts
83Portugal1.4-0.2 pts
84Sri Lanka1.3-0.4 pts
85Sweden1.3+0.1 pts
86Germany1.30 pts
87Rwanda1.3-0.2 pts
88Philippines1.3-0.1 pts
89Liberia1.3+0.5 pts
90Netherlands1.3-0.1 pts
91Slovenia1.3+0.1 pts
92Jamaica1.3-0.2 pts
93Czechia1.3-0.1 pts
94Thailand1.2-0.2 pts
95Albania1.2-0 pts
96Tanzania1.2+0.1 pts
97Belgium1.2+0.1 pts
98Somalia1.2-0 pts
99Seychelles1.2-1.3 pts
100New Zealand1.2-0 pts
101Nepal1.1-0.1 pts
102Equatorial Guinea1.1-0.2 pts
103Canada1.1-0.1 pts
104Peru1.1-0 pts
105Zambia1.1+0.1 pts
106Guinea-Bissau1.1-0.4 pts
107Brazil1.1-0.1 pts
108Egypt1-0.1 pts
109Lebanon1-0.2 pts
110Kenya1-0.1 pts
111Bangladesh1-0.2 pts
112Belize1-0.1 pts
113Zimbabwe1-0.6 pts
114Bolivia1-0.4 pts
115Japan1-0.1 pts
116Cameroon0.9-0 pts
117Malawi0.9+0.2 pts
118Malaysia0.9-0.1 pts
119Paraguay0.9-0 pts
120Côte d’Ivoire0.9-0 pts
121Ethiopia0.9+0.4 pts
122South Africa0.80 pts
123Indonesia0.80 pts
124Trinidad and Tobago0.8-0.1 pts
125Austria0.8-0.1 pts
126Bosnia and Herzegovina0.8-0.1 pts
127Gambia0.7-0.1 pts
128Mexico0.70 pts
129Argentina0.7+0.1 pts
130Switzerland0.70 pts
131Dominican Republic0.70 pts
132Madagascar0.7-0 pts
133Nigeria0.7-0.4 pts
134Benin0.6+0.1 pts
135Guyana0.6-0.4 pts
136Sierra Leone0.6-0 pts
137Democratic Republic of the Congo0.60 pts
138Luxembourg0.6+0.2 pts
139Nicaragua0.5-0 pts
140Kazakhstan0.5-0.3 pts
141Mongolia0.5-0.1 pts
142Guatemala0.5+0.1 pts
143Cape Verde0.5-0.1 pts
144Papua New Guinea0.4+0.1 pts
145Malta0.4-0 pts
146Moldova0.40 pts
147Ghana0.3-0 pts
148Ireland0.2-0 pts
149Mauritius0.1-0 pts
150Haiti0.1-0.1 pts
151Costa Rica00 pts
151Iceland00 pts
151Panama00 pts

Other periods

About this ranking

Military expenditure as a percentage of GDP: current and capital spending on the armed forces, including peacekeeping forces, defence ministries, paramilitary forces trained for military operations and military space activities. World Bank series from the Stockholm International Peace Research Institute (SIPRI).

SIPRI definition, so values can differ from the NATO defence expenditure figures used for the 2% target.

Every value in the ranking comes from the same publisher and the same period, so the countries are compared on one definition. 12 countries with data in other periods have no value for 2022 and are left out rather than filled from another source. Equal values share a rank.

How to cite

World Bank, World Development Indicators. Military expenditure, % of GDP (MS.MIL.XPND.GD.ZS). https://data.worldbank.org/indicator/MS.MIL.XPND.GD.ZS. Retrieved 2026-10-09.

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 military spending as a share of GDP using official data, and cite the source.
rank_places {"indicator":"military_expenditure_gdp","level":"country","limit":10}
GET https://invokely.ai/api/v1/rank?indicator=military_expenditure_gdp&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 military spending as a share of GDP?

Ukraine, with 25.6% of GDP in 2022, according to the World Bank.

Which country has the lowest military spending as a share of GDP?

Panama, with 0% of GDP in 2022.

Where does this ranking come from?

Every value comes from one source and one period, so the places are comparable: World Bank, Military expenditure, % of GDP (MS.MIL.XPND.GD.ZS). Retrieved 2026-10-09. 12 countries have no value for 2022 and are not ranked.

Military expenditure: other rankings

Countries: more rankings