Economics
Basic

GDP (Expenditure Approach)

National output measured as total spending by households, firms, government and net exports.

Formula

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

Live Calculator

Members

Variables

CConsumption
IInvestment
GGovernment spending
XExports
MImports

Example

C400 + I100 + G120 + (80−60) = $640B

How it works

GDP by the expenditure approach adds up all final spending on goods and services produced within a country in a given period. It works because every dollar spent on final output becomes income for someone in the economy, so total spending should match total production when measured correctly. Imports are subtracted because they were produced abroad, while exports are added because they were produced domestically but bought by foreigners.

When to use it

Use this formula when you need to calculate or interpret a country's GDP from spending data such as household consumption, business investment, government purchases, and trade figures. It is also useful for comparing how much of economic activity comes from consumers, firms, the public sector, and foreign demand.

Worked example, step by step

Step 1: Write the formula GDP = C + I + G + (X - M) Step 2: Substitute the values GDP = 520 + 180 + 240 + (150 - 110) Step 3: Calculate net exports X - M = 150 - 110 = 40 Step 4: Add all components GDP = 520 + 180 + 240 + 40 Step 5: Final answer GDP = 980 So, the GDP is $980 billion.

Common mistakes to avoid

  • Forgetting to subtract imports from exports
  • Counting intermediate goods instead of only final goods and services
  • Confusing government spending with all government activity, including transfer payments

Did You Know?

Consumption typically makes up the largest slice of GDP — around two-thirds in many economies.

Share this formula

Reviewed & maintained by the FormulaWon editorial teamLast reviewed September 2026