GDP calculator

Compute nominal GDP, real GDP or growth from economic inputs.

Nominal GDP (billions)
$23,900.00

Expenditures approach.

Breakdown & share
Net exports (billions)
−$700.00
Estimates only.

Your inputs

Solve for
$bn

Example values. Change any of them.

$bn
$bn
$bn
$bn

How it’s worked out

See how we got $23,900.00

Nominal GDP = C + I + G + X − M. Real GDP = nominal GDP ÷ (price deflator ÷ 100). Growth = (later ÷ earlier − 1) × 100%.

  1. Calculate exports − imports = −$700.00 billion.
  2. Add consumption, investment, government purchases and net exports.

About this calculator

Enter all amounts using a common period, currency and price basis. The real-GDP calculation applies a supplied price deflator rather than reconstructing official chained-dollar accounts.

Worked example

Nominal GDP (billions) · $23,900.00

Nominal GDP = C + I + G + X − M. Real GDP = nominal GDP ÷ (price deflator ÷ 100). Growth = (later ÷ earlier − 1) × 100%.

  1. Calculate exports − imports = −$700.00 billion.
  2. Add consumption, investment, government purchases and net exports.

Common questions

Why subtract imports?

Imports can already be included in spending. Subtract them so GDP reflects domestic production.

What is a deflator?

It is an index relating prices to a base period, conventionally indexed to 100.

Is growth automatically annualized?

The result measures change between the two periods you enter.

Formula sources

Reference checked November 22, 2026. Credentialed review pending.