Data Lab is realigning with our sister websites to better serve you! Beginning Fall 2022, you can find new content on and Be sure to update your bookmarks.
An official website of the U.S. government
Data Lab Logo of an abstract American flag referencing a bar chart
Data Lab Logo of an abstract American flag referencing a bar chart

In 2021, the government spent $6.82 trillion.

How does federal spending compare to federal revenue and the size of the economy?
=$1 billion
6,818 dots x $1 billion = $6.82 trillion

Where does all the money go? The government spends money on programs that ensure the well-being of the people of the United States. Why does the federal government do this? The Constitution provides an answer! The Constitution’s preamble states that the purpose of our government is “…to establish Justice, insure domestic Tranquility, provide for the common defense, promote the general Welfare, and secure the Blessings of Liberty to ourselves and our Posterity.”

anecdote icon

How much is $6.82 trillion in federal spending? If you divide it by the U.S. population estimate in 2021, 332.8 million (U.S. Census Bureau), it would equate to a little more than $20,500 in federal spending for every individual.

definition icon

Gross domestic product (GDP) measures the size of the nation's economy by the total value of final goods and services that are produced in a year. Gross domestic product is used to compare the economies of different countries, measure growth in the economy, and determine the right monetary policies to address inflation and unemployment.

anecdote icon

In this visualization, one dot represents $1 billion dollars.

Data Sources and Methodology

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). GDP for FY 2021 is based on the economic forecast for the 2022 Mid-Session Review, adjusted for the Bureau of Economic Analysis (BEA) revisions. The spending-to-gross domestic product ratio is included to provide you with context for the trillions of dollars that go out from the federal government annually. Throughout this page, we use the gross domestic product for the Fiscal Year, not the Calendar Year, in order to facilitate an appropriate comparison. contains spending data from the federal government’s response to COVID-19 and is available to view and download on USAspending.

Download Source Data
More Analyses