Skip to content
Tools / Defense Spending
Defense Spending icon

Defense Spending

Military spending, arms trade, bases & contracts — 200+ countries

Defense Spending covers military expenditure, arms trade, defense contracts, military bases, and conflict displacement for 200+ countries — all from official sources including World Bank, SIPRI, UN Comtrade, CIA Factbook, USAspending, and OpenStreetMap.

Military and defense data is scattered across a dozen different government and international organization portals. This tool aggregates 12 sources into 14 skills covering the full picture: from national spending trends and arms import/export flows to individual US and UK contract awards, EU arms embargoes, and UNHCR displacement numbers by conflict.

What you can do

  • military_spending — annual defense expenditure for any country in USD and as % of GDP, back to 1960
  • compare_countries — side-by-side military spending comparison between any two countries
  • military_profile — armed forces size, equipment, and capability from CIA Factbook
  • arms_trade — arms import and export data from UN Comtrade
  • arms_transfers — SIPRI TIV trend data for major arms transfers
  • budget_authority — US defense budget authority by program and year
  • budget_breakdown — detailed breakdown of US defense spending by category
  • defense_outlays — actual US defense spending outlays from Treasury
  • defense_contracts — US and UK contract awards by vendor and category
  • top_contractors — leading defense contractors by award value
  • spending_by_region — regional breakdown of US defense contract spending
  • sanctions — EU arms embargo status for any country
  • military_bases — military installation locations from OpenStreetMap
  • displacement — UNHCR conflict-related displacement figures by country

Who it's for

Defense analysts, policy researchers, journalists, academics, and investors in the defense sector. Also useful for anyone tracking geopolitical risk or government procurement in the defense space.

How to use it

  1. Start with military_spending for a country's spending history and GDP share
  2. Use compare_countries to benchmark against peers
  3. For US budget detail, chain budget_authoritybudget_breakdowndefense_outlays
  4. Use defense_contracts to find specific award activity and top_contractors for industry concentration
Military Spending

Get annual military spending for any country. Returns expenditure in current USD, as percentage of GDP, and armed forces personnel. Covers 200+ countries from 1960 to present via World Bank/SIPRI data.

Returns: Annual military spending (USD + % GDP) and armed forces personnel over the requested time period
Compare Countries

Compare military spending across multiple countries side by side. Returns the most recent data for each country ranked by spending. Supports any combination of 200+ countries.

Returns: Ranked comparison of military spending across selected countries
Arms Trade

Get international arms trade data — who exports or imports weapons to/from whom. Returns bilateral trade partners and monetary values by weapon subcategory. Covers 50+ countries via UN Comtrade HS code 93 (arms and ammunition).

Returns: Arms trade value with top partners and optional subcategory breakdown
Military Profile

Get a comprehensive military profile for any country — forces structure, personnel strengths, equipment inventories, service age requirements, overseas deployments, and strategic notes. Data from the CIA World Factbook (archived Feb 2026). Covers 80+ countries.

Returns: Comprehensive military profile with forces, personnel, equipment, deployments, and strategic notes
Budget Breakdown

Get DoD budget broken down by military branch (Army, Navy, Air Force, etc.) and/or by industry sector (Aircraft Manufacturing, Shipbuilding, R&D, etc.). US only, from USAspending.gov.

Returns: DoD spending breakdown by military branch and/or industry sector with amounts and percentages
Sanctions

Search current EU sanctions regimes including arms embargoes, asset freezes, and travel bans. Covers 55+ regimes targeting countries, entities, and individuals. Data from the official EU Sanctions Map.

Returns: EU sanctions regimes with descriptions, legal acts, programme codes, and amendment history
Defense Contracts

Search defense and military contracts. US: searches USAspending.gov for Department of Defense contracts with full award details. UK: searches Contracts Finder for Ministry of Defence procurement. Returns contract amounts, recipients, dates, and descriptions.

Returns: Defense contract records with award amounts, contractor names, descriptions, and dates
Top Contractors

Get the top defense contractors by total award amount for a country. US: returns top recipients of Department of Defense spending from USAspending.gov with dollar amounts.

Returns: Top defense contractors ranked by total award amount with dollar values
Spending by Region

Get geographic breakdown of defense spending within a country. US: returns Department of Defense contract spending by state from USAspending.gov.

Returns: Regions ranked by defense spending amount with dollar values and percentages
Budget Authority

Get US DoD total budgetary resources, obligations, and outlays by fiscal year. This is the top-line budget — different from contract awards. Shows how much Congress authorized vs how much was obligated and spent.

Returns: DoD budgetary resources with total authority, obligations, and outlays by fiscal year
Arms Transfers

Get SIPRI Trend Indicator Values for arms exports and imports. Measures the VOLUME of international arms transfers using SIPRI methodology (constant 1990 USD). Different from UN Comtrade customs data. Covers 200+ countries.

Returns: Arms exports and imports in SIPRI TIV with net transfer balance
Conflict Displacement

Get refugee, IDP, and asylum seeker data for countries affected by conflict. Shows the human impact of military operations — how many people are displaced, where they go, and return statistics. From UNHCR.

Returns: Displacement totals and country breakdown with refugees, IDPs, asylum seekers
Military Bases

Find military installations in any country — bases, airfields, naval bases, firing ranges, and barracks. Returns names, coordinates, and metadata from OpenStreetMap. Covers 40+ countries.

Returns: Military installations with names, types, coordinates, and operator info
Defense Outlays

Get actual monthly cash outlays for US National Defense from the Treasury Monthly Statement. This is the definitive record of money actually spent — different from USAspending obligations and World Bank annual estimates.

Returns: Monthly defense outlays by fiscal year with FYTD totals and year-over-year changes
Loading reviews...

Loading activity...

v0.042026-04-06
  • arms_transfers: fixed query parameters that caused World Bank API to reject the request
  • military_bases: falls back to a secondary map server when the primary times out
v0.032026-03-25
  • Added 5 more skills: budget_authority, arms_transfers (SIPRI TIV), displacement (UNHCR), military_bases (OpenStreetMap), defense_outlays (US Treasury). Now 14 skills from 12 data sources.
v0.022026-03-25
  • Added 4 new skills: arms_trade (UN Comtrade), budget_breakdown (USAspending), military_profile (CIA Factbook), sanctions (EU Sanctions Map). Extracted shared libs.
v0.012026-03-25
  • Initial release with 5 skills: military_spending, compare_countries, defense_contracts, top_contractors, spending_by_region

Related Tools

Related Categories

Frequently Asked Questions

Can I compare military spending across countries?

`compare_countries` ranks the most recent spending data side by side for any mix of countries.

What is the difference between `military_spending` and `defense_outlays`?

`military_spending` is annual country spending from World Bank and SIPRI estimates, while `defense_outlays` is the actual monthly US Treasury cash outlay record.

Can I look at contracts or top contractors?

Yes. Use `defense_contracts`, `top_contractors`, `spending_by_region`, or `budget_authority` for US and UK procurement and budget views.

Does it include arms trade, sanctions, bases, or displacement?

Yes. Use `arms_trade`, `arms_transfers`, `sanctions`, `military_profile`, `military_bases`, or `displacement` for those angles.