GDP calculator
Compute nominal GDP, real GDP or growth from economic inputs.
Showing the previous result. Check the highlighted inputs.
Expenditures approach.
Breakdown & share
- Net exports (billions)
- −$700.00
Your inputs
How it’s worked out
See how we got $23,900.00
Nominal GDP = C + I + G + X − M. Real GDP = nominal GDP ÷ (price deflator ÷ 100). Growth = (later ÷ earlier − 1) × 100%.
- Calculate exports − imports = −$700.00 billion.
- Add consumption, investment, government purchases and net exports.
About this calculator
Enter all amounts using a common period, currency and price basis. The real-GDP calculation applies a supplied price deflator rather than reconstructing official chained-dollar accounts.
Nominal GDP (billions) · $23,900.00
Nominal GDP = C + I + G + X − M. Real GDP = nominal GDP ÷ (price deflator ÷ 100). Growth = (later ÷ earlier − 1) × 100%.
- Calculate exports − imports = −$700.00 billion.
- Add consumption, investment, government purchases and net exports.
Common questions
Why subtract imports?
Imports can already be included in spending. Subtract them so GDP reflects domestic production.
What is a deflator?
It is an index relating prices to a base period, conventionally indexed to 100.
Is growth automatically annualized?
The result measures change between the two periods you enter.
Formula sources
Reference checked November 22, 2026. Credentialed review pending.
Copy a report template with the calculator name. Add the numbers and expected result before sharing it.