Skip to content

GDP Calculator: Expenditure Approach, Per Capita and Growth

Calculate GDP with the expenditure formula C + I + G + (X − M), then GDP per capita and the growth rate, with worked examples and common pitfalls.

3 min read

Gross domestic product (GDP) is the most widely used measure of the size of an economy: the total value of the final goods and services produced in a country over a period, usually a year. Economists can measure it in three ways, but the one taught first, and the one used in our GDP calculator, is the expenditure approach. Enter the main spending components and the calculator gives GDP, net exports, GDP per capita and the growth rate from the previous year.

How to use the calculator

  1. Consumption (C): spending by households on goods and services.
  2. Investment (I): business spending on equipment and buildings, new housing, and changes in inventories.
  3. Government spending (G): government purchases of goods and services, such as salaries of public employees and infrastructure. Transfer payments like pensions and benefits are not included.
  4. Exports (X) and imports (M): sales to and purchases from other countries.
  5. Population: to calculate GDP per capita.
  6. Previous year GDP: to calculate growth.

Use consistent units throughout, for example billions of dollars for spending and millions of people for population.

The default example uses C = 15,000, I = 4,000, G = 4,500, X = 2,500, M = 3,100, a population of 330 and previous GDP of 22,000:

  • Net exports: −600
  • GDP: 22,900
  • GDP per capita: 69.39
  • Growth: 4.09%

The expenditure formula

For the example: 15,000 + 4,000 + 4,500 + (2,500 − 3,100) = 22,900.

Imports are subtracted because they are already counted in consumption, investment and government spending, but they were produced abroad. Net exports (exports minus imports) can be negative, as here, when a country buys more from abroad than it sells.

GDP per capita

22,900 ÷ 330 = 69.39. If GDP is in billions and population in millions, the result is in thousands per person: about 69,394 per person. Per capita figures let you compare living standards across countries of very different sizes, though they say nothing about how income is shared.

Growth rate

(22,900 − 22,000) ÷ 22,000 × 100 = 4.09%.

This is nominal growth if both figures are in current prices. To see real growth, the change in actual output, you need to remove inflation. A rough approximation is real growth ≈ nominal growth − inflation. With 4.09% nominal growth and 2.5% inflation, real growth is about 1.6%. The inflation calculator helps with price changes over time.

Nominal versus real GDP

  • Nominal GDP uses current prices, so it rises with inflation even if output does not change.
  • Real GDP uses constant prices from a base year, so it only rises when the economy produces more.

Official statistics report both. When people talk about an economy "growing by 2%", they almost always mean real GDP.

What GDP leaves out

GDP is a measure of market production, not of wellbeing. It does not count:

  • Unpaid work such as caring for family members or volunteering.
  • The informal or underground economy.
  • Environmental damage or the depletion of natural resources.
  • How evenly income is distributed.
  • Leisure time and quality of life.

That is why economists also look at measures such as median household income, the Human Development Index and well-being surveys.

The other two approaches

  • Income approach: adds up wages, profits, rents and interest earned in production, plus taxes on production minus subsidies.
  • Production (value-added) approach: adds the value added at each stage of production across all industries.

In theory, all three give the same total. In practice, statistical agencies reconcile small differences between them.

For classroom percentage work such as growth rates, the percentage calculator is also handy.

Frequently asked questions

Why are imports subtracted from GDP?

Because imported goods are included in consumption, investment and government spending, but they were not produced in the country. Subtracting imports removes them.

Are social security payments part of government spending in GDP?

No. Transfer payments move money between people without buying a good or service, so they are left out of G. They show up later when recipients spend the money, as consumption.

What units should I use?

Any, as long as they are consistent. National accounts usually report spending in billions and population in millions.

What is the difference between GDP and GNP?

GDP measures production within a country's borders. GNP (or GNI) measures income earned by a country's residents, wherever the production happens.

Share

Try it yourself

Run your own numbers with our free tool: GDP calculator. No sign-up, and it works on any device.

Open the calculator