Free Online Calculator

GDP Calculator

Calculate gross domestic product using the expenditure and income approaches, plus GDP growth rate, real GDP and GDP per capita.

Last updated: Free, no sign-up Private — runs in your browser

GDP by the Expenditure Approach

GDP = C + I + G + (X − M) — personal consumption + gross investment + government consumption + net exports. Leave a field blank for 0; negative values are allowed (for example a fall in inventories).

Shown next to every result. Applies to all calculators on this page.

GDP by the Resource Cost-Income Approach

GNP = employee compensation + proprietors' income + rental income + corporate profits + interest income. GDP = GNP + indirect business taxes + depreciation + net income of foreigners.

*Income foreigners earn in the country minus income its citizens earn abroad (can be negative).

GDP Growth, Real GDP and GDP per Capita

Fill in whichever fields you need: growth needs the previous period's GDP, real GDP needs a GDP deflator (100 = base year), and per-capita needs the population.

Quick answer: the GDP formula

GDP = C + I + G + (X − M): consumption + investment + government spending + (exports − imports). Example: 100 + 30 + 40 + (20 − 25) = 165.

Overview of the GDP Calculator

The GDP Calculator computes gross domestic product — the market value of all final goods and services produced in an economy in a period — using the two most common textbook methods. The expenditure approach adds household consumption, investment, government spending and net exports. The resource cost-income approach adds up the incomes earned in production (wages, profits, rent, interest) plus indirect taxes, depreciation and net income of foreigners.

A third tool calculates the GDP growth rate, real GDP using a GDP deflator, and GDP per capita. Use any currency or unit — the label you type is simply shown next to the results. The calculator is handy for economics students, exam practice, project reports and quick what-if comparisons. It does not fetch real statistics; for official figures use national statistical releases.

How We Calculate GDP

  1. Expenditure approach: add personal consumption, gross investment and government consumption, then add net exports (exports minus imports).
  2. Income approach: add employee compensation, proprietors' income, rental income, corporate profits and interest income to get GNP; then add indirect business taxes, depreciation and net income of foreigners to get GDP.
  3. Growth rate: divide current GDP by the previous period's GDP, subtract 1 and multiply by 100.
  4. Real GDP: divide nominal GDP by the GDP deflator expressed as a fraction (deflator ÷ 100).
  5. Per capita: divide GDP by the population.
GDP (expenditure) = C + I + G + (X − M)
GNP = employee comp. + proprietors' income + rental income + corporate profits + interest income
GDP (income) = GNP + indirect business taxes + depreciation + net income of foreigners
growth % = (GDPnow ÷ GDPbefore − 1) × 100   real GDP = nominal ÷ (deflator ÷ 100)
Worked example — expenditure approach
ItemAmount
Personal consumption (C)100
Gross investment (I)30
Government consumption (G)40
Exports (X)20
Imports (M)25
Net exports (X − M)−5
GDP = 100 + 30 + 40 + (20 − 25)165
Worked example — income approach
ItemAmount
Employee compensation120
Proprietors' income20
Rental income5
Corporate profits30
Interest income10
GNP185
Indirect business taxes15
Depreciation20
Net income of foreigners−5
GDP = 185 + 15 + 20 − 5215

Components of GDP

Components of GDP (expenditure approach)
ComponentWhat it includesWhat it excludes
Personal consumption (C)Household spending on goods and services: food, rent, fuel, healthcare, durable goodsPurchase of new housing (counted as investment)
Gross investment (I)Business spending on equipment, factories and software; new housing; changes in inventoriesBuying existing assets and financial products (savings)
Government consumption (G)Government spending on final goods and services, including salariesTransfer payments such as pensions and subsidies
Net exports (X − M)Exports minus imports of goods and services—

GDP Terms in India's National Accounts

How India's national accounts name the expenditure components
Textbook termTerm used by India's National Statistics Office
Personal consumption (C)Private final consumption expenditure (PFCE)
Gross investment (I)Gross fixed capital formation (GFCF), change in stocks and valuables
Government consumption (G)Government final consumption expenditure (GFCE)
Exports and imports (X, M)Exports and imports of goods and services
—A statistical discrepancy line is also reported

India's official GDP is compiled mainly with the production (value-added) approach and cross-checked with expenditure data. Use official releases for actual figures.

GDP, Real GDP, Growth and GNP Compared

GDP and related measures
MeasureMeaningFormula
Nominal GDPOutput valued at current pricesAs calculated above
Real GDPOutput valued at base-year prices, removing inflationNominal GDP ÷ (GDP deflator ÷ 100)
GDP growth rateChange in GDP from one period to the next(Current ÷ previous − 1) × 100
GDP per capitaAverage output per personGDP ÷ population
GNPOutput produced by a country's residents and factors, wherever locatedGDP + net factor income from abroad

GDP Calculator — Frequently Asked Questions

What is GDP?

Gross domestic product is the total market value of all final goods and services produced within a country in a given period, usually a quarter or a year. It is the most widely used measure of the size of an economy.

How do you calculate GDP?

The expenditure approach is GDP = C + I + G + (X − M): consumption plus investment plus government spending plus net exports. The income approach adds up all incomes earned in production plus indirect taxes, depreciation and net income of foreigners.

What is the difference between GDP and GNP?

GDP counts output produced inside a country's borders, whoever owns the factors of production. GNP counts output produced by a country's residents and their assets, wherever in the world. GNP = GDP + net factor income from abroad.

What are net exports?

Exports minus imports. A positive number is a trade surplus that adds to GDP; a negative number is a trade deficit that subtracts from it.

What is the difference between nominal and real GDP?

Nominal GDP uses current prices, so it rises with inflation. Real GDP is adjusted to base-year prices using the GDP deflator, so it shows genuine growth in output.

How do I calculate the GDP growth rate?

(Current GDP ÷ previous GDP − 1) × 100. For example, GDP rising from 200 to 220 is 10% growth. Use real GDP if you want growth without the effect of inflation.

What is GDP per capita?

GDP divided by population. It is a rough measure of average output (and income) per person, but it does not show how evenly it is distributed.

Why are transfer payments and used goods excluded from GDP?

GDP counts new production only. Transfer payments such as pensions move money without producing anything, and used goods were counted when first made.

Does GDP include unpaid household work or the informal economy?

Unpaid household work is not included, and informal activity is only partly captured, because they are hard to measure — so GDP can understate total economic activity.

Does this calculator use real statistics?

No. It calculates from the numbers you enter. For official GDP figures, consult national statistical releases such as those of India's National Statistics Office.

Need a custom calculator or tool on your website?

Our team designs and develops fast, SEO-ready websites and web tools. Tell us what you need.

Call Us WhatsApp

Get a Free Quote

Tell us a bit about your project — we'll get back to you shortly.

2 + 8 =
Call WhatsApp