GDP Calculator
GDP from consumption, investment, government spending and net exports.
- 100% Free
- Instant Results
- No Sign Up
GDP Calculator
GDP by the expenditure approach: C + I + G + (X - M)
Household spending on goods and services.
Business investment, housing and inventories.
GDP
$29.2 trillion
$29,200 billion
- Consumption67.8% of GDP
- $19,800 billion
- Investment18.2% of GDP
- $5,300 billion
- Government spending17.1% of GDP
- $5,000 billion
- Net exports (X - M)Trade deficit
- -$900 billion
Default figures are rounded US 2024 annual values in billions of dollars (BEA national accounts), for illustration.
- $ billion
How it was calculated
- GDP = C + I + G + (X - M)
- = 19,800 + 5,300 + 5,000 + (3,200 - 4,100) = 29,200
More Other Calculators
View all calculators- Inflation CalculatorWhat money from one year is worth in another
- Percentage CalculatorPercent of, percent change and more
- Interest CalculatorInterest earned with deposits, tax and inflation
- Compound Interest CalculatorGrow a balance, or convert between compounding periods
- Age CalculatorExact age in years, months, days and more
- Date CalculatorDays between dates, or add and subtract days
- Time CalculatorAdd or subtract days, hours, minutes, seconds
- Hours CalculatorHours and minutes between two times
- GPA CalculatorSemester and cumulative GPA on a 4.0 scale
- Calculators
- 204+
- Free to use
- 100%
- Results as you type
- Instant
How the gdp calculator works
The expenditure approach adds up everything spent on final goods and services in a year: GDP = C + I + G + (X - M). Imports are subtracted because they were produced abroad, even though they show up in C, I and G.
Real GDP removes inflation by dividing nominal GDP by the GDP deflator (a price index where the base year is 100), so growth can be compared across years.
Using and checking your result
Published by JustYourCalculator. Check the units and assumptions above, and compare a known example before relying on the output. Calculations use browser arithmetic and may round displayed values.
Share links may contain your input values. Anyone with the URL can read them; avoid sharing sensitive personal or financial information.
