US Treasury Fiscal Data, Gas Prices & Capex Charts

8 min read

Want to see what Parity builds from your data?

Connect a spreadsheet or the tools you run on, and Parity builds the dashboard and writes the report, with every number checked.

Build a report

US Treasury fiscal data visualization: smoothing seasonal swings into rolling totals

Every April, tax returns flood the federal account. If you plot raw monthly federal receipts on a standard line chart, that spring spike and the autumn fiscal year-end surge drown out the actual trend. You end up charting the tax calendar instead of the budget.

Our public data library holds 74 stories and 135,783 words built from open sources including the World Bank, NOAA, NASA, BLS, UNHCR, and the US Treasury.

In our federal budget inflows and outflows story, we solved the seasonality problem by plotting rolling 12-month sums from Table 9 of the Monthly Treasury Statement. Each monthly point totals the previous 12 months, smoothing out April tax payments so the chart reads in annual dollars.

Rolling 12-month totals mean a new fiscal shock shows up gradually and appears in full only a year after it starts.

Once the monthly noise disappears, the true structural layers stand out clearly on both sides of the ledger:

  • Individual income and payroll taxes: Individual income tax brought in about 51% of all receipts in fiscal 2025, and together with payroll taxes (combining employment and general retirement, unemployment insurance, and other retirement receipts) made up roughly four-fifths of federal collections.
  • Shrinking corporate tax receipts: Corporate income tax raised $452 billion in fiscal 2025, then fell to $295 billion in the first 11 months of fiscal 2026 against $390 billion a year earlier, which the CBO links largely to immediate investment deductions in the 2025 reconciliation act.
  • Aging and healthcare outlays: Below the zero line, Social Security cost $1,581 billion in fiscal 2025, Medicare cost $997 billion, and health programs (mostly Medicaid and insurance subsidies) added $979 billion.
  • Pandemic emergency swings: Income security swelled to $1,649 billion in fiscal 2021 as the 12-month deficit peaked at $4.09 trillion in the year to March 2021, before falling back to $702 billion by fiscal 2025.

Charting the deficit feedback loop and customs tariff refunds

That left a $1.78 trillion deficit in fiscal 2025, up from $0.98 trillion before the pandemic in fiscal 2019, and the CBO's preliminary estimate puts the fiscal 2026 deficit at $2.0 trillion, or $218 billion higher.

Plotting the decade in stacked bands reveals a compounding feedback loop on the debit side. Each annual deficit adds to total debt, expanding the interest bill and widening the following year's deficit:

  • Fourfold interest growth: Net interest as reported in the Monthly Treasury Statement (which nets out interest received by government trust funds) climbed from $241 billion in fiscal 2016 to $971 billion in fiscal 2025.
  • Overtaking defense spending: On the Treasury's measure, net interest passed defense outlays in fiscal 2024 and remained ahead in fiscal 2025 ($971 billion versus $917 billion for defense).
  • Passing the trillion-dollar mark: In the 12 months to August 2026, net interest reached $1,054 billion against $952 billion for defense.

Wait to plot a single headline revenue line until you check whether refunds are distorting it. Customs duties jumped from $35 billion in fiscal 2016 and $77 billion in fiscal 2024 to $195 billion in fiscal 2025. Yet even at its peak, the tariff surge amounted to only a few percent of federal revenue.

After the Supreme Court's ruling, much of that tariff collection was being refunded to importers. To show that reversal honestly, our inset pulls Table 4 of the Monthly Treasury Statement, plotting gross customs duties above the axis, refunds below the line, and net duties as a trace. Meanwhile, the CBO expects the 2025 reconciliation act to add $3.4 trillion to deficits over a decade, primarily from lower taxes.

Why foreign Treasury holdings tables need custodial and fair-value caveats

A ranked table of countries holding US government debt looks exact at first glance. When we built our foreign holders of US Treasuries analysis, the footnotes in the Treasury International Capital (TIC) data showed why a naive ranking misleads readers.

First, where a bond is kept is not who owns it. Because the data come mainly from US custodians and broker-dealers, securities held in overseas custody accounts may not be attributed to their actual owners. Treasury's survey notes that this custodial bias tends to overstate holdings in financial centers such as Belgium, Luxembourg, Switzerland, and the United Kingdom.

Holdings booked to private intermediaries in those custody hubs can belong to foreign central banks. As a result, China's reported $590.7 billion is a floor for what Chinese institutions control rather than a complete count.

Second, bond prices move the reported totals even when nobody buys or sells. The long-term bond and note figures come from Form SLT, which reports fair-value changes alongside net purchases and sales. When interest rates climb, existing bonds lose market value, so a country's line can drop without a single sale.

Weekly US gas prices since 1990: spiral timelines and CPI inflation adjustments

Long weekly time series pose two visual traps: seasonal cycles repeat every 52 weeks, and inflation stretches the dollar axis over decades. In our US gas prices spiral, we plotted the EIA's Weekly US Regular All Formulations Gas Price (GASREGW) via FRED, from August 20, 1990 to October 5, 2026, on a spiral that turns once per calendar year clockwise from January at the top.

