Economics

GDP Calculator

Estimate GDP with the expenditure formula and a user-entered deflator.

Use official data for publication

This page performs the arithmetic. For national accounts, use official statistical agency data and definitions, because GDP components, deflators and revisions follow formal accounting standards.

Example

If consumption is 1,000,000, investment is 250,000, government spending is 300,000, exports are 150,000 and imports are 200,000, nominal GDP is 1,500,000.

Common mistakes

Imports are subtracted because they are included in spending but produced elsewhere. Do not add imports to exports when using the expenditure approach.

Limitations

This calculator does not replace national accounts data. It does not handle chained prices, seasonal adjustment, revisions, purchasing power parity or country-specific accounting classifications.

Last reviewed: 2026-05-17

Before relying on this result

Use this calculator together with the formula, assumptions, limitations and examples on the page. If the topic involves health, tax, lending, investment, legal, safety or current-rate decisions, treat the number as an estimate and check the relevant primary source or professional guidance.

Calculator metadata last reviewed: 2026-05-14.