One Calculator Logo One Calculator
Everyday Tools • Formulas shown

GDP Calculator

Quick Answer

GDP = C + I + G + (X − M): consumption, investment, government spending, plus exports minus imports. With C = 15,000, I = 4,000, G = 4,000, exports 2,500 and imports 2,100 (billions), GDP is 23,400 billion.

Result

GDP (expenditure approach): 23,400 billion

Net exports (X − M)-800 billion
Consumption share of GDP68.4%
GDP per capita70,909 per person
Step-by-step calculation
  1. GDP = C + I + G + (X − M)
  2. = 16000 + 4000 + 4200 + (2500 − 3300) = 23,400 billion

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

  1. Enter consumption and investment.
  2. Enter government spending.
  3. Enter exports and imports.
  4. 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

All Everyday & Other 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.