GDP Calculator

GDP Calculator

Emerging AI Skill PRO

Enter Calculation

Formula

GDP=C+I+G+X−M\text{GDP} = \text{C} + \text{I} + \text{G} + \text{X} - \text{M}

Example

GDP=13.5+4+3.5+2.5−3.5=20.00\text{GDP} = 13.5 + 4 + 3.5 + 2.5 - 3.5 = 20.00
Usage stats

Advertisement

Results

Gross Domestic Product (GDP)
$20.00
Expenditure Approach Breakdown
Personal Consumption (C) $13.50
+ Gross Investment (I) $4.00
+ Government Consumption (G) $3.50
+ Export (X) $2.50
− Import (M) $3.50
= GDP $20.00

Report an error on this page

What is GDP?

Gross Domestic Product (GDP) is the total monetary value of all finished goods and services produced within a country's borders during a specific period — usually a calendar quarter or year. It is the most widely used summary measure of an economy's size and overall health. GDP captures only output produced inside the country, regardless of who owns the producing firms; income earned abroad by domestic citizens is excluded.

Why GDP Matters

Policymakers, central banks, investors, and businesses all watch GDP because changes in its growth rate signal whether an economy is expanding, stagnating, or contracting. A common rule of thumb defines a recession as two consecutive quarters of negative real GDP growth. GDP is also used for international comparisons, trade negotiations, and as a denominator for ratios such as government debt-to-GDP and trade-to-GDP.

The Three Approaches

National statistical agencies compute GDP three different ways. In theory, all three should yield the same number; in practice, small statistical discrepancies exist.

  • Expenditure approach: sum of everything spent on final goods and services in the economy.
  • Income approach: sum of all incomes earned in producing those goods and services.
  • Output (production) approach: sum of value added at each stage of production, totaled across all industries.

This calculator implements the first two. The output approach requires industry-by-industry data and is rarely used outside official statistics.

Expenditure Approach

The expenditure approach groups all spending in the economy into four mutually exclusive categories:

$$\text{GDP} = C + I + G + (X - M)$$

  • C — Personal Consumption. Household spending on goods (food, clothing, cars) and services (rent, healthcare, education). Typically the largest component, often 60–70% of GDP in developed economies.
  • I — Gross Investment. Business spending on equipment, structures, and inventories, plus residential construction. Excludes financial investments such as stock purchases.
  • G — Government Consumption. Federal, state, and local government spending on goods and services (e.g., military, public schools, roads). Excludes transfer payments such as Social Security or unemployment benefits, since those don't represent current production.
  • X − M — Net Exports. Exports (X) of goods and services to other countries, minus imports (M). A trade deficit makes this term negative.
Advertisement
Expenditure approach components C, I, G, X minus M combining into GDP
The expenditure approach sums consumption, investment, government spending, and net exports (X minus M).

Income Approach

The income approach measures GDP by summing the incomes paid to factors of production, plus a few adjustments to reconcile national income with the GDP basis:

$$\begin{aligned}\text{GDP} =\ & \text{Compensation} + \text{Proprietors} + \text{Rents} \\ &+ \text{Profits} + \text{Interest} + \text{Indirect Tax} \\ &+ \text{Depreciation} + \text{NIF}\end{aligned}$$

  • Compensation of Employees: wages, salaries, and fringe benefits paid to workers — the largest single component.
  • Proprietors' Income: earnings of unincorporated businesses (sole proprietorships, partnerships).
  • Rents: income earned by landlords from leasing property.
  • Corporate Profits: net earnings of incorporated businesses before dividend distribution.
  • Net Interest: interest received by domestic residents minus interest paid.
  • Indirect Business Taxes: sales tax, excise duties, and similar taxes embedded in market prices but not paid to factors of production.
  • Depreciation (capital consumption allowance): the portion of investment that replaces worn-out capital rather than expanding productive capacity.
  • Net Income of Foreigners: reconciles GDP (output produced inside the country) with national income (income earned by domestic residents).

Worked Example — Expenditure Approach

Suppose an economy has the following figures (in trillions of dollars):

  • Personal consumption: 13.5
  • Gross investment: 4.0
  • Government consumption: 3.5
  • Exports: 2.5
  • Imports: 3.5

