GDP Calculator

Add up gross domestic product from spending or from incomes using BEA's national-accounts components, then convert nominal GDP to real GDP with a price deflator.

Nominal GDP29,000.00
currency units

Use one unit for every input (for example, billions).

currency units

-1000000000000000 – 1000000000000000

currency units

-1000000000000000 – 1000000000000000

currency units

0 – 1000000000000000

currency units

0 – 1000000000000000

index, base year = 100

100 means nominal = real (base-year prices).

people

Enter 0 to skip per-person GDP.

Nominal GDP

29,000.00

  • Real GDP (base-year prices)29,000.00
  • Net exports (X − M)-1,000.00
  • Consumption share of GDP68.97%

Components follow the BEA national accounts. Per-person figures keep the input unit (for example, billions ÷ people). Official GDP uses chained dollars for real values, so a single deflator is an approximation.

How this was calculated

GDP = C + I + G + (X − M) = 20,000 + 5,000 + 5,000 + (3,000 − 4,000) = 29,000.

Real GDP = nominal ÷ deflator × 100 = 29,000 ÷ 100 × 100 = 29,000.

Expenditure approach

GDP = C + I + G + (X − M): personal consumption expenditures, gross private domestic investment, government consumption and gross investment, and net exports (exports minus imports). Imports are subtracted because their value was produced abroad.

Example: 20,000 + 5,000 + 5,000 + (3,000 − 4,000) = 29,000 (in any unit, such as billions).

Income approach

Gross domestic income (GDI) adds the incomes earned in production: compensation of employees + taxes on production and imports − subsidies + net operating surplus + consumption of fixed capital. In BEA's accounts, net operating surplus is proprietors' income, rental income of persons, corporate profits, net interest and miscellaneous payments, business current transfer payments and the current surplus of government enterprises.

In theory GDI equals GDP; in practice they are estimated from different data, and BEA reports the gap as the statistical discrepancy (GDP − GDI). With 15,000 compensation, 7,500 net operating surplus, 1,800 taxes, 100 subsidies and 4,800 depreciation, GDI = 29,000.

Real GDP and the deflator

Real GDP = nominal GDP ÷ deflator × 100, where the deflator is a price index equal to 100 in the base year. Nominal 29,000 with a deflator of 116 is 25,000 in base-year prices. The reverse, deflator = nominal ÷ real × 100, gives the price change since the base year. BEA's official real GDP uses chained dollars, so a single deflator is an approximation.

How to use the GDP Calculator

Choose a method and enter the components in one unit.

  1. Choose the method

    Expenditure, income, or deflator.

  2. Enter the components

    Use the same unit throughout, such as billions.

  3. Add a deflator

    Enter the price index to convert nominal to real GDP.

  4. Read the result

    See nominal and real GDP with the working.

References

Frequently asked questions

Why are imports subtracted?

C, I and G already include spending on imported goods. Subtracting imports removes output produced in other countries, leaving only domestic production.

What is the difference between nominal and real GDP?

Nominal GDP is measured at current prices; real GDP removes price changes by valuing output at base-year prices, so it shows changes in quantity.

Why do GDP and GDI differ?

They are built from different, imperfect source data. BEA publishes the difference as the statistical discrepancy.

Last updated . Results are estimates for informational purposes only.