GDP Calculator
Gross Domestic Product via the expenditure approach: C + I + G + (X − M).
How to Use
- Enter consumption, investment, government spending, exports, imports.
- Currency is arbitrary — output matches your input unit.
Expenditure components
Result
Formula
Expenditure
GDP = C + I + G + (X − M)
Net exports
NX = X − M · negative if trade deficit
Last updated: