Home/Other Calculators & Tools/GDP Calculator

GDP Calculator

Free · No sign-up · Runs entirely in your browser

Calculate gross domestic product from its four components, plus GDP per capita, real GDP adjusted for inflation, the GDP deflator and nominal versus real growth.

GDP = C + I + G + X M Consumptionhouseholds — rent, food, cars, services Investmentbusiness equipment, construction, housing Governmentwages, infrastructure — not pensions Exportsproduced here, sold overseas Importsremoved — already counted in C, I and G
GDP Calculation Methods

Expenditure Approach: GDP = C + I + G + (X−M)

Consumption (C)
$
Investment (I)
$
Government (G)
$
Exports (X)
$
Imports (M)
$
Population
Example economies
Result
GDP
MetricValue
Real GDP & Deflator

Strip inflation out of a nominal figure, or work out the deflator.

Nominal GDP
$b
Solve for
GDP deflator
index
GDP Growth Rate
Earlier GDP
$b
Later GDP
$b
Inflation over the period
%
Australian GDP Reference (ABS 2024–25)
MetricValue
GDP (nominal)~$2.65 trillion AUD
GDP per capita~$100,000 AUD
GDP growth (2024)~1.5% real
Largest sectorServices (~70%)
ABS referenceABS Cat. 5206.0
⏱️ Last reviewed: 26 July 2026 · Written and reviewed by Mohsin Iqbal under our editorial policy and calculation methodology. Educational information only — not financial advice.
📖 Approx. 16 min read📊 Real GDP & deflator🔄 Updated 26 July 2026

🔑 Key Takeaways

  • GDP = C + I + G + (X − M). Consumption, investment, government spending and net exports
  • Nominal GDP is measured in today's prices; real GDP strips inflation out. Only real GDP tells you whether output actually grew
  • The GDP deflator is nominal ÷ real × 100, and it doubles as a broad inflation measure
  • Real growth is a ratio, not a subtraction. 5% nominal with 3% inflation is 1.94% real, not 2%
  • Consumption is roughly half to two-thirds of GDP in most developed economies
  • GDP measures output, not wellbeing — and the man who built it said so at the time

The Formula

The expenditure approach adds up everything spent on final goods and services in an economy over a period.

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

C = household consumption
I = business investment
G = government spending
X = exports   M = imports
ComponentIncludesTypical share
Consumption (C)Groceries, rent, healthcare, cars, services50–70%
Investment (I)Business equipment, construction, inventories, new housing15–25%
Government (G)Public wages, infrastructure, defence — not pensions or benefits15–25%
Net exports (X − M)Exports minus imports. Often negative−5% to +10%
Why imports are subtracted. Not because imports are bad for an economy — a common misreading — but because they were already counted. If you buy an imported phone, that spending appears in C. Subtracting M removes it again, leaving only what was produced domestically. The minus sign is bookkeeping, not judgement.

Government spending in the formula means goods and services the government buys. Pensions, unemployment benefits and other transfer payments are excluded, because no output is produced in exchange — the money is counted later, when the recipient spends it.

Three Approaches, One Answer

GDP can be measured three ways, and in principle all three give the same figure. Statistical agencies calculate all three and reconcile them.

ApproachMeasuresLogic
ExpenditureWhat was spentC + I + G + (X − M)
IncomeWhat was earnedWages + profits + rent + interest + taxes − subsidies
ProductionWhat was madeTotal output − intermediate inputs, summed across industries
They agree because every dollar spent is a dollar earned. When you buy a coffee, that spending becomes the café's revenue, which becomes wages, rent, supplier payments and profit. Follow it far enough and it lands entirely in somebody's income. In practice the three measures differ slightly because of measurement error, and the ABS publishes them separately along with an averaged figure.

The production approach is where "value added" matters. If a baker buys $2 of flour and sells $5 of bread, only $3 is added to GDP — counting the full $5 would double-count the flour that was already counted when the miller sold it.

Nominal, Real and the Deflator

