Military Spending (% of GDP) by Country: 2025 World Rankings

Military expenditure as a percentage of GDP.

Data years: 2021 to 2025 · Source: World Bank

Ukraine has the highest military spending as a share of GDP: 39.6% in 2025. Next are Algeria (8.8%), Israel (7.8%), Russia (7.5%) and Myanmar (6.6%, 2024). 3 countries share the lowest military spending as a share of GDP, 0.0% (Panama, Iceland and Costa Rica). The median across the 156 countries is 1.7%, counting each country once, so it is not a world average.

Most figures are for 2025. Years range from 2021 to 2025; each row in the table shows its own year. The ten highest are: 1. Ukraine, 2. Algeria, 3. Israel, 4. Russia, 5. Myanmar, 6. Qatar, 7. Saudi Arabia, 8. Azerbaijan, 9. Armenia, 10. Oman. Data: World Bank World Development Indicators. All data on this page is free to use with attribution, and an API endpoint is available at /api/v2/indicator/MS.MIL.XPND.GD.ZS for programmatic access.

APIUse this 156-country ranking via API. 1,000 req/day free; $49/mo for 50,000 daily requests plus bulk downloads.Get API key →
Countries
156
Highest
39.6%
Ukraine, 2025
Lowest
0.0%
3 countries share it
Most common year
2025
Data ProNeed more than this ranking? Get 281 reviewed World Bank indicators and 47,000+ latest observations, with terms included.Full dataset · $29/mo →
Download data:
Military Spending (% of GDP) by Country: 156 countries ranked by military spending as a share of GDP, with the year of each figure. Source: World Bank.
#CountryMilitary Spending (% of GDP)Year
1 Ukraine39.6%2025
2 Algeria8.8%2025
3 Israel7.8%2025
4 Russia7.5%2025
5 Myanmar6.6%2024
6 Qatar6.5%2022
7 Saudi Arabia6.5%2025
8 Azerbaijan6.5%2025
9 Armenia6.1%2025
10 Oman5.7%2025
11 Kuwait4.7%2025
12 Jordan4.6%2025
13 Poland4.5%2025
14 Mali3.9%2025
15 Brunei3.7%2024
16 Latvia3.6%2025
17 Libya3.6%2023
18 Morocco3.5%2025
19 South Sudan3.4%2025
20 Estonia3.4%2025
21 Burkina Faso3.3%2025
22 Norway3.3%2025
23 Denmark3.3%2025
24 Burundi3.2%2025
25 Colombia3.2%2025
26 Chad3.2%2025
27 United States3.1%2025
28 Botswana3.1%2025
29 Bahrain3.1%2025
30 Lithuania3.1%2025
31 Singapore3.0%2025
32 Greece3.0%2025
33 Kyrgyzstan2.9%2025
34 Pakistan2.9%2025
35 Namibia2.8%2025
36 Serbia2.8%2025
37 Mauritania2.7%2025
38 South Korea2.6%2025
39 Finland2.6%2025
40 Lebanon2.5%2025
41 Tunisia2.5%2025
42 Sweden2.5%2025
43 Iraq2.4%2025
44 Belarus2.4%2025
45 United Kingdom2.4%2025
46 Central African Republic2.3%2025
47 India2.3%2025
48 Uruguay2.3%2025
49 Romania2.3%2025
50 Germany2.3%2025
51 Timor-Leste2.3%2025
52 Netherlands2.2%2025
53 Vietnam2.2%2025
54 Niger2.1%2025
55 Spain2.1%2025
56 Ecuador2.1%2025
57 Iran2.1%2025
58 Hungary2.0%2025
59 Albania2.0%2025
60 Slovakia2.0%2025
61 Guinea2.0%2025
62 France2.0%2025
63 Croatia2.0%2025
64 Belgium2.0%2025
65 Bulgaria2.0%2025
66 North Macedonia2.0%2025
67 Uganda2.0%2025
68 Australia1.9%2025
69 Türkiye1.9%2025
70 Montenegro1.9%2025
71 Italy1.9%2025
72 Togo1.9%2025
73 Mozambique1.9%2025
74 Kosovo1.9%2025
75 Czechia1.8%2025
76 Afghanistan1.8%2021
77 Georgia1.7%2025
78 China1.7%2025
79 Portugal1.7%2025
80 Gabon1.7%2025
81 Lesotho1.6%2025
82 Canada1.6%2025
83 Cyprus1.6%2025
84 Eswatini1.6%2025
85 Senegal1.6%2025
86 Slovenia1.5%2025
87 Somalia1.5%2025
88 Chile1.5%2025
89 Tajikistan1.5%2025
90 Honduras1.5%2025
91 Cambodia1.5%2025
92 Japan1.4%2025
93 Angola1.4%2025
94 DR Congo1.4%2025
95 Jamaica1.4%2025
96 El Salvador1.3%2025
97 Fiji1.3%2025
98 Sri Lanka1.3%2025
99 Republic of the Congo1.3%2025
100 Philippines1.3%2025
101 Rwanda1.3%2025
102 Zambia1.3%2025
103 Seychelles1.2%2025
104 Bolivia1.2%2025
105 Tanzania1.2%2025
106 Malawi1.1%2025
107 New Zealand1.1%2025
108 Austria1.1%2025
109 Kenya1.1%2025
110 Cameroon1.1%2025
111 Brazil1.1%2025
112 Indonesia1.0%2025
113 Thailand1.0%2025
114 Malaysia1.0%2025
115 Belize1.0%2025
116 Guyana1.0%2025
117 Nepal1.0%2025
118 Trinidad and Tobago0.9%2025
119 Sudan0.9%2021
120 Nigeria0.9%2025
121 Equatorial Guinea0.9%2025
122 Benin0.9%2025
123 Guinea-Bissau0.9%2025
124 Mongolia0.9%2025
125 Paraguay0.9%2025
126 Liberia0.9%2025
127 Luxembourg0.9%2025
128 Peru0.8%2025
129 Bangladesh0.8%2025
130 Dominican Republic0.8%2025
131 Côte d'Ivoire0.8%2025
132 Switzerland0.8%2025
133 South Africa0.7%2025
134 Mexico0.7%2025
135 Bosnia and Herzegovina0.7%2025
136 Cabo Verde0.7%2025
137 Madagascar0.6%2025
138 Egypt0.6%2025
139 The Gambia0.6%2025
140 Nicaragua0.6%2025
141 Zimbabwe0.6%2025
142 Argentina0.6%2025
143 Moldova0.6%2025
144 Guatemala0.5%2025
145 Ethiopia0.5%2025
146 Ghana0.5%2025
147 Malta0.4%2025
148 Kazakhstan0.4%2025
149 Sierra Leone0.4%2025
150 Papua New Guinea0.4%2025
151 Ireland0.2%2025
152 Mauritius0.1%2025
153 Haiti0.1%2025
154 Costa Rica0.0%2025
155 Iceland0.0%2025
156 Panama0.0%2025

