About the GDP Calculator
Enter each component in the same currency and unit. The calculator adds them and shows net exports and each part’s share of GDP.
This is the expenditure method. GDP can also be measured by income or production and all should agree in theory.
How to Use the GDP Calculator
- Enter consumption and investment.
- Enter government spending.
- Enter exports and imports.
- Read GDP and shares.
Formula and Method
GDP
C + I + G + (X − M)
X − M is net exports.
Worked Example
A small economy
Input: C 15,000; I 4,000; G 4,000; X 2,500; M 2,100 (billions)
- Net exports = 2,500 − 2,100 = 400
- GDP = 15,000 + 4,000 + 4,000 + 400
Result: 23,400 billion.
Frequently Asked Questions
What is GDP?
The market value of all final goods and services produced in a country in a period.
What is nominal vs real GDP?
Real GDP adjusts for inflation.
Who publishes US GDP?
The Bureau of Economic Analysis.
Related Calculators
Sources and Further Reading
Accuracy and Scope
Results follow the formulas and scales stated on each page. Institutions, vehicles and circuits differ, so check against your own rules and equipment. See our full disclaimer.