Countries by military spending as a share of GDP

Ukraine had the highest military spending as a share of GDP of 152 countries in 2023, at 36% of GDP. Panama had the lowest, at 0% of GDP. The median was 1.5% of GDP and the figure for the World was 2.3% of GDP. Source: the World Bank.

Highest36Ukraine
Lowest0Panama
Median1.5152 countries
World2.3History

Top 40 countries, 2023

CSVChart (SVG)

UkraineUkraine: 36 % of GDP36AlgeriaAlgeria: 7.4 % of GDP7.4Saudi ArabiaSaudi Arabia: 6.4 % of GDP6.4OmanOman: 5.5 % of GDP5.5ArmeniaArmenia: 5.5 % of GDP5.5IsraelIsrael: 5.3 % of GDP5.3RussiaRussia: 5.3 % of GDP5.3AzerbaijanAzerbaijan: 4.9 % of GDP4.9JordanJordan: 4.8 % of GDP4.8KuwaitKuwait: 4.3 % of GDP4.3Burkina FasoBurkina Faso: 4.1 % of GDP4.1MaliMali: 3.8 % of GDP3.8MyanmarMyanmar: 3.7 % of GDP3.7LibyaLibya: 3.6 % of GDP3.6MoroccoMorocco: 3.6 % of GDP3.6BahrainBahrain: 3.5 % of GDP3.5BurundiBurundi: 3.4 % of GDP3.4United StatesUnited States: 3.3 % of GDP3.3PolandPoland: 3.3 % of GDP3.3KyrgyzstanKyrgyzstan: 3.2 % of GDP3.2TogoTogo: 3 % of GDP3EstoniaEstonia: 3 % of GDP3BruneiBrunei: 3 % of GDP3ColombiaColombia: 2.9 % of GDP2.9LatviaLatvia: 2.9 % of GDP2.9PakistanPakistan: 2.9 % of GDP2.9GreeceGreece: 2.9 % of GDP2.9LithuaniaLithuania: 2.8 % of GDP2.8SingaporeSingapore: 2.8 % of GDP2.8NamibiaNamibia: 2.7 % of GDP2.7Timor-LesteTimor-Leste: 2.6 % of GDP2.6South KoreaSouth Korea: 2.6 % of GDP2.6MauritaniaMauritania: 2.6 % of GDP2.6TunisiaTunisia: 2.5 % of GDP2.5IranIran: 2.5 % of GDP2.5TajikistanTajikistan: 2.4 % of GDP2.4South SudanSouth Sudan: 2.4 % of GDP2.4Central African RepublicCentral African Republic: 2.4 % of GDP2.4IndiaIndia: 2.4 % of GDP2.4IraqIraq: 2.3 % of GDP2.3
% of GDP. Source: World Bank. Retrieved 2026-10-09.

Full ranking