This is the distinction that separates a useful GDP figure from a misleading one.

Real GDP = Nominal GDP ÷ (Deflator ÷ 100)
Deflator = Nominal GDP ÷ Real GDP × 100
Nominal GDPReal GDP
Measured inCurrent pricesBase-year prices
Rises whenOutput or prices riseOnly when output rises
Useful forCurrent size of the economyComparing across time
Answers"How much is it worth now?""Are we actually producing more?"
Nominal growth can be entirely illusory. If an economy produces exactly the same goods next year but every price rises 5%, nominal GDP rises 5% and nothing has been gained. Real GDP would be flat, which is the truthful answer. Any GDP figure quoted without saying which it is should be treated with suspicion.

The deflator is itself a useful number. At 125 it says prices are 25% higher than the base year. Unlike the Consumer Price Index, which tracks a fixed basket of household goods, the deflator covers everything in GDP — including business investment and exports — so the two inflation measures rarely match exactly.

Growth Rates, and a Common Error

Growth % = (New − Old) ÷ Old × 100

Real growth = (1 + nominal) ÷ (1 + inflation) − 1

Almost everyone subtracts inflation from nominal growth. It is close enough at low numbers and drifts badly at high ones.

Nominal growthInflationSubtracting givesCorrect real growth
5%3%2.00%1.94%
10%6%4.00%3.77%
25%15%10.00%8.70%
60%50%10.00%6.67%
The shortcut is fine for a developed economy and wrong for a volatile one. At Australian-style numbers the error is a rounding difference. In a country with 50% inflation it overstates real growth by half. The calculator above shows both so the gap is visible.

GDP Per Capita

Total GDP measures the size of an economy; GDP per capita gives a rough sense of average prosperity.

GDP per capita = GDP ÷ population

The two rank countries very differently. A large economy with a large population can have modest per-capita output, while a small wealthy country can have very high per-capita figures and a small total.

Per capita is an average, and averages hide distribution. A country where a small group holds most of the income can have the same GDP per capita as one where income is spread evenly. The figure says nothing about who receives it — which is why median income is often the more informative number for questions about living standards.

The Three Headline Indicators

GDP, inflation and unemployment are quoted together constantly and measure quite different things.

GDPInflationUnemployment
MeasuresTotal outputRate of price risesShare of the labour force without work and seeking it
UnitsDollars% per year% of labour force
Published byABS, quarterlyABS, quarterly and monthlyABS, monthly
Rises areGenerally goodGenerally bad above targetGenerally bad
Lags reality byMonths — and gets revisedWeeksWeeks
They interact, but not simply. Strong GDP growth usually lowers unemployment, since producing more generally needs more workers — a relationship known as Okun’s law. Very low unemployment can push wages and then prices up, which is part of why the Reserve Bank watches both. But the relationships are loose and break down regularly: an economy can have rising prices and rising unemployment at once, which is what stagflation means and why the 1970s were difficult to manage.

The important practical difference is timing. Unemployment and inflation figures arrive within weeks; GDP arrives months later and is then revised, sometimes substantially. A recession is often only confirmed well after it began, which is why central banks lean on faster indicators for real-time decisions. Our inflation calculator handles the price side of this.

GDP, GNP and GNI

MeasureCountsBased on
GDPOutput produced within a country's bordersLocation
GNPOutput produced by a country's residents, wherever they areOwnership
GNIIncome received by residents, including from abroadOwnership

A foreign-owned mine operating in Australia adds to Australian GDP because the production happens here. Its profits flowing to overseas shareholders do not add to Australian GNI, because that income leaves. For most large economies the two are close; for countries with heavy foreign ownership or large numbers of workers abroad, they can differ substantially.

Countries by GDP

Total GDP and GDP per capita rank countries very differently, which is the most useful thing this table shows.

