GDP Calculator

Use this free GDP calculator to learn the expenditure approach: consumption plus investment plus government spending plus net exports.

All tools
Smoke mascot holding a calculator beside GDP inputs for consumption, investment, government spending, exports, imports, and population.
GDP Calculator artwork matches the tool inputs: consumption, investment, government spending, exports, imports, and optional population for GDP per person. View in the smoke-kawaii gallery
Inputs explained Result checks Example values Runs in your browser
Estimated GDP$28,600.00

C + I + G + (X - M)

Net exports
-$900.00
GDP per person
$84,117.65
Imports subtracted
$4,100.00

Use one scale throughout. If money values are in billions, enter population in billions too, such as 0.34 for 340 million people.

Formula steps

  1. Add personal consumption, private investment, and government spending.
  2. Subtract imports from exports to find net exports.
  3. Add net exports to the other spending categories.

How to use the GDP Calculator

  1. Enter consumption, investment, government spending, exports, and imports in the same money scale.
  2. Enter population only when you want GDP per person, and keep the population scale matched to the money scale.
  3. Press Calculate GDP to see estimated GDP, net exports, imports subtracted, and GDP per person.
  4. Use the result for learning the expenditure formula, not as an official GDP release or forecast.

What people use it for

Practice GDP homework examples with the expenditure formula.

See how imports reduce net exports in the GDP identity.

Estimate GDP per person when population is known.

Compare how each spending category changes the headline GDP number.

Quick examples

Economy example

18,000 + 5,000 + 6,500 + (3,200 - 4,100), population 0.34

28,600 and about 84,118 per person

Classroom example

700 + 150 + 220 + (90 - 120)

1,040

Net exports surplus

900 + 180 + 250 + (140 - 100)

1,370

Need the guide or a nearby tool?

Need a slower walkthrough, a related calculator, or the full library? These links keep you close to the task you started.

Frequently asked questions

Plain-language answers about when to use the tool, what it does with your inputs, what to double-check, and how privacy works.

When should I use the GDP Calculator?

Use it when your task matches one of these common needs: Practice GDP homework examples with the expenditure formula. See how imports reduce net exports in the GDP identity. It works best when you already know consumption, investment, government spending, exports, imports, and optional population with matching money and population scales.

What is the GDP Calculator doing with my inputs?

In plain language: The calculator uses the expenditure approach: GDP = C + I + G + (exports - imports). If population is entered in the same scale, it divides GDP by population for GDP per person. The examples on the page are there so you can compare your inputs with a worked example before copying the answer.

What do the main GDP Calculator inputs mean?

Consumption: household spending on final goods and services in the scale you picked. Investment: private investment spending, not your personal stock portfolio return. Government spending: government purchases in the same money scale as the other GDP fields. Exports and imports: exports are added, imports are subtracted to get net exports. Population: optional. Use 0.34 if your money fields are in billions and population is 340 million.

What should I double-check before trusting the answer?

Use consistent money units. This is a learning estimate, not an official national account, forecast, or economic policy model. Also check that exports and imports are separate, imports are subtracted, money values use the same scale, and population matches that scale.

How should I read the GDP Calculator answer?

Start with estimated GDP, then check net exports and GDP per person. Net exports show whether imports pulled the total down, and GDP per person only makes sense when the population scale matches the money scale.

Is this official GDP data?

No. This calculator does not fetch BEA releases, country tables, revision dates, annualized rates, real GDP, chained-dollar series, or currency conversions. It only helps you understand the formula with numbers you enter.

Why are imports subtracted from GDP?

Imports can already sit inside consumption, investment, or government spending. Subtracting imports helps keep the final GDP number focused on domestic production instead of counting foreign-made goods as local output.

What does GDP per person mean here?

GDP per person is total GDP divided by the population scale you entered. It is not the same as wages, household income, or how well people are doing day to day.

Should I enter dollars, millions, or billions?

Any scale can work if every field uses the same scale. If consumption is entered in billions, investment, government spending, exports, imports, and population should use billions too.

What does this GDP calculator leave out?

It does not measure the income approach, production approach, inflation adjustment, underground activity, environmental costs, inequality, or later official revisions. Use it for learning and quick examples, not policy decisions.

Does the site save what I enter?

No. The calculator runs in your browser tab. Your recent answers stay only on the page while you use it, and they are not sent to a server.

Related tools