Overall consumer prices rose about 2.5 times since 1990 while pump prices rose 3.7 times, so the $1.19 gallon of August 20, 1990 equals about $3.02 in August 2026 dollars (and the 1991 annual average of $1.10 sat near the start of a quiet decade).

Comparing nominal and CPI-adjusted figures changes which eras look most expensive:

  • The 2026 Strait of Hormuz shock: Gas averaged $2.91 in February 2026 before military action on February 28 closed the Strait of Hormuz, triggering a +49¢ jump on March 9, 2026 (tying the record one-week jump), pushing March Brent crude to a $103 average and US gas to $3.99 on March 30, and hitting a 2026 peak of $4.50 on May 11, 2026 (55% above February).
  • Late-summer rebound: A June 18 US-Iran memorandum of understanding briefly eased prices, but Hormuz traffic fell to about five vessels a day in July and August by Al Jazeera's count, lifting the September average to a month-record $4.33 according to AAA and leaving the 2026 year-to-date average at $3.84 (versus $3.10 in 2025), with 23 of the record's 53 weeks at $4 or more occurring in 2026 (matching 2022 and topping the 7 weeks in 2008).

Aligning Big Tech capex across staggered fiscal calendars and XBRL tags

Corporate financial filings look standardized until you compare five hyperscalers side by side. In our Big Tech capex skyline analysis, combined cash capital spending across Amazon, Alphabet, Microsoft, Meta, and Oracle jumped from $32.2 billion in 2016 to $411.5 billion in 2025 (up 72% over 2024's $239.1 billion) and reached $586.4 billion across the latest four reported quarters.

To make those towers comparable across SEC forms, we had to normalize four accounting differences:

  • Cash capex XBRL tags only: We pull cash purchases of property and equipment (PaymentsToAcquirePropertyPlantAndEquipment, or PaymentsToAcquireProductiveAssets for Amazon) and exclude assets acquired under finance leases.
  • Staggered fiscal calendars: Because Microsoft's fiscal year ends in June and Oracle's ends in May, we assign every fiscal quarter to the calendar year in which it ends.
  • Derived single quarters: Where filings report only cumulative year-to-date cash flows, we subtract the prior year-to-date total to isolate the single quarter.

The company breakdowns show why cash capex and headline capex diverge. Amazon leads at $173.0 billion in the latest four quarters (30% of the group total, up from $6.7 billion in 2016 and $83.0 billion in 2024), spent $54.2 billion in the quarter ended June 2026 alone, and raised its 2026 cash capex outlook from $200 billion to about $220 billion, citing higher memory costs.

Alphabet accounted for $132.4 billion (23%) in the latest four quarters, including $44.9 billion in the June 2026 quarter, raised its 2026 forecast to $195 to $205 billion (roughly 60% for servers and 40% for data centers and networking), and raised about $49.6 billion in new equity in June 2026.

Microsoft reached $115.9 billion (20%) in cash capex for fiscal 2026 ($35.8 billion in the June quarter, versus $41 billion when finance leases are included), with roughly two-thirds going to short-lived CPUs and GPUs and calendar 2026 capex expected at about $175 billion. Meanwhile, shifts from finance leases to operating leases can move future data-center capacity into multi-year rent rather than upfront capex.

To compare companies with staggered fiscal calendars, assign each fiscal quarter to the calendar year of its end date and derive standalone quarters by subtracting earlier year-to-date cash flow totals.

Four rules for turning raw economic tables into trustworthy charts

Whether you are working with public macroeconomic series or internal accounting exports, the same normalization rules apply before you draw a single bar or line. Careful chart selection and four data-cleaning checks keep the underlying numbers honest.

Run every multi-year table through four adjustments before plotting:

  1. Align staggered calendars: Map every observation to a shared period (such as assigning fiscal quarters to the calendar year of their end date) and subtract prior year-to-date figures when filings report cumulative totals.
  2. Smooth seasonal noise with rolling sums: Replace volatile single-month observations with rolling 12-month totals so annual tax deadlines or holiday spikes do not masquerade as trend changes.
  3. Pair nominal figures with real inflation scaling: Show both the nominal price paid and the CPI-adjusted equivalent so multi-decade charts do not confuse general price inflation with real relative cost increases.
  4. Inspect footnotes for accounting and valuation shifts: Check filing disclosures and survey notes for lease classification changes, fair-value bond revaluations, custodial reporting bias, and tax or tariff refunds.

Tip: When a revenue or expenditure series suddenly spikes or drops, check whether gross collections and refunds are reported in separate tables before plotting the net line alone.

Four adjustments remove calendar mismatches, seasonal spikes, inflation drift, and hidden accounting shifts.

Building an interactive dashboard from your own spreadsheets with Parity

You do not have to write custom scripts every time you want to turn a spreadsheet or accounting export into a clear visual story.

Connect a CSV, spreadsheet, or any of 54 supported business tools (including Stripe, QuickBooks, and Shopify), and Parity reads every row in read-only mode to build an interactive dashboard and formatted report in minutes, with every number checked against your data and ready to refine in plain English or export as a pixel-perfect PDF.

Charts like this, from your own numbers

Connect a spreadsheet or the tools you run on, and Parity builds the interactive dashboard and writes the report, with every number checked. Try Parity free

Want to see what Parity builds from your data?

Build a report