Military Spending (% of GDP) by Country2024 World Rankings

Military expenditure as a percentage of GDP.

Updated May 2026 · Source: World Bank

In 2024, Ukraine leads the world in military spending (% of gdp) with 34.5%, followed by Israel (8.8%), Algeria (8.0%), Saudi Arabia (7.3%), Russian Federation (7.1%). At the other end, Haiti ranks last at 0.1%. The global median is 1.6% (Somalia, Fed. Rep.). This ranking covers 153 countries and is sourced from the World Bank World Development Indicators, one of the most authoritative sources for international economic statistics.

The top 10 countries are: 1. Ukraine, 2. Israel, 3. Algeria, 4. Saudi Arabia, 5. Russian Federation, 6. Myanmar, 7. Qatar, 8. Oman, 9. Armenia, 10. Libya. All data is sourced from the World Bank World Development Indicators and updated regularly. Free API access is available for developers and researchers.

APIUse this 153-country ranking via API. 1,000 req/day free; $49/mo for commercial use.Get API key →
Countries
153
Highest
34.5%
Ukraine
Lowest
0.1%
Haiti
Latest Year
2024
Military Spending (% of GDP) by Country153 countries ranked by military spending (% of gdp) (2024). Source: World Bank.
#CountryMilitary Spending (% of GDP)Year
1Ukraine34.5%2024
2Israel8.8%2024
3Algeria8.0%2024
4Saudi Arabia7.3%2024
5Russian Federation7.1%2024
6Myanmar6.8%2024
7Qatar6.5%2022
8Oman5.6%2024
9Armenia5.5%2024
10Libya5.3%2023
11Azerbaijan5.0%2024
12Kuwait4.8%2024
13Jordan4.8%2024
14Burkina Faso4.7%2024
15Mali4.2%2024
16Poland4.2%2024
17Burundi3.8%2024
18Brunei Darussalam3.6%2024
19Morocco3.5%2024
20United States3.4%2024
21Estonia3.4%2024
22Colombia3.4%2024
23Latvia3.3%2024
24Greece3.1%2024
25Lithuania3.1%2024
26Chad3.0%2024
27Kyrgyz Republic3.0%2024
28Bahrain2.9%2024
29Singapore2.8%2024
30Botswana2.8%2024
31Namibia2.7%2024
32Pakistan2.7%2024
33Timor-Leste2.7%2024
34Serbia2.6%2024
35Lebanon2.6%2024
36Korea, Rep.2.6%2024
37Central African Republic2.5%2024
38Tunisia2.5%2024
39Denmark2.4%2024
40Iraq2.4%2024
41Uruguay2.3%2024
42Finland2.3%2024
43Romania2.3%2024
44United Kingdom2.3%2024
45India2.3%2024
46Niger2.2%2024
47Ecuador2.2%2024
48Hungary2.2%2024
49Mauritania2.2%2024
50Bulgaria2.1%2024
51North Macedonia2.1%2024
52Norway2.1%2024
53Belarus2.1%2024
54Guinea2.1%2024
55France2.1%2024
56Albania2.0%2024
57Slovak Republic2.0%2024
58Iran, Islamic Rep.2.0%2024
59Togo2.0%2024
60Sweden2.0%2024
61Mozambique2.0%2024
62South Sudan2.0%2024
63Turkiye1.9%2024
64Czechia1.9%2024
65Netherlands1.9%2024
66Germany1.9%2024
67Australia1.9%2024
68Uganda1.9%2024
69Georgia1.9%2024
70Tajikistan1.8%2024
71Montenegro1.8%2024
72Afghanistan1.8%2021
73Croatia1.8%2024
74China1.7%2024
75Cyprus1.6%2024
76Italy1.6%2024
77Somalia, Fed. Rep.1.6%2024
78Chile1.6%2024
79Honduras1.6%2024
80Lesotho1.6%2024
81Senegal1.6%2024
82Gabon1.5%2024
83Portugal1.5%2024
84Cambodia1.5%2024
85Kosovo1.5%2024
86Eswatini1.4%2024
87Spain1.4%2024
88Sri Lanka1.4%2024
89Japan1.4%2024
90Bolivia1.4%2024
91Zambia1.3%2024
92Philippines1.3%2024
93Canada1.3%2024
94Fiji1.3%2024
95Slovenia1.3%2024
96Belgium1.3%2024
97Jamaica1.3%2024
98Rwanda1.2%2024
99Guinea-Bissau1.2%2023
100Congo, Dem. Rep.1.2%2024
101New Zealand1.2%2024
102El Salvador1.2%2024
103Congo, Rep.1.2%2024
104Seychelles1.2%2024
105Tanzania1.2%2024
106Thailand1.1%2024
107Malawi1.0%2024
108Cameroon1.0%2024
109Angola1.0%2024
110Austria1.0%2024
111Kenya1.0%2024
112Malaysia1.0%2024
113Equatorial Guinea1.0%2024
114Nepal1.0%2024
115Brazil1.0%2024
116Luxembourg1.0%2024
117Bangladesh0.9%2024
118Paraguay0.9%2024
119Sudan0.9%2021
120Trinidad and Tobago0.9%2024
121Peru0.9%2024
122Belize0.9%2024
123Mexico0.9%2024
124Guyana0.9%2024
125Dominican Republic0.8%2024
126Indonesia0.8%2024
127Cote d'Ivoire0.8%2024
128Bosnia and Herzegovina0.7%2024
129Mongolia0.7%2024
130Benin0.7%2024
131Switzerland0.7%2024
132Liberia0.7%2024
133Madagascar0.7%2024
134South Africa0.7%2024
135Egypt, Arab Rep.0.7%2024
136Ethiopia0.7%2024
137Cabo Verde0.6%2024
138Argentina0.6%2024
139Moldova0.6%2024
140Gambia, The0.6%2024
141Nigeria0.6%2024
142Nicaragua0.5%2024
143Venezuela, RB0.5%2023
144Sierra Leone0.5%2024
145Malta0.5%2024
146Kazakhstan0.4%2024
147Ghana0.4%2024
148Guatemala0.4%2024
149Zimbabwe0.4%2024
150Papua New Guinea0.3%2024
151Ireland0.2%2024
152Mauritius0.1%2024
153Haiti0.1%2024
Download data:
APIFree · No credit card