CountryGDP (US$ trillion)Per capita (US$)Population
United States~29~86,000~340m
China~19~13,300~1,410m
Germany~4.7~55,500~84m
Japan~4.1~33,000~124m
India~3.9~2,700~1,440m
United Kingdom~3.6~52,400~69m
France~3.2~48,000~66m
Canada~2.2~54,000~41m
Australia~1.8~65,000~27m
Switzerland~0.9~99,000~9m
Ireland~0.6~106,000~5m
These are approximate and they move. Nominal GDP in US dollars shifts with exchange rates as much as with output — a country can appear to shrink 10% because its currency fell, having produced exactly the same goods. Figures are rounded indications for teaching the concept, not current statistics. For live data use the World Bank or the IMF World Economic Outlook.

Two patterns are worth noticing. China is second by total output and far down the list per person, because the total is divided by 1.4 billion people. And Ireland's per-capita figure is misleading — multinational companies book enormous profits there for tax reasons, inflating GDP without matching activity. Irish economists use a modified measure for this reason, which is a good reminder that GDP is a measurement convention, not a fact of nature.

What GDP Does Not Measure

This matters more than the arithmetic, and it is the section most GDP explainers skip.

Not countedWhy it matters
Unpaid workChildcare, housework and volunteering produce real value and appear nowhere. Paying someone to do the same work raises GDP
DistributionGDP is a total. It says nothing about who receives the income
Environmental costDepleting a resource counts as production. The depletion itself is not subtracted
Leisure and healthAn economy working longer hours for the same output looks identical in GDP terms
The informal economyCash work and subsistence production are largely invisible
Whether spending was worthwhileRebuilding after a disaster raises GDP. So does treating preventable illness
Simon Kuznets, who developed GDP for the US government in the 1930s, warned about this immediately. He told Congress that the welfare of a nation could scarcely be inferred from a measure of national income, and argued the figure should not be used as a measure of wellbeing. It was adopted for that purpose anyway. GDP is an excellent measure of economic output and a poor measure of how well people are doing, and the two get conflated constantly in public debate.

None of this makes GDP useless. It is the best single indicator of economic activity, it is calculated consistently across countries, and it correlates with many things people care about. It simply answers a narrower question than it is often asked.

Growth in Practice

Australian real GDP growth has typically run between 2% and 4% a year, with two clear breaks in the pattern.

PeriodRoughlyWhat was happening
1990–91ContractionThe recession Australia had to have — the last before 2020
1992–20073–4% a yearSustained expansion, mining investment and population growth
2008–09Slowed, stayed positiveGlobal financial crisis — Australia avoided a technical recession
2010–20192–3% a yearSteady but slower than the previous decade
2020Sharp contractionPandemic restrictions — the first recession in 29 years
2021–22Strong reboundRecovery from a low base, which flatters the growth rate
Recent yearsModestGrowth positive but per-capita growth close to flat at times
The 2020–21 pair shows why base effects matter. A sharp fall followed by a strong rebound produces a large positive growth number that does not mean the economy is ahead — it may only have returned to where it was. Comparing to the pre-fall level is more informative than the growth rate itself, and this is a standard way growth figures get misread.
Per-capita growth is the sharper measure. Australia’s population grows steadily, so total GDP can rise while output per person is flat or falling — a situation sometimes called a per-capita recession. Headline growth can look positive while the average person is no better off, which is why economists watch both.

What Each User Looks At

The same release means different things depending on who is reading it — and almost nobody looks at the headline number alone.

WhoWatchesBecause
Central banksReal growth against capacityGrowth above what the economy can sustain feeds inflation, which drives interest rate decisions
Treasury and governmentNominal GDPTax revenue is collected on nominal dollars, so budget forecasts hinge on it
InvestorsThe surprise, not the levelExpectations are already priced in; markets move on the gap between forecast and outcome
BusinessesTheir own sector’s componentA retailer cares about consumption; a builder cares about investment in dwellings
EconomistsComposition and revisionsGrowth driven by inventories tells a different story from growth driven by consumption
StudentsThe formula and the distinctionsExams test nominal versus real, the three approaches, and the limitations
Anyone comparing countriesPer capita, at purchasing power parityTotal GDP measures size; per capita at PPP is closer to living standards
Purchasing power parity is the adjustment that makes country comparisons fairer. Market exchange rates understate incomes in countries where things are cheap — a haircut in Jakarta costs a fraction of one in Sydney, so converting at market rates makes Indonesian incomes look worse than they feel locally. PPP figures adjust for that, which is why World Bank tables usually offer both and they can differ substantially.

