Notice: Undefined index: HTTP_USER_AGENT in /home/chan5964/public_html/usgs/include/usgs_head.php on line 6

Notice: Undefined index: HTTP_USER_AGENT in /home/chan5964/public_html/usgs/rev/usgs_widget.php on line 38
Government Spending Details in percent GDP: Federal State Local for 2023 - Charts>
 Site Map  enter code:


Federal Yield Curve

Click to view


Government Spending Details for 2023 in percent GDP

Total US government estimated spending for 2023 is $9.35 trillion, including a budgeted $5.79 trillion federal, a “guesstimated” $2.19 trillion state, and a “guesstimated” $2.4 trillion local.

smaller text  bigger text  download view  download file  print view
Units: By default, values are displayed in billions of nominal dollars. By using a dropdown control in the table heading you can select millions of dollars, percent of GDP, percent of federal total, percent of overall total, dollars per capita of population, and thousand dollars per capita of population.
Fiscal Year: The default year displayed is the current US government fiscal year. But you can select any year you want using the dropdown control in the table heading. At the top and bottom of the dropdown only years ending in “0” are shown. Select a year to get close, then select the year you want. You can increase or decrease the year using the “yr” text links in the table heading.
US Budget Year: By default, the table displays budgeted and estimated numbers from the most recent US Federal Budget submitted to the Congress by the president. But you can look at numbers from other US Federal Budgets using this dropdown control.
full screen
GDP: $25,566.5 bln
$45,777.5 bln
State and Local Spending: By default, state and local spending are displayed separately. But you can select state'n local and display state and local spending combined.
US or State: By default, the table shows values for governments in the United States overall. But for years after 1991 you can select individual states by selecting the state dropdown control in the table heading or the text link right above it.
Pie Chart: Select a pie chart you wish to display. You can create a pie chart for federal, state and local, and overall spending/revenue.

United States Federal
State and Local Government Spending
Pop: 334.5 million 
-5yr -1yr   Fiscal Year 2023 in percent GDP   +1yr +4yr
View: people old function radical census
programs altprog oldprog COFOG
Change Data View: The default view of spending data is by function. But you can also view data by program or the UN COFOG classification system.
Total chart 
[+]  Pensions 5.48 0.00 1.24 0.28 7.00  
[+]  Health Care 6.40 -2.27 3.67 0.85 8.66  
[+]  Education 0.96 -0.31 1.54 3.44 5.62  
Charts: Click on a to display a bar of data in a row or column of this table.
Click on to display a time-series chart of data in a row.
[+] Drill-down: Click on the [+] to drill down to more detailed numbers. For federal spending line items (but not revenue) you can drill down three levels to view about 4,000 items of spending at the “agency code” level.
Defense 4.57 0.00 0.00 0.00 4.57  
[+]  Welfare 1.90 -0.72 0.27 0.48 1.93  
[+]  Protection 0.19 -0.07 0.37 0.93 1.43  
[+]  Transportation 0.58 -0.41 0.59 0.84 1.60  
[+]  General Government 0.27 -0.04 0.27 0.39 0.89  
[+]  Other Spending 0.76 -0.21 0.45 1.87 2.88  
[+]  Interest 1.55 0.00 0.16 0.30 2.01  
[+]  Balance 0.00 0.00 0.00 0.00 0.00  
[+]  Total SpendingStart chart 22.65 -4.02 8.57 9.38 36.58  
[+]  Federal Deficit 4.51 0.00 0.00 0.00 4.51  
[+]  Gross Public Debt 127.48 0.00 4.83 9.19 141.50  
[+]  Other Borrowing 2.00 0.00 0.00 0.00 2.00  
[+]  Agency GSE Debt 46.61 0.00 0.00 0.00 46.61  
expand / collapse      Click for Bar Chart -> 
Pie Chart: Select a pie chart you wish to display. You can create a pie chart for federal, state and local, and overall spending/revenue.