$$\text{GDP} = 13.5 + 4.0 + 3.5 + 2.5 - 3.5 = \textbf{20.0 trillion}$$

Nominal vs Real GDP

The number this calculator produces is nominal GDP — measured in current-period prices. To compare GDP across years and isolate genuine growth from price inflation, economists deflate nominal GDP using a price index to obtain real GDP, expressed in the prices of a chosen base year. The ratio of nominal to real GDP is known as the GDP deflator and is itself a closely watched inflation indicator.

Advertisement
Nominal GDP adjusted by a price deflator to obtain real GDP
Real GDP adjusts nominal GDP for price changes using a deflator.

GDP Per Capita

Dividing GDP by total population gives GDP per capita, a rough proxy for living standards. Comparing per-capita GDP across countries (especially when adjusted to purchasing power parity, or PPP) is a more meaningful measure of economic prosperity than comparing total GDP, since the latter is heavily influenced by population size.

Limitations of GDP

GDP is a powerful indicator but far from a complete measure of well-being or economic health.

  • Excludes non-market activity: unpaid household labor, volunteer work, and the informal economy aren't captured even though they produce real value.
  • Ignores inequality: two countries with identical GDP per capita may have vastly different distributions of income and wealth.
  • Indifferent to externalities: environmental degradation, pollution, and resource depletion don't reduce GDP — sometimes the cleanup costs are even added to it.
  • Replacement counts as production: repairing damage from natural disasters or wars boosts GDP without raising long-run welfare.
  • Quality changes: when products get better but the price stays similar (e.g., smartphones), standard GDP figures may understate true progress.

For these reasons, modern economists supplement GDP with measures such as the Human Development Index (HDI), the Genuine Progress Indicator (GPI), and natural capital accounts.

GDP and GDP per capita: United States

Official GDP and population figures for United States, updated automatically. They work the formula above with real numbers.

GDP per capita 2025
90,027 USD
GDP 2025
30,770 billion USD
Population 2025
341.78 million

Latest change Up +4.5% 2025: 90,027 USD, against 86,170 USD in 2024. CalculatorLib computes this change from the two published figures.

In 2025, the GDP of United States was 30,770 billion USD and its population 341.78 million: 30,770 billion ÷ 341.78 million = 90,027 USD per person.

GDP deflator 2025: nominal GDP 30,770 billion USD ÷ real GDP 25,147 billion USD × 100 = 122.36.

GDP per capita (USD) · United States
YearGDP (billion USD)Population (million)GDP per capita (USD)GDP deflator
202530,770341.7890,027122.4
202429,298340.0086,170119.0
202327,812336.7682,587116.1
202226,055334.0078,009112.0
202123,726332.1071,441104.6
202021,375331.5864,465100.0
201921,540330.2365,22898.7
201820,657328.5362,87697.1
201719,612326.6160,04894.9
201618,805324.3557,97793.2

United States and other countries

GDP per capita in current US dollars — each country’s latest published year.

  1. United States 90,027 USD (2025)
  2. France 48,986 USD (2025)
  3. South Korea 36,227 USD (2025)
  4. Japan 35,951 USD (2025)
  5. Saudi Arabia 34,537 USD (2025)
  6. Türkiye 18,599 USD (2025)
  7. Russia 17,547 USD (2025)
  8. World 14,406 USD (2025)
  9. Mexico 13,889 USD (2025)
  10. China 13,862 USD (2025)
  11. Vietnam 5,066 USD (2025)
  12. India 2,702 USD (2025)

No published figure yet for Taiwan.

Years can differ between rows: each figure is shown with its own year. The same World Bank indicator for every country.

Latest figure: 2025 Data last updated 2026-10-17 · current

Source: The World Bank Group CC BY 4.0; World Bank, World Development Indicators CC BY 4.0

The GDP ÷ population example and the GDP deflator worked from nominal and real GDP are computed by CalculatorLib from these data.

Source details and methodology

GDP of United States: all figures and history

Last updated:

Most popular in Financial

View all Financial calculators