An official website of the U.S. government
U.S. flag

Compare the Federal Deficit of the United States to Other Countries

How does the United States compare to countries of similar size and gross domestic product? Explore the chart, which shows the total revenue of the United States compared to 169 other countries listed in the CIA World Factbook. You can compare deficits (in dollars) and deficit as a percent of gross domestic product. Find a country of interest and see for yourself. To ensure an accurate comparison, 2017 revenue data is used in this section, not current fiscal year data.

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.

Data Sources and Methodology

The visualization was created using the Monthly Treasury Statement (MTS) as the data source for federal government revenue, spending, and deficit of the United States. Gross domestic product (GDP) figures for the United States come from the Bureau of Economic Analysis (BEA). GDP 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 revenue and 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 revenue and spending from central government sources only, some countries included state/provincial/local data. As a result, this visualization should not be considered an absolute comparison of the revenue and 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 revenue and spending figures from the CIA World Factbook data set, excluding countries that did not have data available from both sources.

Download Source Data