GDP Calculator
Last updated: June 2026 · Free · No sign-up required
Enter values above and click Calculate to see your result instantly.
Quick reference
| Component | Symbol |
|---|---|
| Consumption | C |
| Investment | I |
| Government spending | G |
| Net exports (X − M) | NX |
apps Small jobs, done in one click
Everyday calculators are the workshop drawer of the site — quick utilities for the moments when you need a number now and a phone calculator won't cut it. Age, date difference, GPA, fuel cost, time-to-decimal, password strength — pick a tool and you're one click from your answer.
speed Loads in under a second
Every tool is plain HTML + JavaScript with the calculation logic compiled in. No spinner, no "verifying browser" splash, no five-second wait while ads load. Hit the page, fill the form, get the answer. Slow tools waste your time and ours.
devices Works on every device
Responsive design tested down to a 320px-wide phone screen. The input fields use native number/date keyboards on iOS and Android, the calculate button is thumb-sized, and the result still reads big and bold on the smallest screen. No app to download, ever.
sentiment_satisfied No funny business
No newsletter pop-ups, no "create an account to see the answer", no fake countdown, no fake stock counter, no upsell. Two ad slots per page (clearly labelled as Advertisement) keep the site free — that's the whole business model.
Interpretation guide
| Output | What it tells you |
|---|---|
| GDP | Total economic output by the expenditure method. |
| Net exports | Exports minus imports; can be negative (a trade deficit). |
| Use | Comparing economies and tracking growth over time. |
Formula & methodology
Formula: GDP = C + I + G + (X − M), i.e. consumption + investment + government + net exports
The expenditure approach measures GDP as total spending in an economy: household consumption, business investment, government spending and net exports.
- Enter consumption (C), the largest component in most economies.
- Enter investment (I) and government spending (G).
- Enter net exports (exports minus imports), which may be negative.
- The calculator adds them: GDP = C + I + G + NX.
Worked example: C 100 + I 50 + G 30 + NX (−10) = GDP 170.