π¦ GDP Calculator
The expenditure approach: C + I + G + net exports.
Gross domestic product
Estimates for planning only, not financial advice.
Gross domestic product is the market value of everything a country produces, and the expenditure approach adds it up from the spending side: household consumption (C), business investment (I), government spending (G), and net exports (exports minus imports). With C at $18.0T, I at $5.0T, G at $4.0T, and net exports of -$1.0T, GDP is $23.0T, and consumption alone is 78.3% of it.
How to Use This Calculator
Enter each component in the same units, trillions for a national economy or millions for a small one. Exports and imports are entered separately so the calculator can show the trade balance.
Enter consumption, investment, and government spending for the period.
Enter exports and imports. Net exports can be negative, and that is normal for the US.
Read GDP plus the consumption share. To strip out price changes and see real growth, use our GDP deflator calculator.
The GDP Formula
Each letter is a spending stream. C covers household spending on goods and services, usually two-thirds or more of US GDP. I means business investment in equipment, structures, and inventories, plus residential construction. G is government consumption and investment, not transfer payments like Social Security, which are excluded because they are not purchases of output. X minus M is the trade balance: exports add because foreigners buy domestic output, imports subtract because that spending leaked abroad. The income approach and production approach should, in theory, reach the same total.
Worked Example
Take a stylized economy: consumption $18.0T, investment $5.0T, government $4.0T, exports $3.0T, imports $4.0T. Net exports are $3.0T minus $4.0T = -$1.0T. GDP = 18.0 + 5.0 + 4.0 - 1.0 = $23.0T. Consumption is 18/23 = 78.3% of GDP, which matches the US pattern where households drive roughly 68% of output. If imports jumped to $6T with nothing else changing, GDP would fall to $21T, not because the country produced less for itself, but because more spending leaked to foreign producers.
What GDP Misses
GDP counts market output and ignores plenty that matters. Unpaid housework and childcare do not appear. Environmental damage is invisible, and in fact cleanup spending adds to GDP. Income distribution is hidden: GDP per capita can rise while typical households stagnate, which is why the GDP per capita calculator and the Gini coefficient calculator belong next to this one. GDP also says nothing about sustainability of the growth, whether it came from a housing bubble or productive investment.
My view: GDP is the best single summary of economic activity and a poor summary of economic welfare. Use it for what it measures, the size and growth of market output, and reach for the companion metrics for everything else. When the number moves, ask which component moved: consumption-led growth behaves very differently from inventory-led growth, and this calculator is the fastest way to see the mix.
Estimates for planning only, not financial advice.
Frequently Asked Questions
What is the expenditure approach to GDP?
It totals spending on final goods and services: GDP = C + I + G + (X - M). Consumption, investment, government purchases, and net exports. It is the most commonly quoted GDP breakdown because the data comes straight from spending surveys.
What counts as investment in GDP?
Business spending on equipment, software, structures, and changes in inventories, plus residential construction. Buying stocks or bonds is not investment in this sense; it is a financial transfer, not production of new capital.
Why are transfer payments excluded from G?
Because they are not purchases of goods or services. Social Security checks and unemployment benefits move money from one pocket to another without producing output. They show up later in GDP when recipients spend them, inside consumption.
Can net exports be negative?
Yes, and for the US they have been negative for decades. A trade deficit subtracts from GDP arithmetically, but it does not mean the economy is shrinking; it means domestic spending exceeds domestic production, with imports filling the gap.
What is the difference between GDP and GNP?
GDP counts output produced within the country's borders; GNP (now called GNI) counts output owned by the country's residents wherever produced. For the US the gap is small, around 1%, but for countries hosting lots of foreign firms it can be large.
Is GDP measured in nominal or real terms?
Headlines usually quote real GDP growth, which removes price changes, but the level is often reported nominal. Always check which one a figure uses before comparing across years. The GDP deflator converts between them.
Who publishes US GDP data?
The Bureau of Economic Analysis releases quarterly estimates about a month after each quarter ends, then revises them twice as more data arrives. The advance estimate moves markets; the third estimate is the one historians use.
Why do GDP revisions matter?
Early estimates run on incomplete data. Revisions of half a point or more are common and can flip the story of a quarter from weak to solid. Treat the first release as a draft and the later ones as the record.
Does GDP include the underground economy?
Only partially. Statistical agencies estimate some unreported activity, but cash businesses and illegal markets are mostly missed. In economies with large informal sectors, true output can exceed measured GDP by a wide margin.
What is a good GDP growth rate?
For a mature economy like the US, 2% to 3% annual real growth is healthy; faster usually means either a rebound or overheating. Developing economies routinely post 5% or more from a smaller base. One quarter never defines the trend.