Use this data programmatically

Fetch the same 153-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. This includes spending on armed forces, weapons procurement, military research, and related infrastructure. The data primarily comes from the Stockholm International Peace Research Institute (SIPRI) via the World Bank, supplemented by national defense budget disclosures.

Global military spending exceeded $2.4 trillion in 2024, with the United States accounting for roughly 40% of the total. The US spends approximately 3.5% of GDP on defense — more than the next 10 countries combined in absolute terms. NATO members have committed to spending at least 2% of GDP on defense, a target that most European members failed to meet for decades but are now rapidly approaching following Russia's invasion of Ukraine. Russia itself spends an estimated 6–8% of GDP on military, though exact figures are unreliable due to off-budget spending and state secrecy.

Military spending trends reflect geopolitical tensions: Middle Eastern countries like Saudi Arabia, Israel, and the UAE consistently spend 4–6% of GDP on defense due to regional security threats. In contrast, Japan maintained spending below 1% of GDP for decades under its post-WWII pacifist constitution, though it has recently increased toward 2%. For developing countries, excessive military spending can crowd out investments in health, education, and infrastructure that drive long-term economic growth — a phenomenon economists call the "guns versus butter" trade-off.

Frequently Asked Questions

Which country has the highest military spending (% of gdp) in 2024?

Ukraine has the highest military spending (% of gdp) at 34.5% as of 2024, according to World Bank data.

Which country has the lowest military spending (% of gdp) in 2024?

Haiti has the lowest military spending (% of gdp) at 0.1% as of 2024.

How many countries are ranked by military spending (% of gdp)?

153 countries have reported data for military spending (% of gdp). The data is sourced from the World Bank World Development Indicators.

What is the median military spending (% of gdp) across all countries?

The median military spending (% of gdp) is 1.6% (Somalia, Fed. Rep., ranked #77 out of 153 countries).

Related Rankings