GDP Calculator
Free gdp calculator: enter consumer spending c, investment i and government spending g and get gdp = c + i + g + instantly.
What is the GDP Calculator used for?
Use it to calculate GDP with the expenditure approach (C + I + G + NX).
When to use it
- Economics homework
- Understanding national accounts
- Teaching macroeconomics
How to use the GDP Calculator
- Enter your numbers in the fields above – the gdp calculator starts with example values so you can see how it works.
- Pick the right units or options from the drop-down menus where they appear.
- Read the results instantly; they update every time you change a value.
- Change one input at a time to compare different scenarios, then note or copy the figures you need.
Worked example
For example, if you enter:
- Consumer spending C: 18000
- Investment I: 4500
- Government spending G: 4800
- Exports X: 3000
- Imports M: 3800
- Population: 335
the gdp calculator gives:
- GDP = C + I + G +: 26,500
- Net exports: -800
- GDP per capita: 79,104.48
- Shares of GDP: Consumption 67.9% · Investment 17.0% · Government 18.1% · Net exports -3.0%
Replace the example values with your own numbers to get your personal result.
About this tool
The GDP Calculator works out gdp = c + i + g +, net exports, gdp per capita and shares of gdp from a few simple inputs. Type consumer spending c, investment i, government spending g, exports x and imports m and the results update instantly as you change any number – there is no button to press and nothing to install.
How to use it: start with the example values already filled in to see how the gdp calculator behaves, then replace them with your own figures. Every field accepts decimals, and you can change one value at a time to compare scenarios side by side.
Results are rounded for readability, so treat them as a reliable estimate rather than an official figure. Double-check important results before relying on them.
Frequently asked questions
How does the gdp calculator work?
It uses standard formulas to turn consumer spending c, investment i and government spending g into gdp = c + i + g +, net exports and gdp per capita. The calculation reruns every time you change an input.
Is the gdp calculator free?
Yes. The gdp calculator on UnlimitedPocket is completely free, with no sign-up, no usage limits and no watermarks.
Is my data uploaded anywhere?
No. Everything is calculated in your browser on your own device. Nothing you type or open is sent to our servers.
Report an issue
Something wrong with the GDP Calculator? Tell us and we’ll fix it.