How to use the GDP Calculator
The GDP calculator adds up an economy's output using the expenditure approach.
What you need to enter
- Consumption
- Investment
- Government spending
- Exports
- Imports
The formula
GDP = consumption + investment + government spending + (exports − imports).
Worked example
Using the default values in the calculator:
- Consumption: 14000
- Investment: 3500
- Government spending: 3800
- Exports: 2500
- Imports: 3100
| GDP | 20,700 |
| Net exports | -600 |
| Consumption share | 67.6% |
Tips for better results
- Use the same currency and period.
- Net exports can be negative.
Common mistakes to avoid
- Counting imports as spending.
- Mixing nominal and real values.
Please note: Results are estimates for general use. For safety-critical work such as electrical or building projects, check with a qualified professional and local codes. See our Disclaimer.