Common Mistakes

  1. Comparing nominal GDP across years. Growth in a nominal figure may be nothing but inflation. Use real GDP for any comparison over time.
  2. Subtracting inflation from nominal growth. The correct calculation is a ratio. Fine at small numbers, badly wrong at large ones.
  3. Thinking imports reduce the economy. They are subtracted because they were already counted in C, I or G — not because they are harmful.
  4. Including transfer payments in G. Pensions and benefits are not government purchases of output.
  5. Double-counting intermediate goods. Only final goods count, or only value added at each stage.
  6. Reading GDP per capita as typical income. It is a mean, and means are pulled by the top of the distribution.
  7. Treating GDP as a measure of national wellbeing. It measures output. Kuznets said so when he built it.

Frequently Asked Questions

What is GDP?

Gross domestic product — the total market value of all final goods and services produced within a country over a period, usually a quarter or a year. It is the standard measure of the size of an economy and the most widely quoted economic statistic.

How do you calculate GDP?

Using the expenditure approach: add consumption, investment and government spending, then add exports and subtract imports. Written as C + I + G + (X − M). Two other approaches exist — summing incomes, or summing value added across industries — and all three should give the same answer.

What is the GDP formula?

GDP = C + I + G + (X − M), where C is household consumption, I is business investment, G is government spending on goods and services, X is exports and M is imports. It is the most commonly taught formula because the components map onto published national accounts data.

What is nominal GDP?

GDP measured in current prices, without adjusting for inflation. It tells you the money value of output today but cannot be compared meaningfully across years, because a rise may reflect higher prices rather than more production.

What is real GDP?

GDP measured in the prices of a fixed base year, so inflation is stripped out. It is the figure that answers whether an economy actually produced more, and it is what is meant when economists talk about growth or recession.

What is the GDP deflator?

A price index calculated as nominal GDP divided by real GDP times 100. A deflator of 125 means prices are 25% higher than in the base year. It is a broad inflation measure covering everything in GDP, which is why it differs from the Consumer Price Index.

How do you calculate GDP growth?

Subtract the earlier GDP from the later one, divide by the earlier figure and multiply by 100. Use real GDP rather than nominal, or the result will include inflation. Quarterly growth is often annualised, which multiplies the effect and should be labelled.

How do you convert nominal growth to real growth?

Divide the growth factors rather than subtracting: (1 + nominal) ÷ (1 + inflation) − 1. With 5% nominal growth and 3% inflation the real figure is 1.94%, not 2%. The shortcut of subtracting is close at low numbers and increasingly wrong as they rise.

What is GDP per capita?

Total GDP divided by population, giving average output per person. It is a rough proxy for prosperity and ranks countries very differently from total GDP — but it is a mean, so it says nothing about how income is distributed.

Why are imports subtracted from GDP?

Because they have already been counted. Spending on an imported product appears in consumption, investment or government spending, so subtracting imports removes the foreign-produced portion and leaves only domestic output. It is an accounting correction, not a statement that imports harm an economy.

What is included in government spending?

Government purchases of goods and services — public sector wages, infrastructure, defence, schools and hospitals. Transfer payments such as pensions and unemployment benefits are excluded, because no output is produced in exchange. That money is counted later when the recipient spends it.

What is the difference between GDP and GNP?

GDP counts output produced inside a country's borders regardless of who owns the business. GNP counts output produced by a country's residents wherever they are. A foreign-owned factory in Australia adds to Australian GDP but not to Australian GNP.

What is GNI?

