GDP Calculator

Gross domestic product by the expenditure approach, plus per-capita and real GDP.

Gross domestic product by the expenditure approach, plus per-capita and real GDP.

How to use this calculator

Every field updates the result as you type — there is no submit step. The inputs below are pre-filled with a realistic example so you can see how the tool behaves before entering your own figures.

FieldUnitWhat it means
Consumption (C)$BEnter a numeric value.
Investment (I)$BEnter a numeric value.
Government spending (G)$BEnter a numeric value.
Exports (X)$BEnter a numeric value.
Imports (M)$BEnter a numeric value.
PopulationMEnter a numeric value.
GDP deflatorindexEnter a numeric value.

Worked example

Using the default values loaded into the calculator above, the result is:

InputValue
Consumption (C) ($B)15000
Investment (I) ($B)4000
Government spending (G) ($B)4200
Exports (X) ($B)2500
Imports (M) ($B)3200
Population (M)335
GDP deflator (index)118
OutputValue
Nominal GDP$22,500.00 billion
Net exports (X − M)-$700.00B
Real GDP$19,067.80B
GDP per capita$67,164.18
Consumption share66.67%
Investment share17.78%
Government share18.67%
Net export share-3.11%

Reading the result

Financial projections compound small assumption changes into large differences over time. Rates, fees and tax treatment vary by lender and jurisdiction, so treat the output as a well-structured estimate for comparing options rather than a quotation.

Figures that change annually — tax bands, contribution limits, statutory rates — are exposed as editable inputs. Check them against current published values before relying on the result.

Sharing and saving a calculation

The "Copy link" button encodes every value you have entered into the page URL. Opening that link restores the calculation exactly, which makes it easy to bookmark a scenario, send it to someone else, or keep several variations side by side in separate tabs.

Frequently asked questions

What does the GDP Calculator do?

Gross domestic product by the expenditure approach, plus per-capita and real GDP.

What result do the default values produce?

With the values pre-loaded in the calculator, nominal gdp comes to $22,500.00 billion.

Is this calculator free to use?

Yes. It is free, requires no account, and runs entirely in your browser — nothing you enter is transmitted or stored on a server.

Can I save or share a calculation?

Yes. The "Copy link" button builds a URL containing all your entered values. Anyone opening that link sees the same calculation.

How accurate is the result?

The calculation itself is exact for the inputs given. Real-world accuracy depends on how well those inputs reflect your actual situation, so review the assumptions before relying on the figure.