b - estimated by US budget
g - 'guesstimated' projection by
e - estimated by
Data Sources:
GDP, GO: GDP, GO Sources
Federal: Fed. Budget: Hist. Tables 3.2, 5.1, 7.1
State and Local: State and Local Gov. Finances
'Guesstimated' by projecting the latest change in reported spending forward to future years
Switch to revenue

Spending Definitions

Pensions: Pensions, disability.

Health Care: Health care.

Education: K-12, college, training.

Defense: Military, foreign policy, veterans, foreign aid.

Welfare: Cash welfare, food stamps, unemployment benefits, workers compensation, housing, excluding health care.

Protection: Police, fire, law courts, prisons.

Transportation: Road, rail, airports.

General Government: Legislative, executive, finance.

Other Spending: Research, economic development, agriculture, energy, environment.

Interest: Interest on government debt.

Total Spending: Federal: total outlays including grants to state and local. State and local: direct spending on programs.

Table Notes

The table shows overall government expenditures for the specified fiscal year. Spending totals are aggregated for each major government function.

  1. For the United States the table shows spending for all levels of government—federal spending, state spending, and local spending.
  2. For individual states the table shows expenditures for state and local governments only.

Intergovernmental Transfers: The column labeled “Gov. Xfer” in the table represents monies paid by the federal government as grants and aid to state and local governments. These are “intergovernmental transfers.”

For a discussion read All About Intergovernmental Transfers.

Federal Spending by Agency Code: If you drill down below the federal subfunction level you can see federal spending split up into about 4,000 agency code accounts.

For a discussion read Federal Spending at the Agency Code Level

For explanation of Other Borrowing row see blog on “The Feds Borrow More than the ‘Deficit.’”

You can use controls on the table to change from display of nationwide spending data to individual states. You can change the year or to drill down to view more detailed spending information. You can also view the spending data as percent of Gross Domestic Product (GDP).

Click the button at the right of each line of the table to display a bar chart of government spending. Click a button at the base of each column for a bar chart or pie chart. You can right click on the chart image to copy and paste it into your own content. Click the image to close the chart display.

Download Data


Tab-delimited Table

<table> Table

Data Notes

Data Sources: For a discussion of the sources of the government spending data used here read How We Got the Data for

Actual vs. Budgeted: Government spending data in includes historical spending and also future spending in three categories: budgeted, estimated, and guesstimated. Records of recent spending are more detailed than historical records of earlier times.

All federal outlays prior to 2023, state spending prior to 2022 and local spending prior to 2021 are actual. More recent spending, including future years out to 2028, are budgeted, estimated, or guesstimated.

Federal expenditure for 1962 through 2028 is based on federal subfunction data published in the president’s Budget of the United States Government. State and local expenditure—both for the United States as a whole and for individual states—for 1992 through 2020 is derived from spending, revenue, and debt numbers in the US Census Bureau’s annual survey of State and Local Government Finances.

State and local expenditure for the United States as a whole between 1971 and 1991 is obtained from Statistical Abstract of the United States. State and local expenditure for individual states between 1957 and 1991 is obtained from an MS Access database at a US Census Bureau site:

Federal expenditure between 1792 and 1961 and state and local expenditure for the United States as a whole between 1902 and 1971 is obtained from the US Census Bureau’s Bicentennial Edition: Historical Statistics of the United States, Colonial Times to 1970.

For a table of data sources see Government Spending Data: Sources.

Government Spending Updates: The most recent year for actual federal spending is FY 2022. The most recent year for actual state spending is FY 2021. The most recent year for actual local government spending is FY 2020.

Typically, federal spending for the fiscal year ending September 30 is first updated from the US Treasury data published in mid October each year, and then updated when the federal budget is published the following February. State and local spending is updated when published by the US Census Bureau.

The update schedule is published on Government Spending Update Schedule.

Suggested Video: Spending 101

Top Spending Requests:

Find DEFICIT stats and history.

Get WELFARE stats and history.

US BUDGET overview and pie chart.


DOWNLOAD spending data or debt data.

See FEDERAL BUDGET breakdown and estimated vs. actual.