RankCountries2023
% of GDP
Change on 2022
1Ukraine36+10.4 pts
2Algeria7.4+3.3 pts
3Saudi Arabia6.4+0.7 pts
4Oman5.5+0.2 pts
5Armenia5.5+1.4 pts
6Israel5.3+0.9 pts
7Russia5.3+0.7 pts
8Azerbaijan4.9+1.1 pts
9Jordan4.80 pts
10Kuwait4.3-0.2 pts
11Burkina Faso4.1+1.1 pts
12Mali3.8+0.8 pts
13Myanmar3.7-0.1 pts
14Libya3.6+0.8 pts
15Morocco3.6-0.3 pts
16Bahrain3.5+0.1 pts
17Burundi3.4+0.8 pts
18United States3.3-0 pts
19Poland3.3+1.1 pts
20Kyrgyzstan3.2+0.3 pts
21Togo3-1.1 pts
22Estonia3+0.8 pts
23Brunei3+0.4 pts
24Colombia2.9+0.1 pts
25Latvia2.9+0.7 pts
26Pakistan2.9-0.3 pts
27Greece2.9-1.1 pts
28Lithuania2.8+0.3 pts
29Singapore2.8+0.4 pts
30Namibia2.7-0.2 pts
31Timor-Leste2.6+1.3 pts
32South Korea2.60 pts
33Mauritania2.6+0.2 pts
34Tunisia2.5-0 pts
35Iran2.5+0.3 pts
36Tajikistan2.4+0.5 pts
37South Sudan2.4+0.8 pts
38Central African Republic2.4+0.7 pts
39India2.4-0 pts
40Iraq2.3+0.6 pts
41Ecuador2.2-0 pts
42Serbia2.20 pts
43United Kingdom2.2+0.1 pts
44Guinea2.1-0.1 pts
45Chad2.1+0.1 pts
46Hungary2+0.2 pts
47Denmark2+0.6 pts
48Republic of the Congo2+0.1 pts
49Finland2+0.4 pts
50Niger2+0.4 pts
51Bulgaria1.9+0.4 pts
52France1.9-0 pts
53Uruguay1.9+0.1 pts
54Mozambique1.9-0.3 pts
55Belarus1.9+0.3 pts
56Uganda1.90 pts
57Australia1.9-0 pts
58Vietnam1.8+0.1 pts
59Norway1.8+0.4 pts
60Botswana1.8-0.7 pts
61North Macedonia1.8+0.3 pts
62Slovakia1.7-0 pts
63Albania1.7+0.5 pts
64Türkiye1.7+0.1 pts
65Eswatini1.70 pts
66Croatia1.6-0.2 pts
67Georgia1.60 pts
68Chile1.6+0.1 pts
69Lesotho1.6+0.2 pts
70China1.60 pts
71Romania1.6-0.1 pts
72Cyprus1.6-0.1 pts
73Cambodia1.50 pts
74Spain1.5+0.1 pts
75Italy1.5-0.1 pts
76Honduras1.5+0.1 pts
77Sweden1.5+0.2 pts
78Germany1.5+0.2 pts
79Montenegro1.5-0.1 pts
80Senegal1.5-0 pts
81Netherlands1.4+0.1 pts
82Angola1.4-0 pts
83Liberia1.4+0.1 pts
84El Salvador1.3-0.1 pts
85Fiji1.3-0 pts
86Zambia1.3+0.2 pts
87Seychelles1.3+0.2 pts
88Gabon1.3-0 pts
89Sri Lanka1.3-0 pts
90Canada1.3+0.2 pts
91Czechia1.30 pts
92Equatorial Guinea1.3+0.2 pts
93Slovenia1.30 pts
94Bolivia1.3+0.3 pts
95Somalia1.3+0.1 pts
96Rwanda1.3-0.1 pts
97Peru1.2+0.1 pts
98Tanzania1.20 pts
99Portugal1.2-0.1 pts
100Lebanon1.2+0.2 pts
101New Zealand1.20 pts
102Jamaica1.2-0.1 pts
103Philippines1.2-0.1 pts
104Belgium1.20 pts
105Malawi1.2+0.2 pts
106Thailand1.1-0.1 pts
107Nepal1.1-0 pts
108Democratic Republic of the Congo1.1+0.6 pts
109Japan1.1+0.1 pts
110Belize10 pts
111Brazil1-0.1 pts
112Malaysia1+0.1 pts
113Kenya1-0 pts
114Trinidad and Tobago1+0.2 pts
115Cameroon0.9-0 pts
116Paraguay0.9+0.1 pts
117Guinea-Bissau0.9-0.2 pts
118Bangladesh0.9-0.1 pts
119Côte d’Ivoire0.9-0 pts
120Austria0.9+0.1 pts
121Nigeria0.8+0.2 pts
122Indonesia0.8+0.1 pts
123Egypt0.8-0.2 pts
124South Africa0.8-0 pts
125Bosnia and Herzegovina0.80 pts
126Dominican Republic0.8+0.1 pts
127Ethiopia0.8-0.1 pts
128Benin0.8+0.1 pts
129Argentina0.8+0.1 pts
130Switzerland0.70 pts
131Luxembourg0.7+0.1 pts
132Mexico0.7-0 pts
133Guyana0.7+0.1 pts
134Madagascar0.6-0 pts
135Sierra Leone0.60 pts
136Gambia0.6-0.1 pts
137Cape Verde0.6+0.1 pts
138Nicaragua0.60 pts
139Moldova0.6+0.2 pts
140Mongolia0.50 pts
141Kazakhstan0.4-0.1 pts
142Guatemala0.4-0 pts
143Ghana0.4+0.1 pts
144Malta0.4-0 pts
145Papua New Guinea0.4-0.1 pts
146Ireland0.20 pts
147Zimbabwe0.2-0.8 pts
148Mauritius0.20 pts
149Haiti0.1-0 pts
150Costa Rica00 pts
150Iceland00 pts
150Panama00 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. 13 countries with data in other periods have no value for 2023 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 36% of GDP in 2023, according to the World Bank.

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

Panama, with 0% of GDP in 2023.

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. 13 countries have no value for 2023 and are not ranked.

Military expenditure: other rankings

Countries: more rankings