Calculators
GDP Calculator
Calculate GDP from its components.
Free account14-day Pro trialWorks in your browser
Sign in to use this tool
Create a free account to unlock every tool — plus a 14-day free trial of HQ Pro, no card required.
About the GDP Calculator
The expenditure approach adds up all spending in an economy: consumption, investment, government spending, and net exports. Enter each component and the calculator returns GDP = C + I + G + NX. It's a clear tool for economics students learning national accounting.
How to use the GDP Calculator
- 01Enter your consumption, investment, government spending, and net exports.
- 02Read the result instantly — it recalculates as you type.
- 03Adjust the numbers to model different scenarios.
Frequently asked questions
What is the GDP formula?
GDP = C + I + G + NX, where C is consumption, I is investment, G is government spending, and NX is net exports (exports − imports).
What is net exports?
Exports minus imports. It's negative when a country imports more than it exports, which subtracts from GDP.