Each figure is the latest available for that country, so rows can refer to different years; compare years before comparing values.

Where major economies rank

  • United States: 3.1% in 2025, rank 27 of 156.
  • China: 1.7% in 2025, rank 78 of 156.
  • India: 2.3% in 2025, rank 47 of 156.
  • Japan: 1.4% in 2025, rank 92 of 156.
  • Germany: 2.3% in 2025, rank 50 of 156.
  • United Kingdom: 2.4% in 2025, rank 45 of 156.
  • France: 2.0% in 2025, rank 62 of 156.
  • Brazil: 1.1% in 2025, rank 111 of 156.
  • Canada: 1.6% in 2025, rank 82 of 156.
  • Nigeria: 0.9% in 2025, rank 120 of 156.
APIFree · No credit card

Use this data programmatically

Fetch the same 156-country ranking as JSON or CSV: fresh on every request, drop-in for dashboards, scripts, and notebooks. 1,000 free requests/day, no signup needed; sign up for usage tracking and 50,000/day on Pro.

curl 'https://statisticsoftheworld.com/api/v1/rankings/MS.MIL.XPND.GD.ZS?format=csv' \
  -o military-spending.csv

Understanding Military Spending (% of GDP) by Country

Military expenditure as a percentage of GDP measures the share of economic output devoted to defense, including armed forces, weapons procurement, military research and related infrastructure. The data comes from the Stockholm International Peace Research Institute (SIPRI) via the World Bank.

World military spending reached about $2.7 trillion in 2024, according to SIPRI, with the United States accounting for close to 40% of the total and spending more than the next several countries combined. NATO members long had a target of spending at least 2% of GDP on defense, which most European members missed for years; after Russia's full-scale invasion of Ukraine their spending rose quickly, and in 2025 the allies agreed a higher target for 2035. Russia's own military spending has risen sharply, though exact figures are uncertain because of off-budget spending and secrecy.

Military spending reflects geopolitical tensions. Saudi Arabia and Israel consistently spend a much larger share of GDP than the global average because of regional security threats. Japan kept defense spending around 1% of GDP for decades under its post-war pacifist constitution, and in 2022 set a goal of 2% by 2027. For developing countries, heavy military spending can crowd out investment in health, education and infrastructure that drives long-term growth, the trade-off economists call "guns versus butter".

Frequently Asked Questions

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

Ukraine has the highest military spending as a share of GDP: 39.6% in 2025. The figures come from World Bank data.

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

3 countries share the lowest military spending as a share of GDP, 0.0% (Panama, Iceland and Costa Rica).

How many countries are ranked by military spending as a share of GDP?

156 countries have a figure in this ranking. Most figures are for 2025. Years range from 2021 to 2025; each row in the table shows its own year. The data comes from the World Bank World Development Indicators.

What is the median military spending as a share of GDP across countries?

The median is 1.7%: half of the 156 countries are above it and half below. It counts each country once, so it is not a world average.

Related Rankings