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.
Top 40 countries, 2022
Full ranking
| Rank | Countries | 2022 | Change on 2021 |
|---|---|---|---|
| 1 | Ukraine | 25.6 | +22.2 pts |
| 2 | Qatar | 6.5 | 0 pts |
| 3 | Saudi Arabia | 5.7 | -0.7 pts |
| 4 | Oman | 5.3 | -1.4 pts |
| 5 | Jordan | 4.8 | +0.1 pts |
| 6 | Russia | 4.6 | +1 pts |
| 7 | Kuwait | 4.5 | -1.6 pts |
| 8 | Israel | 4.3 | -0.5 pts |
| 9 | Togo | 4.1 | +1.8 pts |
| 10 | Armenia | 4.1 | -0.4 pts |
| 11 | Algeria | 4.1 | -0.8 pts |
| 12 | Greece | 4 | +0.2 pts |
| 13 | Myanmar | 3.8 | -0.6 pts |
| 14 | Morocco | 3.8 | +0.1 pts |
| 15 | Azerbaijan | 3.8 | -1.1 pts |
| 16 | Bahrain | 3.4 | -0.1 pts |
| 17 | United States | 3.3 | -0.1 pts |
| 18 | Pakistan | 3.2 | -0.2 pts |
| 19 | Mali | 3.1 | -0.3 pts |
| 20 | Burkina Faso | 3 | +0.6 pts |
| 21 | Namibia | 2.9 | -0.3 pts |
| 22 | Kyrgyzstan | 2.9 | +0.1 pts |
| 23 | Libya | 2.8 | |
| 24 | Colombia | 2.8 | -0.4 pts |
| 25 | Brunei | 2.6 | -0.6 pts |
| 26 | Burundi | 2.6 | +0.6 pts |
| 27 | South Korea | 2.6 | -0 pts |
| 28 | Lithuania | 2.6 | +0.6 pts |
| 29 | Tunisia | 2.6 | -0.1 pts |
| 30 | Botswana | 2.5 | -0.5 pts |
| 31 | India | 2.4 | -0.1 pts |
| 32 | Mauritania | 2.4 | -0.1 pts |
| 33 | Singapore | 2.4 | -0.2 pts |
| 34 | Latvia | 2.3 | +0.1 pts |
| 35 | Iran | 2.2 | -0.1 pts |
| 36 | Ecuador | 2.2 | -0 pts |
| 37 | Mozambique | 2.2 | +0.3 pts |
| 38 | Poland | 2.2 | -0 pts |
| 39 | Guinea | 2.2 | +0.6 pts |
| 40 | Serbia | 2.2 | -0.6 pts |
| 41 | Estonia | 2.1 | +0.1 pts |
| 42 | Chad | 2 | -0 pts |
| 43 | United Kingdom | 2 | -0 pts |
| 44 | France | 2 | -0 pts |
| 45 | Tajikistan | 1.9 | +0.9 pts |
| 46 | Republic of the Congo | 1.9 | -0.4 pts |
| 47 | Australia | 1.9 | -0.1 pts |
| 48 | Uganda | 1.8 | -0.5 pts |
| 49 | Uruguay | 1.8 | -0.2 pts |
| 50 | Hungary | 1.8 | +0.5 pts |
| 51 | Croatia | 1.8 | -0.2 pts |
| 52 | Slovakia | 1.8 | +0.1 pts |
| 53 | Romania | 1.8 | -0.1 pts |
| 54 | Vietnam | 1.7 | -0.3 pts |
| 55 | Central African Republic | 1.7 | -0.4 pts |
| 56 | Cyprus | 1.7 | -0.1 pts |
| 57 | Eswatini | 1.7 | -0 pts |
| 58 | Iraq | 1.6 | -0.6 pts |
| 59 | Belarus | 1.6 | -0.1 pts |
| 60 | Türkiye | 1.6 | -0.2 pts |
| 61 | Georgia | 1.6 | 0 pts |
| 62 | Italy | 1.6 | -0 pts |
| 63 | China | 1.6 | 0 pts |
| 64 | Finland | 1.6 | +0.3 pts |
| 65 | Bulgaria | 1.6 | +0.1 pts |
| 66 | South Sudan | 1.6 | +0.1 pts |
| 67 | Niger | 1.6 | +0.2 pts |
| 68 | Montenegro | 1.6 | 0 pts |
| 69 | Chile | 1.5 | -0.1 pts |
| 70 | Cambodia | 1.5 | -0.2 pts |
| 71 | Senegal | 1.5 | -0.2 pts |
| 72 | North Macedonia | 1.5 | +0.1 pts |
| 73 | Lesotho | 1.5 | -0.1 pts |
| 74 | Honduras | 1.5 | -0 pts |
| 75 | Norway | 1.5 | -0.2 pts |
| 76 | El Salvador | 1.4 | +0.2 pts |
| 77 | Angola | 1.4 | 0 pts |
| 78 | Spain | 1.4 | +0.1 pts |
| 79 | Timor-Leste | 1.4 | +0.3 pts |
| 80 | Denmark | 1.4 | +0.1 pts |
| 81 | Fiji | 1.4 | -0.2 pts |
| 82 | Gabon | 1.4 | -0.2 pts |
| 83 | Portugal | 1.4 | -0.2 pts |
| 84 | Sri Lanka | 1.3 | -0.4 pts |
| 85 | Sweden | 1.3 | +0.1 pts |
| 86 | Germany | 1.3 | 0 pts |
| 87 | Rwanda | 1.3 | -0.2 pts |
| 88 | Philippines | 1.3 | -0.1 pts |
| 89 | Liberia | 1.3 | +0.5 pts |
| 90 | Netherlands | 1.3 | -0.1 pts |
| 91 | Slovenia | 1.3 | +0.1 pts |
| 92 | Jamaica | 1.3 | -0.2 pts |
| 93 | Czechia | 1.3 | -0.1 pts |
| 94 | Thailand | 1.2 | -0.2 pts |
| 95 | Albania | 1.2 | -0 pts |
| 96 | Tanzania | 1.2 | +0.1 pts |
| 97 | Belgium | 1.2 | +0.1 pts |
| 98 | Somalia | 1.2 | -0 pts |
| 99 | Seychelles | 1.2 | -1.3 pts |
| 100 | New Zealand | 1.2 | -0 pts |
| 101 | Nepal | 1.1 | -0.1 pts |
| 102 | Equatorial Guinea | 1.1 | -0.2 pts |
| 103 | Canada | 1.1 | -0.1 pts |
| 104 | Peru | 1.1 | -0 pts |
| 105 | Zambia | 1.1 | +0.1 pts |
| 106 | Guinea-Bissau | 1.1 | -0.4 pts |
| 107 | Brazil | 1.1 | -0.1 pts |
| 108 | Egypt | 1 | -0.1 pts |
| 109 | Lebanon | 1 | -0.2 pts |
| 110 | Kenya | 1 | -0.1 pts |
| 111 | Bangladesh | 1 | -0.2 pts |
| 112 | Belize | 1 | -0.1 pts |
| 113 | Zimbabwe | 1 | -0.6 pts |
| 114 | Bolivia | 1 | -0.4 pts |
| 115 | Japan | 1 | -0.1 pts |
| 116 | Cameroon | 0.9 | -0 pts |
| 117 | Malawi | 0.9 | +0.2 pts |
| 118 | Malaysia | 0.9 | -0.1 pts |
| 119 | Paraguay | 0.9 | -0 pts |
| 120 | Côte d’Ivoire | 0.9 | -0 pts |
| 121 | Ethiopia | 0.9 | +0.4 pts |
| 122 | South Africa | 0.8 | 0 pts |
| 123 | Indonesia | 0.8 | 0 pts |
| 124 | Trinidad and Tobago | 0.8 | -0.1 pts |
| 125 | Austria | 0.8 | -0.1 pts |
| 126 | Bosnia and Herzegovina | 0.8 | -0.1 pts |
| 127 | Gambia | 0.7 | -0.1 pts |
| 128 | Mexico | 0.7 | 0 pts |
| 129 | Argentina | 0.7 | +0.1 pts |
| 130 | Switzerland | 0.7 | 0 pts |
| 131 | Dominican Republic | 0.7 | 0 pts |
| 132 | Madagascar | 0.7 | -0 pts |
| 133 | Nigeria | 0.7 | -0.4 pts |
| 134 | Benin | 0.6 | +0.1 pts |
| 135 | Guyana | 0.6 | -0.4 pts |
| 136 | Sierra Leone | 0.6 | -0 pts |
| 137 | Democratic Republic of the Congo | 0.6 | 0 pts |
| 138 | Luxembourg | 0.6 | +0.2 pts |
| 139 | Nicaragua | 0.5 | -0 pts |
| 140 | Kazakhstan | 0.5 | -0.3 pts |
| 141 | Mongolia | 0.5 | -0.1 pts |
| 142 | Guatemala | 0.5 | +0.1 pts |
| 143 | Cape Verde | 0.5 | -0.1 pts |
| 144 | Papua New Guinea | 0.4 | +0.1 pts |
| 145 | Malta | 0.4 | -0 pts |
| 146 | Moldova | 0.4 | 0 pts |
| 147 | Ghana | 0.3 | -0 pts |
| 148 | Ireland | 0.2 | -0 pts |
| 149 | Mauritius | 0.1 | -0 pts |
| 150 | Haiti | 0.1 | -0.1 pts |
| 151 | Costa Rica | 0 | 0 pts |
| 151 | Iceland | 0 | 0 pts |
| 151 | Panama | 0 | 0 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
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
- Crude birth rate
- Crude death rate
- Total fertility rate
- Real GDP growth
- GDP per capita, US dollars
- Gross domestic product (GDP), US dollars
- Gini index (World Bank, income or consumption)
- Inflation, annual average
- Internet users
- Land area
- Life expectancy at birth
- Central bank policy rate
- Population
- Population aged 65 and over
- Population density
- Population growth rate