GDP Calculator
Calculate nominal GDP, real GDP, GDP growth, GDP per capita, GDP deflator, sector contribution, and country GDP comparisons with step-by-step macroeconomics formulas.
Last Updated: May 17, 2026
Calculate Gross Domestic Product
Choose a GDP method, keep all money values in the same currency and scale, then review GDP, shares, growth, per capita output, real GDP, and the step-by-step math.
This labels results only. It does not convert exchange rates.
Optional for GDP per capita.
Optional for growth.
Optional for real GDP.
Nominal GDP
USD 17.5T
GDP per capita
USD 51,471
Real GDP
USD 16T
Growth / deflator
-12.5%
GDP Component Breakdown
| Component | Amount | Share | Note |
|---|---|---|---|
| Consumption | USD 10T | 57.14% | Household spending. |
| Investment | USD 3T | 17.14% | Business investment, housing, and inventories. |
| Government spending | USD 4T | 22.86% | Government purchases of goods and services. |
| Exports | USD 2T | 11.43% | Domestic output sold abroad. |
| Imports | -USD 1.5T | -8.57% | Subtracted because imports are foreign output. |
| Net exports | USD 500B | 2.86% | Exports minus imports. |
GDP Component Visual
Positive bars add to GDP. Negative bars reduce GDP, such as imports or subsidies.
Step-by-Step Solution
- Step 1: Net exports = exports - imports = 2 - 1.5.
- Step 2: GDP = C + I + G + (X - M).
- Step 3: GDP = 10 + 3 + 4 + (2 - 1.5).
- Step 4: GDP = 17.5 trillion.
Consumption is the largest positive component. Economic output contracted from the previous period.
GDP Data and Estimation Notice
This calculator is an educational macroeconomics tool, not an official national accounts release. National GDP estimates can be revised, may use different base years, and may differ across nominal, real, PPP, seasonally adjusted, and local currency series. The top-50 table uses World Bank WDI data for 2024, last updated April 8, 2026.
Checked by Jitendra Kumar
GDP Calculator is checked for formula labels, source links, and result limits.
Jitendra Kumar, Founder & Editorial Standards Lead. Updated May 17, 2026. Scope: measurement calculators.
How to Use the GDP Calculator
Choose a calculator mode, then enter money values in one currency and one unit scale. For example, if the scale is trillion, enter 10 for a value of 10 trillion.
Use optional population, previous GDP, and GDP deflator fields when you want GDP per capita, growth, and real GDP context alongside the main GDP result.
Step 1: Choose the GDP method
Pick expenditure, income, production, sector, real GDP, growth, per capita, deflator, or country comparison mode.
Step 2: Enter consistent values
Keep all money inputs in the same currency and scale, such as USD trillions or INR billions.
Step 3: Review the breakdown
Check component shares, net exports, growth, per capita output, real GDP, and GDP deflator results.
Step 4: Use the country table
Compare the calculator output with the World Bank top-50 nominal GDP table for the latest available data year.
How This GDP Calculator Works
The expenditure mode uses \(GDP=C+I+G+(X-M)\), where consumption, investment, government spending, exports, and imports are entered in a consistent currency and unit scale.
Income mode adds production income, while production mode uses value added. Real GDP adjusts nominal GDP with \(\text{Real GDP}=\frac{\text{Nominal GDP}}{\text{GDP Deflator}}\times100\). Growth mode compares current GDP with previous GDP, and per-capita mode divides GDP by population.
The country comparison and top-50 table use World Bank World Development Indicators: GDP (current US$), Population total, and GDP growth annual percent. Country rows exclude World Bank regional and income-group aggregates.
GDP Formulas, Country Data, and Common Mistakes
GDP Formula Library
| Formula | Expression | Use |
|---|---|---|
| Expenditure approach | \(GDP=C+I+G+(X-M)\) | Adds consumption, investment, government spending, and net exports. |
| Income approach | \(GDP=\text{Wages}+\text{Rent}+\text{Interest}+\text{Profit}+\text{Taxes}-\text{Subsidies}+\text{Depreciation}\) | Adds income earned from production. |
| Production approach | \(GDP=\text{Gross Value Added}+\text{Taxes}-\text{Subsidies}\) | Adds value added and adjusts for product taxes and subsidies. |
| Real GDP | \(\text{Real GDP}=\frac{\text{Nominal GDP}}{\text{GDP Deflator}}\times100\) | Removes the effect of price changes. |
| GDP growth | \(\text{Growth}=\frac{\text{Current GDP}-\text{Previous GDP}}{\text{Previous GDP}}\times100\) | Compares output between two periods. |
| GDP per capita | \(\text{GDP per capita}=\frac{GDP}{\text{Population}}\) | Divides total output by population. |
| GDP deflator | \(\text{GDP Deflator}=\frac{\text{Nominal GDP}}{\text{Real GDP}}\times100\) | Measures the economy-wide price level relative to the base year. |
Calculator Modes
| Mode | Core input | Best use |
|---|---|---|
| Expenditure approach | C + I + G + X - M | Best for learning the main GDP formula. |
| Income approach | Wages, rent, interest, profits, taxes, subsidies, depreciation | Shows who earns income from production. |
| Production approach | Gross value added plus taxes minus subsidies | Avoids double-counting intermediate goods. |
| Real GDP | Nominal GDP adjusted by deflator | Separates output growth from inflation. |
| GDP growth | Current vs previous GDP | Measures expansion or contraction. |
| GDP per capita | GDP divided by population | Useful for broad living-standard comparisons. |
| GDP deflator | Nominal GDP divided by real GDP | Shows economy-wide price-level change. |
| Sector contribution | Agriculture, industry, services, technology, energy, government | Shows the structure of production. |
| Country comparison | World Bank top-50 data | Compares GDP, population, GDP per capita, and real growth. |
Top 50 Countries by GDP
The table below ranks countries by nominal GDP in current U.S. dollars using World Bank data for 2024. Population, GDP per capita, and real GDP growth come from related World Bank WDI indicators.
| Rank | Country | GDP | Population | GDP per capita | Real growth |
|---|---|---|---|---|---|
| 1 | United States (USA) | US$ 28.75T | 340,110,988 | US$ 84,534 | 2.79% |
| 2 | China (CHN) | US$ 18.74T | 1,408,975,000 | US$ 13,303 | 4.98% |
| 3 | Germany (DEU) | US$ 4.69T | 83,516,593 | US$ 56,104 | -0.50% |
| 4 | Japan (JPN) | US$ 4.03T | 123,975,371 | US$ 32,487 | 0.10% |
| 5 | India (IND) | US$ 3.91T | 1,450,935,791 | US$ 2,695 | 6.49% |
| 6 | United Kingdom (GBR) | US$ 3.69T | 69,226,000 | US$ 53,246 | 1.13% |
| 7 | France (FRA) | US$ 3.16T | 68,551,653 | US$ 46,103 | 1.19% |
| 8 | Italy (ITA) | US$ 2.38T | 58,952,704 | US$ 40,385 | 0.69% |
| 9 | Canada (CAN) | US$ 2.24T | 41,288,599 | US$ 54,340 | 1.55% |
| 10 | Brazil (BRA) | US$ 2.19T | 211,998,573 | US$ 10,311 | 3.42% |
| 11 | Russian Federation (RUS) | US$ 2.17T | 143,533,851 | US$ 15,145 | 4.34% |
| 12 | Korea, Rep. (KOR) | US$ 1.88T | 51,751,065 | US$ 36,239 | 2.00% |
| 13 | Mexico (MEX) | US$ 1.86T | 130,861,007 | US$ 14,186 | 1.43% |
| 14 | Australia (AUS) | US$ 1.76T | 27,196,812 | US$ 64,604 | 1.37% |
| 15 | Spain (ESP) | US$ 1.73T | 48,848,840 | US$ 35,327 | 3.46% |
| 16 | Indonesia (IDN) | US$ 1.4T | 283,487,931 | US$ 4,925 | 5.03% |
| 17 | Turkiye (TUR) | US$ 1.36T | 85,518,661 | US$ 15,893 | 3.33% |
| 18 | Saudi Arabia (SAU) | US$ 1.24T | 35,300,280 | US$ 35,122 | 2.00% |
| 19 | Netherlands (NLD) | US$ 1.21T | 17,993,485 | US$ 67,520 | 1.08% |
| 20 | Switzerland (CHE) | US$ 936.56B | 9,005,582 | US$ 103,998 | 1.30% |
| 21 | Poland (POL) | US$ 917.77B | 36,559,233 | US$ 25,104 | 3.03% |
| 22 | Belgium (BEL) | US$ 671.37B | 11,858,610 | US$ 56,615 | 1.07% |
| 23 | Argentina (ARG) | US$ 638.37B | 45,696,159 | US$ 13,970 | -1.34% |
| 24 | Ireland (IRL) | US$ 609.16B | 5,395,790 | US$ 112,895 | 2.60% |
| 25 | Sweden (SWE) | US$ 603.72B | 10,569,709 | US$ 57,117 | 0.82% |
| 26 | United Arab Emirates (ARE) | US$ 552.32B | 10,986,400 | US$ 50,274 | 3.99% |
| 27 | Singapore (SGP) | US$ 547.39B | 6,036,860 | US$ 90,674 | 4.39% |
| 28 | Israel (ISR) | US$ 540.38B | 9,974,400 | US$ 54,177 | 0.87% |
| 29 | Austria (AUT) | US$ 534.79B | 9,177,982 | US$ 58,269 | -0.66% |
| 30 | Thailand (THA) | US$ 526.52B | 71,668,011 | US$ 7,347 | 2.54% |
| 31 | Norway (NOR) | US$ 483.59B | 5,572,279 | US$ 86,785 | 2.10% |
| 32 | Viet Nam (VNM) | US$ 476.39B | 100,987,686 | US$ 4,717 | 7.09% |
| 33 | Iran, Islamic Rep. (IRN) | US$ 475.25B | 91,567,738 | US$ 5,190 | 3.66% |
| 34 | Philippines (PHL) | US$ 461.62B | 115,843,670 | US$ 3,985 | 5.69% |
| 35 | Bangladesh (BGD) | US$ 450.12B | 173,562,364 | US$ 2,593 | 4.22% |
| 36 | Denmark (DNK) | US$ 424.52B | 5,976,992 | US$ 71,026 | 3.48% |
| 37 | Malaysia (MYS) | US$ 422.23B | 35,557,673 | US$ 11,874 | 5.11% |
| 38 | Colombia (COL) | US$ 418.82B | 52,886,363 | US$ 7,919 | 1.60% |
| 39 | Hong Kong SAR, China (HKG) | US$ 406.86B | 7,524,100 | US$ 54,075 | 2.50% |
| 40 | South Africa (ZAF) | US$ 401.14B | 64,007,187 | US$ 6,267 | 0.53% |
| 41 | Egypt, Arab Rep. (EGY) | US$ 389.06B | 116,538,258 | US$ 3,338 | 2.40% |
| 42 | Romania (ROU) | US$ 382.56B | 19,051,804 | US$ 20,080 | 0.92% |
| 43 | Pakistan (PAK) | US$ 371.57B | 251,269,164 | US$ 1,479 | 3.05% |
| 44 | Czechia (CZE) | US$ 347.03B | 10,905,028 | US$ 31,823 | 1.23% |
| 45 | Chile (CHL) | US$ 330.27B | 19,764,771 | US$ 16,710 | 2.64% |
| 46 | Portugal (PRT) | US$ 313.27B | 10,694,681 | US$ 29,292 | 2.14% |
| 47 | Finland (FIN) | US$ 298.7B | 5,619,911 | US$ 53,150 | 0.42% |
| 48 | Kazakhstan (KAZ) | US$ 291.48B | 20,592,571 | US$ 14,155 | 5.00% |
| 49 | Peru (PER) | US$ 289.22B | 34,217,848 | US$ 8,452 | 3.30% |
| 50 | Iraq (IRQ) | US$ 279.64B | 46,042,015 | US$ 6,074 | -1.55% |
Nominal GDP vs Real GDP
Nominal GDP is measured at current prices, so it can rise because production increased, prices increased, or both. Real GDP adjusts for price-level changes and is usually better for comparing output across years.
The GDP deflator is a broad price index. If nominal GDP is 5.5 trillion and real GDP is 5.0 trillion, then the deflator is \(\frac{5.5}{5.0}\times100=110\), which means the price level is about 10% above the base year.
GDP Growth Interpretation
| Growth rate | Interpretation |
|---|---|
| Negative | Economic contraction. |
| 0% | No measured GDP growth. |
| 1% to 2% | Slow positive growth. |
| 2% to 4% | Moderate growth in many mature economies. |
| 5% to 7% | Fast growth, common in some emerging or rebound periods. |
| 8%+ | Very rapid growth that needs inflation, base-year, and boom-cycle context. |
GDP vs GNP, GNI, NDP, PPP, and Related Measures
| Measure | Meaning |
|---|---|
| GDP | Output produced within a country or economy. |
| GNP | Output produced by residents or nationals, including abroad. |
| GNI | Income received by residents from domestic and foreign sources. |
| NDP | GDP minus depreciation. |
| Nominal GDP | GDP measured at current market prices. |
| Real GDP | GDP adjusted for inflation or price-level change. |
| GDP per capita | GDP divided by population. |
| PPP GDP | GDP adjusted for purchasing power parity. |
GDP Limitations
| GDP does not directly measure | Why it matters |
|---|---|
| Income inequality | GDP can rise while gains are unevenly distributed. |
| Wellbeing and happiness | GDP does not directly measure quality of life. |
| Environmental damage | GDP can count production without deducting sustainability costs. |
| Unpaid work | Household labor and volunteer work are often outside GDP. |
| Informal economy | Unrecorded production may be missed. |
| Public service quality | GDP does not show whether healthcare or education outcomes improved. |
| Cost of living | Nominal GDP does not show affordability. |
| Wealth distribution | GDP is an output flow, not a balance sheet of wealth. |
Common GDP Calculation Mistakes
| Mistake | Why it matters |
|---|---|
| Adding imports | Imports are subtracted because they are produced abroad. |
| Confusing GDP with government budget | Government spending is only one component of GDP. |
| Confusing GDP with national wealth | GDP measures production during a period, not total assets. |
| Mixing units | Do not combine billions and trillions without conversion. |
| Mixing nominal and real GDP | Nominal values include price changes; real values adjust for inflation. |
| Using population incorrectly | GDP per capita requires GDP and population from the same period. |
| Ignoring PPP | International living-standard comparisons often need PPP-adjusted data. |
| Double-counting intermediate goods | Production GDP should use value added, not every sales receipt. |
For inflation-adjusted comparisons, use this calculator with the Inflation Calculator. For exchange-rate presentation, compare with the Currency Converter.
Keep the research moving with Inflation Calculator, Currency Converter, Percentage Calculator, and CAGR Calculator.
Frequently Asked Questions
Related Calculators
Inflation Calculator
Adjust money values for inflation when comparing nominal and real purchasing power.
Use Inflation CalculatorCurrency Converter
Convert GDP or GDP per capita estimates into another currency for presentation.
Use Currency ConverterPercentage Calculator
Calculate percentage change, shares, and ratios used in GDP component analysis.
Use Percentage CalculatorCAGR Calculator
Measure compound annual growth when GDP changes across several years.
Use CAGR CalculatorSources & References
- 1.World Bank - GDP (current US$), indicator NY.GDP.MKTP.CD(Accessed May 2026)
- 2.World Bank - GDP growth (annual %), indicator NY.GDP.MKTP.KD.ZG(Accessed May 2026)
- 3.World Bank - Population, total, indicator SP.POP.TOTL(Accessed May 2026)
- 4.World Bank Data Help Desk - Indicator API queries(Accessed May 2026)
- 5.U.S. Bureau of Economic Analysis - Expenditures approach(Accessed May 2026)