GDP Calculator
Calculate GDP with C + I + G + (X − M), the income approach, GDP per capita, or convert nominal GDP, real GDP and the GDP deflator.
This online GDP calculator uses the expenditure formula GDP = C + I + G + (X − M): household consumption plus investment plus government spending plus exports minus imports.
Use the GDP Calculator
Calculation Method
Expenditure Components
GDP Per Capita (optional)
Enter population to compute GDP per capita in standard currency units.
Enter component values and click
"Calculate GDP" to see results.
Total GDP
—
Formula Used
Component Breakdown
| Component | Value | % of GDP |
|---|---|---|
| GDP (Total) | 100% |
Share of GDP
Quick answer
This online GDP calculator uses the expenditure formula GDP = C + I + G + (X − M): household consumption plus investment plus government spending plus exports minus imports. It also covers the income approach, GDP per capita and real GDP with the deflator.
Example: C 10,000 + I 3,000 + G 4,000 + (X 2,500 − M 2,000) = GDP of 17,500 billion; with a population of 330 million that is 53,030.30 per person.
Enter C, I, G, X and M for GDP, per-capita GDP and each share.
Summary
Calculate gross domestic product from expenditure components, income components, or the relationship between nominal GDP, real GDP and the GDP deflator. GDP per capita is total GDP divided by population, but it is not household income or a complete measure of living standards. Keep every component in the same currency, price basis, period and scale.
How it works
- Choose Expenditure, Income, or Real GDP / Deflator mode.
- Select the component scale (billions, millions, thousands, or exact units) and enter each value.
- Click "Calculate GDP" to see the result.
- The breakdown table shows each component's value and its percentage share of GDP.
- Optionally enter a population figure to calculate GDP per capita in standard currency units.
- Switch methods to cross-check your result using the alternative approach.
Use cases
- Students learning macroeconomics and national accounts.
- Analysts estimating a region's economic output.
- Comparing two countries by entering their national accounts data.
- Teaching the difference between Expenditure and Income approaches.
- Quick-checking headline GDP figures from official statistics.
- Computing GDP per capita for purchasing power comparisons.