Enter Values
Key Formulas
Calculation Result
Formula Breakdown
GDP Components
| Component | Value ($ B) | % of GDP |
|---|---|---|
| C — Consumption | — | — |
| I — Investment | — | — |
| G — Government Purchases | — | — |
| NX — Net Exports | — | — |
| GDP Total | — | |
Model Assumptions
Key Assumptions
- Uses the expenditure approach: GDP = C + I + G + NX
- Government purchases excludes transfer payments (Social Security, unemployment benefits)
- Investment includes business fixed investment, residential investment, and inventory changes
- GDP deflator uses current-year quantities (Paasche index); CPI uses a fixed basket (Laspeyres index)
- Nominal GDP uses current prices; Real GDP uses base-year prices
- Per capita formula: (GDP in billions × 1,000) ÷ Population in millions = $ per person
For educational purposes. Not financial advice. Market conventions simplified.
Understanding GDP
What is GDP?
Gross Domestic Product (GDP) is the market value of all final goods and services produced within a country's borders during a given time period. It is the most widely used measure of economic size and growth. GDP captures production by all firms operating inside the country, regardless of whether they are foreign or domestically owned.
Where NX = Exports − Imports
The Four Components of GDP
Consumption (C)
Household spending on goods and services — the largest component, typically 60–70% of GDP. Includes food, clothing, healthcare, and services. Excludes new housing construction.
Investment (I)
Spending on capital goods: business fixed investment (machinery, equipment), residential investment (new homes), and changes in inventories. Not stock market purchases.
Government Purchases (G)
Government spending on goods and services — military, roads, schools. Excludes transfer payments (Social Security, Medicare, unemployment benefits) because those do not directly purchase output.
Net Exports (NX)
Exports minus imports. Exports add to GDP (foreign demand for domestic output). Imports are subtracted because they represent domestic spending on foreign output. A trade deficit means NX is negative.
Nominal vs. Real GDP
Nominal GDP values output at current prices. It rises when production increases or when prices rise. Real GDP values output at constant base-year prices, so it only rises when actual production increases. Economists prefer real GDP for measuring growth because it removes the distortion of inflation.
The GDP deflator bridges the two: Deflator = (Nominal GDP / Real GDP) × 100. Unlike the CPI — which tracks a fixed basket of consumer goods (Laspeyres index) — the GDP deflator adjusts its basket every year to reflect what is actually produced (Paasche index).
What GDP Measures — and What It Doesn't
GDP counts: all domestically produced final goods and services, imputed rent on owner-occupied housing, inventory additions. GDP does not count: illegal activity, household production, used-goods transactions, or output produced abroad by domestic firms (that's GNP, not GDP).
As a welfare measure, GDP also has limitations: it ignores income inequality, environmental degradation, leisure time, and non-market well-being. Economists use supplemental measures like the Human Development Index (HDI) to capture what GDP misses.
Frequently Asked Questions
Disclaimer
This calculator is for educational purposes only. Results are based on simplified models from Mankiw's Principles of Macroeconomics. Actual GDP accounting involves additional complexities including seasonal adjustments, chain-weighted price indices, and revisions by statistical agencies such as the BEA. This tool should not be used for professional economic analysis or policy decisions.