Aggregate Demand Calculator (C + I + G + NX)
Calculate aggregate demand using AD = C + I + G + NX.
Shows each component share of total demand with a breakdown of consumption, investment, and trade.
The fundamental equation of macroeconomics
Aggregate Demand (AD) is the total spending in an economy on final goods and services at a given price level. It decomposes into four components:
AD = C + I + G + (X − M)
Or equivalently: AD = C + I + G + NX, where NX = X − M is net exports.
This isn’t just a formula — it’s how economists categorize all spending in any economy. Every dollar spent on a final good fits in exactly one of these four buckets.
The four components — what each is and isn’t
C — Consumption (consumer spending on final goods and services)
- Includes: groceries, rent, cars, healthcare, restaurants, entertainment, durable goods
- Excludes: stock purchases (financial transactions), home purchases (counted as investment), tax payments
- Typically 60-70% of GDP in developed economies
I — Investment (business spending on capital goods)
- Includes: factories, equipment, software, R&D, inventory changes, new home construction
- Excludes: financial investments (buying stocks, bonds), existing home purchases (no new production)
- Typically 15-25% of GDP
- This is by far the most volatile component — swings hugely between booms and recessions
G — Government purchases
- Includes: government employee salaries, military equipment, public infrastructure construction, public school spending
- Excludes: transfer payments (Social Security, unemployment, welfare) — these are redistributed money, not new production. They show up when recipients spend them, as part of C.
- Typically 15-25% of GDP
NX — Net exports (X − M)
- X = Exports: domestically produced goods sold to foreigners
- M = Imports: foreign-produced goods bought domestically
- NX positive = trade surplus; NX negative = trade deficit
- Most developed economies run modest deficits (NX is slightly negative, 1-5% of GDP)
US GDP composition (BEA 2023 data)
| Component | Share of GDP | Value (~$28T total) |
|---|---|---|
| C — Personal consumption | 68% | $19.0T |
| I — Gross private investment | 17% | $4.8T |
| G — Government purchases | 17% | $4.8T |
| NX — Net exports | -3% | -$0.85T |
| Total GDP | 100% | $28T (approximate) |
The US is unusually consumption-heavy (~68% of GDP). Compare to other major economies:
| Country | C/GDP | I/GDP | G/GDP | NX/GDP |
|---|---|---|---|---|
| United States | 68% | 17% | 17% | -3% |
| China | 38% | 43% | 16% | +3% |
| Germany | 52% | 22% | 21% | +5% |
| Japan | 55% | 25% | 20% | 0% |
| United Kingdom | 65% | 17% | 22% | -3% |
| India | 60% | 30% | 11% | -1% |
| Russia | 50% | 22% | 18% | +10% |
China’s investment-heavy economy (43%) reflects rapid infrastructure build-out and high savings rates. The US’s consumption-heavy share reflects deep capital markets and easy credit. Germany’s export surplus is the largest by absolute amount among major economies.
The AD-AS framework
Aggregate Demand interacts with Aggregate Supply (AS) to determine the price level and real output (GDP). The AD curve slopes downward in (Price, Output) space for three reasons:
- Wealth effect: higher prices reduce the real value of wealth, lowering consumption
- Interest rate effect: higher prices push interest rates up, reducing investment
- International effect: higher domestic prices make imports relatively cheaper, reducing NX
When something shifts the AD curve outward (more spending at every price level), output and prices both rise in the short run. Shifts inward cause recessions and disinflation.
What shifts Aggregate Demand
| Factor | Effect on AD |
|---|---|
| Tax cuts | C increases (households have more spending power) |
| Government spending increase | G directly rises |
| Lower interest rates | I rises; C rises (cheaper credit) |
| Currency depreciation | NX rises (exports cheaper, imports dearer) |
| Consumer/business confidence rising | C and I both rise |
| Wealth increase (stock market rally) | C rises |
| Population growth | All components rise |
| Foreign economic growth | X rises |
| Foreign economic decline | X falls |
The two most powerful policy levers are fiscal policy (tax/spending decisions) and monetary policy (interest rates / money supply).
The Keynesian multiplier
When government spending rises by $1, total output rises by more than $1 because the recipients of that spending then spend a fraction themselves. This is the fiscal multiplier.
Multiplier = 1 ÷ (1 − MPC)
Where MPC is the marginal propensity to consume (the fraction of each additional dollar spent rather than saved). For typical MPC = 0.75, multiplier = 4.
In reality:
- US fiscal multiplier estimates range from 0.5 to 2.0 depending on circumstances
- Higher multiplier in recessions (resources idle)
- Lower multiplier in booms (resources fully employed)
- Government spending multiplier > tax cut multiplier (because not all tax savings are spent)
Critical context: the Bush 2008 stimulus was estimated at multiplier ~0.7. The Obama 2009 stimulus around 1.4. The COVID-era stimulus (which arrived during a unique recession) had multiplier estimates from 0.3 (high savings response) to 2.0.
Monetary vs fiscal policy effects on AD
Monetary policy (Federal Reserve interest rate changes):
- Lower rates → I and C rise → AD shifts right
- Higher rates → I and C fall → AD shifts left
- Effect: typically 6-18 months lag
- Limitations: zero lower bound (rates can’t go much below 0%); liquidity trap during severe downturns
Fiscal policy (Congress/government):
- Spending increase → G directly rises; C and I respond via multiplier
- Tax cut → C and I rise (depending on who gets the cut)
- Effect: faster impact on direct spending; multiplier effects build over months
- Limitations: political delays; debt sustainability over long term
In practice, both work together. The 2009 Great Recession response included $1.5T in fiscal stimulus AND aggressive monetary easing. COVID-19 response included $5T in fiscal stimulus AND emergency Fed actions.
The AD/AS framework explains business cycles
- Recession: AD falls (consumers cut spending, businesses reduce investment) → output and prices both fall
- Recovery: AD rises (often via policy stimulus) → output recovers, sometimes with inflation
- Boom: AD outpaces AS capacity → inflation accelerates
- Stagflation: AS shifts left (supply shock — oil crisis, pandemic) AND AD policy responds → low growth + high inflation (1970s, briefly 2022)
This framework explains why central banks and governments care so much about AD — when it’s too weak, you get unemployment; too strong, inflation.
Common misconceptions
- “Trade deficit means we’re poorer”: Not really. The US runs persistent NX deficits AND has high consumption. The deficit reflects high savings demand globally for US assets (Treasury bonds, especially), not impoverishment.
- “Government spending is wasteful”: G includes everything from military equipment to public schools. Whether it’s “wasteful” depends on which spending. As a category, G is essential to AD even before judging quality.
- “Saving is virtuous; spending is wasteful”: At the individual level, saving builds wealth. At the macroeconomic level, paradox of thrift — if everyone saves more, AD falls, output falls, incomes fall, savings fall. Individual virtue, collective harm.
- “Stimulus just creates inflation”: Depends on context. In a deep recession with idle capacity (2009, 2020), stimulus mostly raises output, not prices. In a booming economy at full employment, stimulus shifts mostly to prices.
The Phillips curve and the trade-off
There’s a short-run inverse relationship between unemployment and inflation. Stimulating AD lowers unemployment but raises inflation. The 1970s revealed that this trade-off only works in the short run; long-run, the Phillips curve is vertical. Central banks now target both inflation (around 2%) and full employment, knowing the trade-off shifts with expectations.
Bottom line
AD = C + I + G + NX captures total spending in an economy. C dominates in most developed countries (60-70%). I is the most volatile component. G is policy-controlled directly. NX reflects international competitiveness and savings patterns. The AD-AS framework is the most important model in macroeconomics — recessions are AD shortfalls; booms are AD running hot. Monetary and fiscal policy work through this framework to influence GDP and employment.