Skip to content
AllCalcHub

GDP Calculator

Calculate gross domestic product with the expenditure method: consumption, investment, government spending and net exports.

About the GDP Calculator

Enter consumption, investment, government spending, exports and imports (and population, if you want GDP per person). The calculator gives GDP by the expenditure approach and each component's share.

GDP measures the value of all final goods and services produced in an economy. The expenditure approach adds household consumption, business investment, government purchases and exports minus imports. Consumption is the largest component in most economies, around two-thirds in the US.

The formula

GDP = C + I + G + (X − M)

Worked example

C 18,000; I 5,000; G 4,800; exports 3,000; imports 3,800

  1. Net exports: 3,000 − 3,800 = −800
  2. GDP = 18,000 + 5,000 + 4,800 − 800 = 27,000
  3. Consumption is 66.7% of GDP

Questions people ask

Are transfer payments included in G?

No; pensions and benefits aren't purchases of goods or services.

Real vs nominal GDP?

Real GDP removes inflation using a price deflator.

Sources