MILITARY SPENDING details, budget and history.


See BAR CHARTS of spending, debt.

Check STATE spending: CA NY TX FL and compare.



Take a COURSE at Spending 101.

Make your own CUSTOM CHART.

Spending Data Sources

Spending data is from official government sources.

Gross Domestic Product data comes from US Bureau of Economic Analysis and

Detailed table of spending data sources here.
Medicare breakdown here; Medicaid breakdown here.

Federal spending data begins in 1792.

State and local spending data begins in 1820.

State and local spending data for individual states begins in 1957.

Gross Federal Debt

Debt Now:  $31,454,525,403,853.71
Debt 2/2020:$23,409,959,150,243.63

Win Cash for Bugs

File a valid bug report and get a $5 Amazon Gift Certificate.

Get the Book

Notice: Undefined index: HTTP_USER_AGENT in /home/chan5964/public_html/usgs/rev/usgs_widget.php on line 606

US Government Spending 2020: only 99¢.

US Government Spending 2012: free.

Data Sources for 2023:

GDP, GO: GDP, GO Sources
Federal: Fed. Budget: Hist. Tables 3.2, 5.1, 7.1
State and Local: State and Local Gov. Finances
'Guesstimated' by projecting the latest change in reported spending forward to future years

> data sources for other years
> data update schedule.


 On January 6, 2023 the US Census Bureau released data on state finances for FY 2021 here and here, including spending and revenue for each individual state and for all states combined.

On January 7, 2023 we updated state and local spending and revenue data for FY2021 through FY2027 as follows:

  1. We replaced "guesstimatedstate spending and revenue data for FY2021 using the new FY2021 data from the Census Bureau.
  2. We replaced "guesstimatedlocal spending and revenue data for FY 2021 with estimates for each spending and revenue category using the trends in state finances between FY 2020 and FY 2021.
  3. We replaced "guesstimatedstate revenue data for FY 2022 with data from the Census Bureau's quarterly state tax summary here.
  4. We replaced "guesstimatedlocal revenue data for FY 2022 with estimates for each category using trends for each category of state revenue between FY 2020 and FY 2021.
  5. We replaced "guesstimated" state and local spending and revenue for FY 2022 thru FY2027 with new guesstimates based on the latest Census Bureau data for FY 2021 state finances and FY 2022 quarterly tax data.

But there is a problem.

Up through 2018 the Census Bureau reports state government pensions with item codes: X11, X12, X14. And it reported employee retirement income and contributions with item codes: X01, X02, X05, X08. 

No more. 

Instead the Census Bureau reports the following item codes: X01, X30, X40, X52, X70.

But we can't find the current "code lists" that are used in the Census Bureau's State Government Finances report. The Code List page only has the old code list. As of this hour.

But, using advanced juggle-ology, it seems that: 

Code X40 replaces X11, X12, and X14 to yield pension payments. This almost balances with overall Total Spending for the US and sample states.

Codes X01, X30, X52, X70 replace X01, X02, X05, X08 to yield pension contributions and income. This almost balances overall Total Revenue for the US and sample states.

So the state finances data on published for 2020 contains juggled data. 

Here is the comparison of our "guesstimate" vs. "actual:"

State Finances for FY2021
Estimate vs. Actual

$ billionGuesstimateActual

We expect the Census Bureau to release local spending and revenue data for FY 2021 not earlier than Summer 2023.

Medicaid Update for FY 2021
 On January 6, 2023, the Centers for Medicare and Medicaid Services (CMS) published its annual report on  ...

US, State Population Update for 2022
On December 29, 2022 the US Census Bureau released its US national and state population estimates for July 1, 2022.  On December 30, 2022 updated its US and state popu ...

> blog

Spend links

us numbersus budgetcustom chartdeficit/gdpspend/gdpdebt/gdpus gdpus real gdpstate gdpbreakdownfederalstatelocal202120222023californiatexas

Masthead was designed and executed by:

Christopher Chantrill.

Email here.

presented by Christopher Chantrill

Data Sources  •   •  Contact