CalculatorBoom

GDP Calculator

Calculate Gross Domestic Product using the expenditure approach — personal consumption, gross investment, government consumption, and net exports.

Total spending by households on goods and services — typically the largest component of GDP in most economies.
Business spending on equipment, structures, and inventories, plus residential construction.
Government spending on goods, services, and public investment, excluding transfer payments like benefits.
The total value of goods and services sold to other countries.
The total value of goods and services purchased from other countries. Subtracted from exports to get net exports.

Gross Domestic Product

Summary

With 15,000 in personal consumption, 4,000 in gross investment, 3,500 in government consumption, and net exports of -500 (2,500 exports minus 3,000 imports), total GDP is 22,000.

Net Exports

-500

GDP components (expenditure approach)

What is GDP?

Gross Domestic Product (GDP) is a monetary measure of the market value of all final goods and services produced within a country over a period of time, typically a quarter or a year. It's the most widely used single indicator of a country's or region's economic performance.

Sustained GDP growth above roughly 2% per year is generally seen as a sign of a healthy, expanding economy, while two or more consecutive quarters of negative GDP growth is a commonly cited (though informal) signal of a recession.

The Expenditure Approach

The expenditure approach calculates GDP by summing everything spent on final goods and services within the economy: household consumption, business investment, government spending, and net exports (exports minus imports, since imported goods aren't domestic production).

GDP = Personal Consumption + Gross Investment + Government Consumption + (Exports − Imports)

Why Imports Are Subtracted, Not Ignored

Personal consumption, investment, and government spending all include money spent on imported goods, which weren't produced domestically. Subtracting imports removes that foreign production from the total, so GDP reflects only what was actually produced within the country's borders.

A Trade Deficit Reduces GDP, But Isn't Automatically Bad

When imports exceed exports, net exports are negative and directly reduce measured GDP. However, a trade deficit often reflects strong domestic consumer demand and can coexist with a growing, healthy economy — it's one data point among many, not a standalone verdict on economic health.

GDP Has Known Limitations

GDP excludes unpaid work like childcare and housework, as well as black-market or informal economic activity, because these are difficult to measure reliably. It also doesn't directly capture income inequality, environmental costs, or overall well-being, which is why economists often pair GDP with other indicators for a fuller picture.

Example — Your Current Inputs

With 15,000 in personal consumption, 4,000 in gross investment, 3,500 in government consumption, and net exports of -500 (2,500 exports minus 3,000 imports), total GDP is 22,000.

Additional Example — A Trade Surplus

An economy with 10,000 in personal consumption, 2,500 in investment, 2,000 in government spending, 1,800 in exports, and 1,200 in imports has net exports of +600 (a trade surplus), giving a total GDP of 15,100 — with net exports adding to, rather than subtracting from, overall output.

Frequently Asked Questions

What's the difference between GDP and GNP?

GDP measures production that happens within a country's borders, regardless of who owns the business. GNP (Gross National Product) instead measures output produced by a country's residents and companies, regardless of where in the world that production happens.

Is a bigger GDP always better?

Not necessarily — GDP measures total output, not how evenly it's distributed or how sustainable it is. GDP per capita and other social indicators are often better measures of typical living standards than total GDP alone, especially when comparing countries of very different population sizes.

Does this calculator adjust for inflation?

No — this calculates nominal GDP directly from the dollar values you enter. Comparing GDP across different years accurately requires adjusting for inflation to get "real" GDP, which this simple calculator does not do.

See also