Guns vs Butter in Numbers
Every dollar spent on tanks is a dollar not spent on teachers. We mapped military, education, and health spending for every country — the priorities are stark.
Every Dollar Spent on Tanks Is a Dollar Not Spent on Teachers
The "guns versus butter" tradeoff is the oldest cliche in economics. Textbooks present it as a production possibilities frontier -- a clean curve where a nation slides between military hardware and civilian goods. In the real world, the tradeoff is messier, uglier, and far more revealing than any curve on a whiteboard.
We pulled military expenditure (originally compiled by the Stockholm International Peace Research Institute), government education spending, and current health expenditure as a share of GDP for 154 countries. The data comes from the World Bank's World Development Indicators, cross-referenced with UNDP Human Development Index scores. The picture that emerges is not subtle. Some countries spend more arming themselves than educating their children. Others have figured out that investing in people pays better returns than investing in weapons. The numbers make the values visible.
The Global Picture
The chart below stacks military, education, and health spending for the 40 countries with the highest military expenditure as a share of GDP. Red is military. Blue is education. Green is health.
Start at the top. Ukraine at 36.5% of GDP on military spending is the wartime outlier -- a country whose entire economy has been reorganized around survival. Set it aside.
Below Ukraine, the pattern is dominated by the Middle East and the former Soviet periphery. Algeria spends 7.4% of GDP on its military -- more than it spends on education (5.6%) and health (4.4%). Saudi Arabia allocates 7.3% to defense, against 5.1% for education and 5.7% for health. The Kingdom can afford all three, with GDP per capita at $64,500. But the priority ranking is revealing: guns first.
Qatar spends 6.5% of GDP on its military. That is three times its health spending (2.2%) and the education figure is not even reliably reported. Oman devotes 5.5% to the military versus 3.5% to health. These are wealthy petrostate societies choosing to arm themselves at the expense of their own human capital. The irony is that none of them face an existential military threat remotely proportional to their spending.
Now look at the other end. Japan spends 1.1% of GDP on defense and 10.7% on health. Germany spends 1.5% on military and 11.7% on health. Norway allocates 1.8% to defense and 9.4% to health. The Nordic and Western European pattern is consistent: military spending is a modest slice; health and education dominate. These are also, not coincidentally, the countries with the highest human development scores on earth.
Does Military Spending Hurt Development?
This is the harder question. Spending money on tanks does not automatically make your population less educated or less healthy. Rich countries can afford both -- the United States spends 3.3% of GDP on defense and 16.7% on health, and its HDI is 0.938. The question is whether the ratio of military to social spending tells us something about development outcomes.
The chart below plots each country's military-to-education spending ratio against its HDI score. Bubble size reflects GDP per capita. Only countries with data on both military and education spending are included (86 countries).
The pattern is suggestive, not deterministic. Countries where military spending exceeds education spending -- a ratio above 1.0 -- tend to cluster at lower HDI levels. Pakistan spends 1.48 times more on its military than on education, and its HDI is 0.544. Algeria has a ratio of 1.32 and an HDI of 0.763. Jordan at 1.37 reaches 0.754.
The exceptions are instructive. Saudi Arabia has a ratio of 1.42 but an HDI of 0.900 -- oil wealth can paper over a lot of misallocation. Singapore has a ratio of 1.32 and a spectacular HDI of 0.946, but Singapore is Singapore: a city-state that treats defense spending as an existential insurance premium and runs its education system with ruthless efficiency regardless.
At the other end, countries that prioritize education over military spending consistently rank higher on human development. Argentina spends nearly 8 times more on education than defense (ratio 0.13) and has an HDI of 0.865. Moldova at 0.09 reaches 0.785. Cuba spends 0.36 times as much on military as on education -- 2.9% versus 8.0% -- and despite decades of economic isolation, its HDI of 0.769 outperforms many wealthier nations.
The correlation is not iron-clad, and it should not be. A country's development level depends on hundreds of factors -- institutions, geography, history, trade. But the signal is clear enough: countries that systematically choose guns over classrooms tend to end up with populations that are less educated, less healthy, and less prosperous than their resources should allow. A side-by-side look at Pakistan and Japan makes the divergence concrete.
Regional Patterns
The regional averages make the geographic clusters vivid.
Middle East and North Africa leads the world in average military spending at 3.8% of GDP. Education spending averages 4.0% -- barely more than the military budget. Health averages 6.5%. This is a region where the guns-versus-butter tradeoff is not theoretical. The average MENA country spends almost as much preparing for war as educating its people. Some spend more.
Europe and Central Asia averages 2.7% military, 4.4% education, and 8.1% health. The headline numbers look reasonable, but they mask enormous variance. Western Europe clusters below 2% military with generous social spending. The post-Soviet states -- Russia at 5.4%, Armenia at 5.5%, Azerbaijan at 4.9% -- drag the regional military average up sharply.
East Asia and the Pacific averages just 1.7% on military. This is the "peace dividend" region -- decades of relative stability (Taiwan Strait tensions notwithstanding) have allowed countries like Japan, South Korea, and most of Southeast Asia to redirect resources toward economic development. South Korea is the interesting exception: 2.6% military spending is elevated by regional standards, driven by the reality of living next to North Korea. Yet South Korea's HDI of 0.937 shows that high military spending need not cripple development when the rest of the policy mix is sound.
Latin America and the Caribbean is the most pacifist region by spending: just 1.3% of GDP on military, with 4.4% on education and 7.3% on health. The region's development challenges -- inequality, institutional weakness, crime -- are real, but they are not the kind that more tanks would solve. Latin America made a collective bet on social over military spending decades ago, and the bet has broadly paid off in human development terms.
Sub-Saharan Africa averages 1.5% military, 3.5% education, and 5.6% health. These numbers look modest until you remember how small African GDP is in absolute terms. For many African countries, even 3.5% of GDP on education translates to a few hundred dollars per student per year. The issue in Africa is not the split between guns and butter -- it is the size of the pie.
South Asia stands out for abysmally low social spending. The average is 1.5% military, 2.7% education, and 3.8% health. Pakistan is the poster child: 2.9% military versus 2.0% education, in a country where 40% of children are stunted and literacy hovers around 58%. India spends 2.4% on military and 3.3% on health for 1.4 billion people -- numbers that would be inadequate for a country a fraction of its size.
The American Paradox
The United States deserves its own section because it breaks the pattern in a specific and important way.
At 3.3% of GDP, American military spending is elevated but not extreme by global standards. It is the health number that is extraordinary: 16.7% of GDP, the highest in the world by a wide margin. The next closest among large economies is France at 11.5%. Germany spends 11.7%. The United Kingdom spends 11.0%.
And what does America get for nearly 17 cents of every dollar going to healthcare? A life expectancy of 78.4 years. That is lower than Cuba (77.4 years at 11.0% health spending), barely above China (78.0 years at 5.9%), and far below Japan (84.0 years at 10.7%) or Norway (83.1 years at 9.4%).
The American health spending anomaly is not a guns-versus-butter story. It is a butter-versus-butter story: the United States spends enormous sums on healthcare and gets mediocre population-level outcomes because the spending is inefficiently structured, heavily tilted toward expensive acute care, and leaves tens of millions underinsured. America's problem is not that it chose guns over health. It is that it chose a uniquely dysfunctional way to buy health. You can compare the full economic data for the US and Norway to see how two wealthy countries allocate resources differently.
Historical Shifts: The Peace Dividend That Wasn't
After the Cold War ended in 1991, the world was promised a "peace dividend" -- resources freed from military budgets would flow into schools and hospitals. Did it happen?
The small multiples above track military, education, and health spending for all 19 G20 countries from 2000 to 2023. The patterns vary dramatically.
The U.S. story is the war on terror: military spending rose from 3.1% of GDP in 2000 to a peak around 4.5% during the Iraq/Afghanistan years, then gradually declined to 3.3% by 2023. Health spending, meanwhile, climbed relentlessly from 12.5% to 16.7%. Education data for the US is not consistently reported at the federal level.
Russia tells the rearmament story. Military spending was around 3.7% of GDP in 2000, fell briefly, then climbed steadily to 5.4% by 2023 -- with an acceleration visible after 2014 (Crimea). Education spending held roughly flat around 4%. Health spending grew modestly. Russia chose guns.
Saudi Arabia shows volatility tied to oil prices and regional conflict. Military spending fluctuated between 5% and 10% of GDP over the period, spiking during the Yemen intervention. This is a country whose spending priorities are hostage to the price of crude and the ambitions of its leadership.
China is the quiet story. Military spending has been remarkably stable at 1.6-1.8% of GDP for two decades, even as the absolute dollar amount soared (because GDP grew so fast). Education spending rose from around 2.6% to 4.0%. Health spending climbed from 4.5% to 5.9%. China chose butter, at least in percentage terms -- though its military spending in absolute dollars now ranks second globally.
India shows a slow decline in military spending from 3.0% to 2.4% of GDP, with health spending barely budging at 3.3%. For a country with India's development needs, these are worryingly low numbers across the board.
The peace dividend, in summary, was real but uneven. Western Europe and East Asia took it. The Middle East never got it. Russia initially took it, then reversed course. The United States took it briefly in the late 1990s, then gave it back after September 11, 2001.
What the Numbers Say
Spending priorities are not accidents. They are choices, made by governments, ratified by budgets, and measured in outcomes. A country that spends more on its military than on educating its children has made a statement about what it values -- whether or not any politician says so out loud.
The data does not show that military spending is always wasteful. South Korea, Israel, and Singapore maintain high military spending alongside high human development. Security is a precondition for development, and countries facing genuine threats have no choice but to arm themselves.
But the data does show this: on average, across 154 countries, the countries that lean furthest toward guns and away from butter tend to have lower human development, shorter lives, and less education. The countries that lean the other way -- the Nordics, the Costa Ricas, the Cubas -- consistently outperform on human outcomes relative to their wealth.
The guns-versus-butter tradeoff is not a relic from Cold War economics textbooks. It is alive, measurable, and consequential. Every national budget is a moral document. The numbers just make the morality visible.
Methodology
Raw data inputs:
- Military expenditure (% of GDP) — World Bank WDI (series
MS.MIL.XPND.GD.ZS), originally compiled by the SIPRI Military Expenditure Database - Government expenditure on education, total (% of GDP) — World Bank WDI (series
SE.XPD.TOTL.GD.ZS) - Current health expenditure (% of GDP) — World Bank WDI (series
SH.XPD.CHEX.GD.ZS) - GDP per capita, PPP (constant 2021 international $) — World Bank WDI
- Life expectancy at birth, total (years) — World Bank WDI
- Human Development Index — UNDP Human Development Reports
Derived metrics:
military_to_education_ratio = military_pct_gdp / education_pct_gdp
military_to_health_ratio = military_pct_gdp / health_pct_gdp
spending_priority = argmax(military_pct_gdp, education_pct_gdp, health_pct_gdp)
regional_avg_military = mean(military_pct_gdp) over countries in region
regional_avg_education = mean(education_pct_gdp) over countries in region
regional_avg_health = mean(health_pct_gdp) over countries in region
A ratio above 1.0 means a country spends more on its military than on that social category; below 1.0 means the reverse. Regional averages are unweighted country means (each country counts once) within World Bank regional groups, using each country's most recent year in the 2015-2023 window.
Time period: For the cross-sectional analysis, we use the most recent year (2015-2023) with available military spending data per country. For time series, G20 countries from 2000-2023.
Sample: 154 countries after excluding World Bank aggregate groups (regions, income groups). The military-to-education ratio analysis is limited to 86 countries with both indicators available.
Limitations: Education spending data from the World Bank is patchy -- many high-income countries (including the United States, United Kingdom, and most Nordic countries) have gaps in the reported series, limiting the military/education ratio analysis. Health expenditure includes both public and private spending, which is why the US figure (16.7%) is so much higher than countries with universal public systems. Military spending figures may understate actual expenditure in countries with opaque defense budgets (China, Russia). The analysis treats current-year spending ratios as indicative of priorities, but accumulated capital (hospitals, schools, weapons systems) reflects decades of past spending.
Related research
Who Funds Their Own Defense
Who's actually paying for Western security? We mapped NATO defense spending against the 2% target. The free-riding is measurable — and the dollar gap is enormous.
Aging Economies
Japan is the future — and most countries aren't ready. Population aging will break budgets, shrink workforces, and reshape economies. The timeline is visible in the data.
Climate Vulnerability vs Emissions
Chad emits less CO2 in a year than a US state does in a day. Chad is also one of the most climate-vulnerable countries on Earth. The injustice is measurable.
Corruption Tax
Corruption isn't a moral issue — it's a tax, and we can estimate the rate. Countries with worse governance attract less investment, grow slower, and develop less. The data quantifies the cost.
The Debt-Trade Spiral
Persistent trade deficits and fiscal deficits compound into a debt spiral visible across decades. The data shows which countries are trapped — and which broke free.
Does Democracy Pay?
Democracies are richer — but did democracy make them rich? The relationship between governance and growth is more complicated than any slogan. We let the data speak.
Related explainers
Base effects
Why year-over-year numbers can look dramatic simply because last year was weird.
Capital account / financial account
The mirror image of the current account: how deficits get financed and why ‘money leaving’ is often backwards.
Debt sustainability: why the number that matters isn't the debt level
Japan survives at 250% debt-to-GDP. Argentina collapses at 60%. The difference is everything.
Dutch disease
How a resource windfall can hollow out the rest of your economy — and why the real disease is mismanagement.
Economic sanctions: what they are, what they aren’t, and how they leak
Sanctions are financial plumbing and export controls—not magic. They bite through chokepoints and leak via detours.
Exchange-rate pass-through
How currency moves translate into domestic prices—and why it’s rarely one-for-one.