Tools logoTools/
Everyday Tools/GDP Calculator

GDP Calculator

Compute nominal and real GDP from spending components — plus GDP per capita.

Runs locally·Free, no signup·Updated May 6, 2026
Loading tool…
How it works

A walkthrough, end to end.

  1. 1

    Enter consumption, investment, government spending, exports, and imports.

  2. 2

    Optionally enter the GDP deflator and population.

  3. 3

    See nominal GDP, real GDP (base-year), and GDP per capita.

Reference

GDP

Nominal GDP = C + I + G + (X − M). Real GDP = Nominal / (deflator/100). Per capita = GDP / population.

Use cases

What you can do with this.

Macro homework

Verify exam problems on national accounts.

Real vs nominal

See the deflator's effect on growth comparisons.

Per-capita comparison

Per-capita GDP across countries.

Policy analysis

Estimate fiscal multiplier impacts.

Investment research

Cross-check headline GDP numbers.

FAQ

Frequently asked.

  • This calculator uses the expenditure approach (C+I+G+NX). Income approach sums wages, profits, rents, taxes.

  • Index normalized so base year = 100. Real = nominal / (deflator/100).

  • No. All math runs in your browser.

  • GNP adds net foreign income to GDP. Not computed here.