An official website of the U.S. government
U.S. flag
This site is in beta. We're updating this site on a rolling basis and we'd love your feedback! Contact us here.

Compare Federal Spending of the United States to other Countries

This chart outlines the total spending of the United States compared to 169 different countries in 2017. In this section, figures are presented using financial data from 2017, allowing us to provide you with the most recent spending data for the greatest number of countries. In 2017, the United States spent $4 trillion. That $4 trillion in spending was equivalent to 21% of U.S. gross domestic product (GDP) for 2017.

How does the United States compare to countries of similar size and gross domestic product? Explore the chart. You can compare spending (in dollars) and spending as a percent of gross domestic product. Find a country of interest and see for yourself.

Please note that the countries depicted in this chart have different forms of government, and these differences may impact the scope of finances reported by each country.

Country Comparison

Click to sort columns.

The visualization was created using the Monthly Treasury Statement (MTS) as the data source for federal government spending of the United States. Gross domestic product (GDP) figures come from the Bureau of Economic Analysis (BEA). Gross domestic product data for countries other than the United States comes from the International Monetary Fund (IMF) World Economic Outlook Database (WEOD).

In researching potential data sources for information on the spending of other governments for the country comparison module, we chose the CIA World Factbook because it provides the best comparison for the following reasons:

  • the number of countries with 2017 data,
  • relative consistency with the level of government measured (central government only as a standard),
  • all figures expressed in US dollars

Countries with figures before 2017 were excluded from the country comparison data set. Although most countries in the data set feature spending from central government sources only, some countries included state/provincial/local spending. As a result, this visualization should not be considered an absolute comparison of the spending of central governments for all countries.

To finish the data set for Country Comparison, gross domestic product figures from BEA and the IMF WEOD were combined with spending figures from the CIA World Factbook data set, excluding countries that did not have data available from both sources.

Download Source Data