ECONOMICS • MACROECONOMICS
GDP by Expenditure
Change consumption, investment, government purchases, exports and imports to see how expenditure components build GDP and GDP per person.
Experiment with the mechanism
See how the expenditure identity turns separate spending flows into measured output, and why imports are subtracted after already appearing inside domestic spending.
LEARN WITH THE SIMULATION
Understand GDP by Expenditure by experimenting.
Gross domestic product measured by expenditure adds consumption, private investment, government purchases and net exports. The identity is accounting, not a theory of welfare: every control changes how total measured spending is composed, while imports are subtracted because imported goods can already appear inside C, I or G.
BUILD THE IDEA
What you should understand first
- Calculate GDP from the expenditure identity C + I + G + (X − M).
- Separate domestic expenditure from net exports and explain why imports are subtracted.
- Compare component shares and GDP per capita without treating either as a complete welfare measure.
TRY IT YOURSELF
Can GDP rise even when net exports fall?
- Record the default GDP and net exports.
- Increase imports while holding the other components fixed.
- Then raise consumption or investment enough to more than offset the net-export decline.
- Compare the final GDP with the starting value.
Net exports can fall while GDP rises if another expenditure component increases by more. The accounting identity records the net result of all five terms.
WHY IT WORKS 01
Why imports are subtracted
Consumption, investment and government purchases are recorded by who buys the item, not by where it was produced. An imported machine can therefore enter investment first. Subtracting imports removes the foreign-produced portion so GDP remains a measure of domestic production.
WHY IT WORKS 02
An identity is not a causal model
C + I + G + NX must equal expenditure-side GDP by construction, but the identity alone does not say that raising any component mechanically makes society richer. Financing, crowding out, capacity, prices and behavioral responses require additional models.
DO NOT MIX THESE UP
Common misconception
Imports are not subtracted because they are harmful. They are subtracted to remove foreign production already counted inside domestic expenditure categories. GDP also measures production, not happiness, equality or environmental quality.
PRACTICE CHALLENGE
Can you keep GDP unchanged while changing its composition substantially?
- Raise government purchases by a chosen amount.
- Offset that change by reducing another positive component or increasing imports.
- Use the inspector to make total GDP return close to its starting value.
- Explain what changed even though the total did not.
Reveal the reasoning
Yes. Because GDP is the sum of expenditure components, offsetting changes can leave the total unchanged while the composition shifts. Equal totals therefore do not imply identical economic structure.
MODEL BOUNDARIES
What this simulation assumes
Every simulation simplifies reality or a mathematical system. These are the assumptions and limits to keep in mind while interpreting the results.
Model assumptions
- The expenditure approach is represented by GDP = C + I + G + X − M.
- Each component is treated as an independent nominal flow over the same accounting period.
- Population is used only to compute a simple GDP-per-capita ratio.
Model limitations
- The model does not distinguish nominal from real GDP or adjust for prices, depreciation, informal activity or purchasing-power parity.
- GDP and GDP per capita are production measures and do not measure distribution, welfare or sustainability.
CONNECT IT
Where this matters
- National income accounting
- Macroeconomic growth decomposition
- Comparing domestic demand with external demand
- Interpreting GDP-per-capita headlines
WORDS THAT MATTER
Key vocabulary
- Consumption
- Household spending on final goods and services in the expenditure approach.
- Investment
- Spending on productive capital, structures and inventory accumulation in GDP accounting.
- Net exports
- Exports minus imports.
- GDP per capita
- GDP divided by population; an average output measure, not a distribution measure.
NEXT STEP