GDP Calculator

Calculate GDP with the expenditure (C + I + G + X − M) or income method, plus GDP per capita, real GDP and growth rate.

Calculator

Was this tool useful?

About this tool

About GDP Calculator

A learning tool for economics students and anyone reading economic news. Enter the parts of the economy to get gross domestic product, then compare countries per person, adjust for inflation or measure growth.

How it works

GDP = C + I + G + (X − M). Real GDP = nominal GDP ÷ deflator × 100. Growth = (new ÷ old − 1) × 100. Per capita = GDP ÷ population.

Example

C = 15,000, I = 4,000, G = 4,200, X = 2,500, M = 3,300 → GDP = 22,400 (billion).

How to use this tool

  1. Pick what to calculate.
  2. Enter the values in the same units (e.g. billions).
  3. Read the result and the shares of each part.

Frequently asked questions

What is the difference between nominal and real GDP?

Nominal GDP uses today’s prices. Real GDP removes the effect of inflation, so you can compare output between years.

Why are imports subtracted?

Imports are already counted inside consumer, business and government spending but are produced abroad, so they are removed.

Do I need to sign up?

No. The calculator is free, works in your browser and nothing you type is stored.

How accurate is the GDP Calculator?

The GDP Calculator uses standard published formulas and full-precision maths, then rounds results for display. Treat the result as an estimate for learning and planning.