GDP Calculator
Expenditure Approach
Press Calculate to see the results.
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 earned at home by foreign residents minus income earned abroad by residents).
Press Calculate to see the results.
Enter the components of spending to calculate gross domestic product with the expenditure approach, or use the second tool to build GDP from incomes. The GDP calculator accepts any currency unit; the example figures are in billions.
Gross Domestic Product
Gross domestic product is the market value of all final goods and services produced within a country's borders over a period, usually a quarter or a year. It is the most widely used measure of the size of an economy and of economic growth. Final means that intermediate goods, such as the steel sold to a carmaker, are not counted separately, because their value is already included in the price of the finished car.
GDP counts production inside the country regardless of who owns it, whereas gross national product (GNP), now usually called gross national income (GNI), counts output by a country's residents wherever they are.
Measuring GDP
In principle every dollar spent on a final product is also a dollar of income to someone, so GDP can be measured three ways that should give the same answer: by adding up spending (the expenditure approach), incomes (the income approach), or the value added at each stage of production (the production approach). In practice statistical agencies, such as the US Bureau of Economic Analysis (BEA), use different data sources for each, and the small gap between them is reported as the statistical discrepancy.
Nominal GDP is measured at current prices, so it rises with inflation as well as real output. Real GDP removes the effect of price changes by valuing output at the prices of a base year or by chain-weighting, and is the figure used to calculate economic growth. A recession is often described informally as two consecutive quarters of falling real GDP, though in the United States recessions are officially dated by the National Bureau of Economic Research using a broader set of indicators.
GDP leaves out a lot: unpaid work at home, volunteering, most of the informal economy, and illegal activity. It also counts some spending that does not make people better off, such as cleaning up after a disaster.
Expenditure Approach:
The expenditure approach adds up what households, businesses, governments and foreigners spend on final goods and services produced in the country. Consumption covers households' spending on goods and services; in the United States it is about two-thirds of GDP. Investment covers business spending on equipment, structures and software, residential construction and changes in inventories, but not purchases of shares or bonds. Government spending includes purchases of goods, services and public investment, but not transfer payments such as Social Security, which are not payments for production. Net exports add sales to foreigners and subtract imports, which are already included in the other categories.
| Component | Includes | Excludes |
|---|---|---|
| Consumption (C) | Food, rent, health care, cars, services | Purchases of new homes (counted in I) |
| Investment (I) | Machinery, buildings, new homes, inventories | Stocks, bonds, used assets |
| Government (G) | Salaries of public workers, roads, defense | Transfer payments such as pensions |
| Net exports (X − M) | Exports minus imports | — |
GDP = C + I + G + (X − M)
- C
- personal consumption expenditures
- I
- gross private investment
- G
- government consumption and investment
- X − M
- exports minus imports
Resource Cost-Income approach:
The income approach adds up the incomes earned by the factors of production. Compensation of employees, wages, salaries and benefits, is the largest piece. Proprietors' income is what owners of unincorporated businesses, such as sole traders and partnerships, earn; rental income goes to owners of property; corporate profits and net interest are the returns to capital. Together these make up national income.
Two further items are needed to reach GDP. Indirect business taxes, such as sales and excise taxes, are part of the prices buyers pay but not anyone's factor income. Depreciation, or consumption of fixed capital, is the value of capital worn out during the year; it is part of gross output even though it is not income. Finally, an adjustment converts the national measure into a domestic one by adding income earned in the country by foreign residents and subtracting income residents earn abroad.
| Item | Example |
|---|---|
| Employee compensation | Wages, salaries, employer health and pension contributions |
| Proprietors' income | Profit of a family farm or a freelance consultant |
| Rental income | Rent received by a landlord |
| Corporate profits | Profits of incorporated businesses |
| Interest income | Net interest paid by businesses |
| Indirect business taxes | Sales taxes, excise duties, business property taxes |
| Depreciation | Wear and tear on machinery and buildings |
Gross domestic product as a comparison of living standards
GDP per person, total GDP divided by population, is often used to compare living standards between countries and over time. Comparisons in US dollars at market exchange rates can mislead, because prices of local goods and services such as housing and haircuts differ widely; economists therefore also use purchasing power parity (PPP) exchange rates, which adjust for those price differences and narrow the gap between rich and poor countries.
Even then, GDP per person says nothing about how income is distributed, how long people live, their health and education, leisure time, or environmental damage. Broader measures such as the United Nations Human Development Index try to capture some of these. The table shows approximate nominal GDP per person in 2023 for several large economies, rounded, from International Monetary Fund estimates.
| Country | GDP per person, 2023 (US$, approx.) |
|---|---|
| United States | 81,000 |
| Germany | 53,000 |
| United Kingdom | 49,000 |
| Japan | 34,000 |
| China | 12,600 |
| Brazil | 10,300 |
| India | 2,500 |
Frequently asked questions
How is GDP calculated?
Most often with the expenditure formula GDP = C + I + G + (X − M): consumption plus investment plus government spending plus net exports. With the default figures, 15,000 + 4,000 + 3,800 + (2,500 − 3,200) = 22,100. Statistical agencies cross-check it with the income approach, which adds up wages, profits, rents and taxes.
What is the difference between GDP and GNP?
GDP counts production within a country's borders. GNP counts production by a country's residents and businesses, wherever it takes place.
Why are imports subtracted?
Imported goods are included in consumption, investment and government spending, but they were not produced domestically, so they are subtracted to leave only domestic production.
What is real GDP?
GDP adjusted for inflation, so that changes reflect the quantity of goods and services produced rather than price changes.
Updated by Calculator.hair. How we build and check our calculators