Skip to main content

Macro & growth

GDP Calculator: Expenditure & Income Approaches

GDP from Expenditure (C+I+G+X−M) or Income approach. Composition chart. Per capita.

01

Methodology

02

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

Values in the same units (e.g. billions USD).

$
$
$
$
$

Imports subtract domestic spending on foreign goods from the total.

03

Per capita (optional)

Leave blank to hide per capita (US ≈ 335M).

04

Growth vs. prior period (optional)

$

Same units as current GDP.

05

Real GDP (optional)

Real GDP = nominal ÷ (deflator/100) or ÷ (1 + inflation/100).

Results

Gross domestic product

$22,300

Composition

Consumption (C)
67.3%
Investment (I)
15.7%
Government (G)
20.2%

Information hub

What is GDP?

Gross Domestic Product is the total market value of all finished goods and services produced within a country's borders in a given period. It's the scorecard of a nation's economic health.

The "net export" trap

In GDP=C+I+G+(XM)GDP = C + I + G + (X - M), imports (M) are subtracted because C, I, and G already include spending on foreign goods. We subtract them to measure only domestic production, otherwise we'd double-count.

The three approaches

GDP can be measured three ways: expenditure (what we spend), income (what we earn), and production (value added). This calculator uses expenditure and income.

Expenditure vs. income

Imagine a single transaction: you buy a $5 coffee. Expenditure side: that's $5 of consumption (C). Income side: that $5 becomes wages for the barista, profit for the owner, and rent for the landlord.

Because every dollar spent is a dollar earned by someone else, both approaches should theoretically result in the same GDP number.

Circular flow

Expenditure

C + I + G

Spending on goods & services

Income

Wages + profits + rent

Earned by firms & households

Every dollar of spending becomes a dollar of income.

GDP: The Pulse of a Nation

Gross Domestic Product measures the total value of goods and services produced in a country. Economists use it to track growth, define recessions, and compare economies. Use the calculator above, or scroll to the Info Hub, for the full breakdown.

At a Glance

The Headline Number

GDP is the market value of all finished goods and services produced inside a country in a given period. One number that sums up economic activity.

Expenditure Approach

GDP=C+I+G+(XM)GDP = C + I + G + (X - M). Consumption, Investment, Government, and Net Exports. What gets spent on final output.

Real vs Nominal

Nominal GDP uses today's prices. Real GDP adjusts for inflation so you see true growth, 5% nominal with 4% inflation means ~1% real.

What It Misses

Unpaid work, inequality, environmental damage, and the informal economy don't show up. GDP measures output, not wellbeing.

GDP Calculator: Expenditure & Income Approaches

Calculate Gross Domestic Product from Consumption, Investment, Government, and Net Exports, or from income components. Free macroeconomics calculator with composition chart, per capita GDP, and nominal-to-real conversion.

What This Calculator Does

This GDP calculator computes Gross Domestic Product using either the Expenditure approach, summing Consumption, Investment, Government spending, and Net Exports, or the Income approach, which totals compensation, profits, rent, interest, indirect taxes, and depreciation. Enter component values in any consistent currency unit (billions of dollars, millions of euros, or whatever your dataset uses) and the tool returns the total. Optional fields let you add a population figure for per capita GDP and a GDP deflator to convert nominal GDP to real GDP by stripping out price-level changes. A composition chart shows each component's share of the total. The calculator is designed for economics students, analysts, and anyone working with national accounts data. It does not forecast GDP, adjust for purchasing-power parity, or provide sub-national breakdowns.

How to Use This Calculator

Choose an approach at the top of the calculator: Expenditure or Income. For Expenditure, enter values for Consumption (C), Investment (I), Government spending (G), Exports (X), and Imports (M), the calculator subtracts imports automatically. For the Income approach, fill in each component: compensation, proprietor income, corporate profits, rental income, net interest, indirect business taxes, and depreciation. To see GDP per capita, enter the country's population in the optional field. To convert nominal GDP to real GDP, enter the GDP deflator, a price index published by national statistics agencies. The results panel displays total GDP, per capita GDP if population was provided, and real GDP if a deflator was entered, along with a composition breakdown chart showing each component's percentage contribution to the whole.

How to Calculate GDP: The Expenditure Formula

GDP measures total spending on final goods and services: GDP=C+I+G+(XM)GDP = C + I + G + (X - M). Consumption (C) is household spending on goods and services. Investment (I) covers business capital spending and residential construction. Government (G) is public expenditure. Net Exports (X − M) is exports minus imports, imports are subtracted because C, I, and G already include spending on foreign-made goods. If you didn't subtract M, you'd count foreign production as domestic output.

The Income Approach to GDP

The Income approach adds what factors of production earn: employee compensation, proprietor income, corporate profits, rental income, and interest. Then add indirect business taxes and depreciation (capital consumption), and subtract net income of foreigners to convert from GNP to GDP. In theory, both approaches land on the same number, every dollar spent becomes someone's income.

Real GDP vs Nominal GDP: What's the Difference?

Nominal GDP uses current prices. Real GDP removes inflation by dividing by a price index such as the GDP deflator: Real GDP=Nominal GDPDeflator/100\text{Real GDP} = \frac{\text{Nominal GDP}}{\text{Deflator}/100}. A country that produces the same output both years but experiences 4% inflation will show 4% nominal growth and 0% real growth. Economists rely on real GDP for growth rates; nominal for dollar totals.

What GDP Does Not Measure

GDP ignores unpaid labor (childcare, housework), quality of life, environmental damage, and much of the informal economy. It's a useful headline for economic activity but not a complete measure of wellbeing. A nation can have rising GDP while wealth becomes more concentrated, per capita is an average that hides inequality.

GDP Calculator FAQ

What is GDP?

Gross Domestic Product is the total market value of all finished goods and services produced within a country's borders in a given period. It's the main scorecard of economic health. The Expenditure approach: GDP=C+I+G+(XM)GDP = C + I + G + (X - M) where C=Consumption, I=Investment, G=Government, X=Exports, M=Imports.

Why are imports subtracted in the GDP formula?

C, I, and G already include spending on foreign goods. We subtract imports (M) so we only count what was produced domestically. Without that correction, we'd double-count foreign production.

What is the difference between nominal and real GDP?

Nominal GDP uses current prices. Real GDP strips out inflation using a price index (GDP deflator): Real GDP=Nominal GDPGDP Deflator/100\text{Real GDP} = \frac{\text{Nominal GDP}}{\text{GDP Deflator}/100}. If nominal rises 5% but inflation is 4%, real growth is only about 1%.

What does GDP not measure?

GDP omits unpaid labor (housework, childcare), quality of life, environmental impact, and much of the informal economy. It measures economic output, not wellbeing.

How do I calculate GDP per capita?

Divide GDP by population. For a country with $25 trillion GDP and 330 million people, that's about $75,800 per person. Use the calculator's optional Population field to see per capita instantly.

Financial Estimation Note

General Projections: Results are mathematical estimates based on the rates and formulas currently loaded for this tool, including year-specific tax data where noted. They are intended for high-level planning only.

No Advice Provided: This site does not provide financial, tax, or legal advice. Using this tool does not create a client-advisor relationship with CalcRegistry.

Confirm Numbers: Financial laws change frequently. Please verify all results with a qualified professional (CPA, Financial Planner, or Lawyer) before making significant financial decisions.

© 2026 CalcRegistry Reference Last Formula Sync: May 2026Free Online Utility Tools