Share this article:
Military spending as a share of GDPby country$958+22.5%77.6k+3.0%5 min read

Military spending as a share of GDP by country: interactive chart and CSV download

Interactive chart of military spending as a share of gdp by country, with yearly values from 1949, a CSV download, an embed snippet and notes on how the figures are built. Data: SIPRI, published by Our World in Data.

This dataset gives each country’s military expenditure as a percentage of its GDP, from the Stockholm International Peace Research Institute (SIPRI). The share of GDP shows how much of its economy a country devotes to defence, independently of its size.

The chart below loads the data live from Our World in Data in your browser and shows United States, Russia, China, Israel, Germany first. The data is not uploaded to a server.

Interactive chart and data story

Loading Military Expenditure (% of GDP) data…

Key facts

IndicatorMilitary Expenditure (% of GDP)
Unit% of GDP
Coverageyearly values from 1949 to the latest release
Highlighted entitiesUnited States, Russia, China, Israel, Germany
OWID chart idmilitary-spending-as-a-share-of-gdp-sipri
Columnshare_gdp
Story formatSlide deck
Underlying sourceSIPRI
Published byOur World in Data, CC BY 4.0
CSV columnsentity, code, year, share_gdp

Download the CSV

The file has one row per country and year. The value column is share_gdp, in % of GDP.

Embed this chart

Paste this into any page to embed the original interactive chart (it is licensed CC BY 4.0, so keep the attribution):

<iframe src="https://ourworldindata.org/grapher/military-spending-as-a-share-of-gdp-sipri" loading="lazy" style="width: 100%; height: 600px; border: 0px none;" allow="web-share; clipboard-write"></iframe>

How to cite

SIPRI, via Our World in Data. "Military spending as a share of GDP". Retrieved from https://ourworldindata.org/grapher/military-spending-as-a-share-of-gdp-sipri. Licensed CC BY 4.0.

Background

During the Cold War both superpowers spent a large share of their economies on defence. US spending peaked during the Korean and Vietnam wars, and the Soviet share was higher still, though its true size is hard to estimate.

After 1991 most countries cut defence spending, the so-called peace dividend. Since Russia’s annexation of Crimea in 2014, and much more after its full-scale invasion of Ukraine in 2022, spending has risen again, especially in Europe, where NATO members have committed to at least 2% of GDP.

How the indicator is measured

SIPRI counts current and capital spending on armed forces, defence ministries, paramilitary forces and military space activities, pensions of military personnel and military aid. Figures are built from official budgets, adjusted where they leave items out.

What to look for in the data

  • US spending as a share of GDP is far below its Cold War levels, even though it is the largest in absolute terms.
  • Russia’s share has risen sharply since 2022.
  • Israel has consistently spent one of the highest shares among developed economies.
  • Germany’s share fell for decades after reunification and has started to rise again.

Limits and caveats

  • Several countries, including China and Russia, publish incomplete defence budgets; SIPRI’s figures are estimates.
  • A rising share can come from a shrinking economy, not only from more spending.
  • Spending is an input. It says nothing about the effectiveness of a country’s armed forces.

Who uses military expenditure (% of gdp) data

  • Defence and security analysts
  • International relations students
  • Policy journalists
  • Public finance researchers

How to analyze this dataset yourself

  1. Open the data: download the CSV from the Our World in Data chart and drop it into Datastripes. It loads in your browser, with no upload.
  2. Filter the entities: the file has one row per country and year. Filter the entity column to the countries or regions you care about, or use code (for example sipri) to pick out aggregates.
  3. Pick a time window: sort or filter on the time column to isolate a period, such as the years before and after a policy change.
  4. Join other indicators: add a second OWID file, for example GDP or population, and join it on entity and year to look for relations.
  5. Forecast and simulate: run a no-code forecast on any series, or build what-if scenarios on top of it.
  6. Publish a story: turn your filtered table into a data story in any of the eight formats and embed it on your site with the Datastripes dashboard widget.

Why this dataset uses the slide deck format

A few strong messages: who spends the most, who has increased. A slide deck gives each one its own screen.

One finding per screen, answer first. Step through with the arrow keys or the buttons. Datastripes can present any dataset in eight formats: scrolling article, slide deck, conversation, newspaper front page, timeline, tap-through stories, quiz and bento grid. In automatic mode it picks one from the shape of the data. For this indicator the format is fixed to the one that fits best. You can see every format side by side in the data story gallery.

Frequently asked questions

What is the NATO 2% target?

A guideline agreed in 2006 and reaffirmed in 2014 that NATO members spend at least 2% of GDP on defence.

Which country spends the most?

In absolute terms, the United States. As a share of GDP, countries at war or in tense regions, such as Ukraine, Israel and some Gulf states, rank highest.

Is the Soviet Union in the data?

SIPRI coverage for the Soviet period is incomplete; Russia’s series is consistent from the 1990s.


Data: Our World in Data, published under CC BY 4.0, downloaded in your browser when you open this page. Datastripes is not affiliated with Our World in Data. Visualisations are generated automatically and may lag behind the latest OWID release by a few days.

Build this into your own app

The same engine behind this page is available as embeddable JS widgets.

Welcome to Datastripes