Digital Drive HQ
Calculators

GDP Calculator

Calculate GDP from its components.

FreeNo sign-upWorks in your browser
Enter details
$
$
$
$
Result
GDP (expenditure approach)
$20,500.00
GDP = C + I + G + NX

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

  1. 1Enter your consumption, investment, government spending, and net exports.
  2. 2Read the result instantly — it recalculates as you type.
  3. 3Adjust 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.

Related tools