GDP Calculator
All figures in billions of currency (a common convention for national GDP components).
Uses the expenditure approach: GDP = C + I + G + (X − M). This is one of two standard methods for calculating GDP (the other, the income approach, isn't included here since its exact components vary by textbook/source).
Free GDP calculator using the expenditure approach (GDP = C + I + G + net exports) — plus optional growth rate and per-capita GDP if you provide a previous period and population.
How it works
- Enter personal consumption, investment, government spending, exports, and imports
- Optionally enter a previous period's GDP and population
- See GDP, growth rate, and GDP per capita
Frequently asked questions
Why only the expenditure approach?
It's the more commonly taught and unambiguous of the two standard GDP methods — GDP = C + I + G + (X − M). The income approach's exact components vary between textbooks and sources, so it isn't included here to avoid presenting an inconsistent formula as definitive.
Is this real country data?
No — this is a formula calculator for entering your own figures (e.g. for a class assignment or a hypothetical economy). For real countries' actual GDP data, see the Country vs Country (GDP) comparison tool.
Related tools
From the blog
Update history
- 2026-09-02 Launched: GDP calculator using the expenditure approach, with optional growth rate and per-capita GDP. Entirely client-side.