How to use this calculator
- 1 Enter consumer spending, business investment and government spending.
- 2 Enter exports and imports.
- 3 Read GDP, the net exports figure and the share of GDP that each part makes up.
- 4 Check the table to see how each part adds to or takes from the total.
What GDP measures
GDP is the total market value of the final goods and services produced inside a country over a set period, usually a quarter or a year. It is the most widely used measure of the size of an economy.
Economists can measure GDP in three ways: by spending, by income or by production. In theory, all three give the same answer. This calculator uses the spending method, which is the most common.
The four parts of spending
Consumption (C) is what households spend on goods and services, such as food, rent and healthcare. Investment (I) is spending by businesses on equipment, buildings and stock, plus new homes. Government spending (G) covers things the state buys, such as roads, schools and public staff.
Net exports (X − M) is exports minus imports. Exports add to GDP because they are made at home. Imports are subtracted, because they are spent on output made abroad. Transfers such as pensions are not counted in G, because no new goods or services are bought.
Nominal and real GDP
Nominal GDP uses the prices of the year it was produced. If prices rise, nominal GDP can grow even when the economy produces no more. Real GDP removes that effect, so it is better for comparing years.
Official statistics agencies publish real and nominal figures. When you read a news story about growth, check which one it uses. The inflation calculator shows how prices change the value of money over time.
GDP per person and growth rates
To compare countries of different sizes, economists divide GDP by population. This gives GDP per person, which is a rough average and not a typical income. Growth rates are found by comparing GDP in two periods. If the figures are in different currencies, convert them first with the currency converter.
For example, if GDP rises from 20,000 to 21,000, that is growth of 5%. The percentage calculator works out this kind of change in one step.
What GDP does not show
GDP does not show how income is shared between people. A country can grow strongly while many households see little change. It also leaves out most unpaid work, such as caring for children or family members, and much informal activity.
GDP does not measure health, education, the environment or happiness. Other measures, such as life expectancy or household income surveys, can give a fuller picture alongside it.
The formula
Expenditure approach
GDP = C + I + G + (X − M)
- C
- consumer spending by households
- I
- business investment, including housing and inventories
- G
- government purchases of goods and services
- X
- exports
- M
- imports
Share of GDP
Share = component ÷ GDP × 100%
Real GDP (for reference)
Real GDP = nominal GDP ÷ GDP deflator × 100
- GDP deflator
- a price index, set to 100 in the base year
Worked example
An economy with C = 14,000, I = 3,500, G = 4,000, X = 2,800 and M = 3,100 (billions)
- 1.Add the domestic spending: 14,000 + 3,500 + 4,000 = 21,500
- 2.Net exports: 2,800 − 3,100 = −300
- 3.GDP: 21,500 + (−300) = 21,200, or $21,200 billion
- 4.Consumption share: 14,000 ÷ 21,200 = 66%
GDP of $21,200 (billions), with net exports of −$300.
Frequently asked questions
What is the difference between nominal and real GDP?
Nominal GDP values output at the prices of the year it was produced. Real GDP removes the effect of price changes, so you can compare output across years. Real GDP is nominal GDP divided by a price index (the GDP deflator), multiplied by 100 with the base year set to 100.
Why are imports subtracted?
Consumption, investment and government spending can include goods made abroad. Imports are subtracted so only domestic production counts, and exports are added because they are made at home.
Does GDP count unpaid work or the informal economy?
Not fully. National accounts count market transactions and some estimated values. Unpaid household work and much informal activity are excluded or only partly estimated.
Is GDP the same as wealth or well-being?
No. GDP measures the value of goods and services produced in a period. It does not show how income or wealth is shared, or how healthy or happy people are.
Why does the GDP figure change after it is published?
Statistics agencies revise their estimates as more data arrives. The first figure is an early estimate, so later revisions can be larger or smaller than the first release.
Sources
Last reviewed by the GridCalculators team.