Gross national income — the income received by a country's residents, including earnings from abroad, less income paid to foreigners. It is close to GNP and is the measure the World Bank uses to classify countries by income level.

What are the three approaches to measuring GDP?

Expenditure (what was spent), income (what was earned) and production (what was made, counting only value added). All three measure the same flow from different angles and should agree, since every dollar spent becomes someone's income. Statistical agencies compute all three and reconcile the differences.

What is value added?

The difference between what a business sells and what it paid for its inputs. A baker buying $2 of flour and selling $5 of bread adds $3. Summing value added avoids double-counting the flour, which was already counted when the miller sold it.

How does inflation affect GDP?

It inflates the nominal figure without any extra production. An economy producing identical output with prices 5% higher shows 5% nominal growth and zero real growth. This is precisely what the deflator corrects for, and why real GDP is the figure used for any comparison across time.

What is a recession?

Conventionally two consecutive quarters of falling real GDP, though most official bodies use a broader assessment covering employment, income and production. The two-quarter rule is a rough shorthand rather than a formal definition.

Who calculates Australia's GDP?

The Australian Bureau of Statistics, which publishes quarterly national accounts using all three approaches and an averaged measure. The Reserve Bank of Australia uses those figures in setting monetary policy, and the OECD, IMF and World Bank compile them for international comparison.

What are the limitations of GDP?

It excludes unpaid work such as childcare and housework, ignores how income is distributed, does not subtract environmental damage, and counts remedial spending as positive — rebuilding after a disaster raises GDP. Simon Kuznets, who developed it, warned that national welfare could scarcely be inferred from it.

Does GDP measure wellbeing?

No, and it was never intended to. It measures economic output, which correlates with many things people care about but is not the same as them. Alternative measures such as the Human Development Index and Genuine Progress Indicator were developed precisely to capture what GDP leaves out.

Why does unpaid work not count?

Because GDP counts market transactions, and unpaid work has no price attached. The odd consequence is that paying someone to mind your children raises GDP while minding them yourself does not, even though the same service is provided. Some statistical agencies publish separate satellite accounts estimating its value.

Which country has the largest GDP?

The United States by total output, followed by China. The ranking changes entirely on a per-capita basis — China falls a long way down because its total is divided by around 1.4 billion people, while smaller wealthy countries such as Switzerland and Ireland rise sharply.

Why is Ireland’s GDP per capita so high?

Largely because multinational companies book substantial profits there for tax reasons, which inflates GDP without matching real activity in the country. Irish statisticians developed a modified measure to strip this out. It is a useful reminder that GDP is a measurement convention with known distortions.

What is purchasing power parity?

An adjustment that compares incomes by what they actually buy rather than by market exchange rates. Goods and services cost less in some countries, so converting at market rates understates real living standards there. World Bank tables usually publish both, and the figures can differ substantially.

What is a per-capita recession?

When total GDP is still growing but GDP per person is falling, because population growth outpaces output growth. Headline growth looks positive while the average person is no better off. Australia’s steady population growth makes this a recurring feature of its economic commentary.

Why does GDP get revised?

Because the first estimate uses incomplete data. Surveys arrive late, tax records take time and seasonal adjustments are refined. Revisions can be large enough to change the story — which is part of why recessions are often confirmed only well after they began.

What is the difference between GDP and the CPI?

GDP measures output; the CPI measures prices. Both relate to inflation through the GDP deflator, which is a price index derived from GDP itself. The deflator covers everything produced, including exports and business investment, while the CPI tracks a fixed basket of household purchases — so the two inflation figures rarely match.

Simple Arithmetic, Careful Interpretation

Adding four components is not the difficult part of GDP. What takes care is knowing whether a figure is nominal or real, converting growth correctly rather than subtracting, and remembering that a total says nothing about distribution.

GDP is the best available measure of economic output and a poor measure of anything else. Used for what it measures, it is indispensable.

For inflation adjustment more generally, see the percentage calculator. For personal finance, the compound interest calculator applies the same growth-factor arithmetic to savings.