Skip to content

Economy of Germany vs Spain compared: GDP & Debt

Updated on by Georank

Germany has a GDP of $5.05T compared to $1.91T for Spain, ranking 3/197 and 12/197 by economy size, respectively.

Germany has $3.18T in government debt (62.9% of GDP), compared to $1.91T (100.4% of GDP) in Spain.

Germany vs Spain GDP by year

Germany
Spain
1x
Year GDP, current $
Germany Spain
2025 $5,050,922,925,047 $1,906,453,309,986
2024 $4,685,592,577,805 $1,725,671,652,742
2023 $4,562,207,532,490 $1,619,481,980,720
2022 $4,201,021,706,479 $1,448,850,658,407
2021 $4,355,251,953,411 $1,461,244,901,853
2020 $3,941,398,957,074 $1,289,783,836,971
2019 $3,959,894,794,039 $1,403,496,387,686
2018 $4,055,433,215,302 $1,431,642,809,327
2017 $3,765,351,626,106 $1,321,754,088,819
2016 $3,536,787,895,179 $1,243,015,667,917
2015 $3,425,099,578,746 $1,206,164,777,553
2014 $3,964,870,735,761 $1,380,244,561,362
2013 $3,807,023,797,051 $1,362,186,923,158
2012 $3,596,483,233,406 $1,330,994,811,670
2011 $3,823,575,803,794 $1,487,568,659,241
2010 $3,467,093,769,667 $1,427,989,078,917
2009 $3,478,545,516,684 $1,496,587,590,848
2008 $3,808,197,720,125 $1,636,115,447,613
2007 $3,484,056,680,855 $1,476,746,276,855
2006 $3,046,308,753,671 $1,261,846,683,275
2005 $2,893,393,187,362 $1,154,667,551,776
2004 $2,852,317,768,062 $1,069,829,382,515
2003 $2,534,715,518,349 $907,963,217,058
2002 $2,102,350,798,306 $708,938,227,244
2001 $1,966,381,496,642 $627,798,682,379
2000 $1,966,980,701,145 $598,102,854,756
1999 $2,213,873,468,587 $634,394,904,387
1998 $2,247,760,364,566 $618,731,484,575
1997 $2,218,790,886,533 $589,739,772,727
1996 $2,506,576,553,158 $642,251,412,058
1995 $2,593,053,091,306 $614,170,002,669
1994 $2,215,282,632,277 $530,183,651,720
1993 $2,078,954,217,438 $524,700,572,624
1992 $2,141,377,582,968 $630,465,353,486
1991 $1,875,792,575,133 $576,753,902,322
1990 $1,778,162,195,860 $536,175,326,477
1989 $1,404,092,925,205 $414,460,794,097
1988 $1,406,367,016,372 $375,891,716,898
1987 $1,302,932,318,825 $318,520,253,335
1986 $1,050,092,624,516 $251,141,555,186
1985 $735,218,723,093 $180,664,322,896
1984 $727,767,760,979 $171,979,977,230
1983 $773,507,930,295 $170,829,074,246
1982 $779,421,633,755 $195,856,752,991
1981 $803,404,797,058 $202,663,023,968
1980 $953,772,499,462 $232,600,556,974
1979 $884,574,218,333 $214,448,666,336
1978 $743,182,891,918 $160,484,969,618
1977 $602,698,323,086 $132,354,665,936
1976 $521,658,712,133 $118,422,534,195
1975 $492,434,094,920 $114,695,060,870
1974 $446,934,971,657 $97,204,522,642
1973 $399,833,571,167 $78,583,355,226
1972 $300,899,944,795 $59,090,176,029
1971 $250,900,942,397 $46,586,119,760
1970 $216,629,229,947 $40,963,715,237
1969 $177,733,486,326 $37,090,689,288
1968 $156,527,292,653 $32,394,326,464
1967 $145,100,667,773 $32,570,905,397
1966 $143,304,275,684 $29,559,436,183
1965 $134,774,688,191 $25,479,619,607
1964 $123,330,404,665 $21,966,876,027
1963 $112,232,503,744 $19,631,714,760
1962 $105,895,435,234 $16,609,632,791
1961 $96,558,204,043 $14,238,126,760
1960 $84,619,845,881 $12,424,514,014

Data sources: World Bank | Economy & Growth (1960–2025, retrieved 2026-07-08).

GeoRank.org/economy/germany/spain | CC BY

GDP per capita in Germany vs Spain by year

Germany
GDP per capita

GDP per capita, PPP
Spain
GDP per capita

GDP per capita, PPP
1x
Year Current $
Germany Spain
GDP per capita GDP per capita, PPP GDP per capita GDP per capita, PPP
2025 $60,496 - $38,627 -
2024 $56,104 $73,552 $35,327 $57,965
2023 $54,777 $71,684 $33,493 $55,682
2022 $50,507 $69,049 $30,319 $51,399
2021 $52,349 $62,531 $30,799 $44,252
2020 $47,395 $58,686 $27,234 $39,328
2019 $47,656 $59,271 $29,787 $44,043
2018 $48,916 $56,273 $30,602 $41,015
2017 $45,554 $54,110 $28,381 $39,825
2016 $42,949 $51,570 $26,756 $37,613
2015 $41,930 $48,545 $25,982 $35,229
2014 $48,960 $47,939 $29,708 $33,761
2013 $47,207 $45,889 $29,229 $32,614
2012 $44,718 $44,229 $28,456 $31,870
2011 $47,631 $43,398 $31,825 $32,016
2010 $42,397 $39,726 $30,659 $31,805
2009 $42,472 $37,574 $32,280 $32,218
2008 $46,379 $38,444 $35,603 $33,350
2007 $42,351 $36,914 $32,652 $32,536
2006 $36,980 $34,741 $28,422 $30,749
2005 $35,084 $32,314 $26,451 $27,630
2004 $34,567 $31,753 $24,925 $26,160
2003 $30,711 $30,301 $21,522 $25,057
2002 $25,487 $29,514 $17,111 $24,378
2001 $23,878 $28,674 $15,368 $22,952
2000 $23,926 $27,474 $14,743 $21,582
1999 $26,965 $26,518 $15,708 $19,938
1998 $27,396 $25,446 $15,382 $19,083
1997 $27,047 $24,649 $14,722 $17,903
1996 $30,600 $24,169 $16,101 $16,971
1995 $31,747 $23,631 $15,461 $16,276
1994 $27,202 $22,869 $13,406 $15,582
1993 $25,617 $21,900 $13,330 $14,973
1992 $26,560 $21,746 $16,101 $14,855
1991 $23,443 $21,001 $14,801 $14,461
1990 $22,386 $19,468 $13,795 $13,676
1989 $17,829 - $10,674 -
1988 $17,997 - $9,696 -
1987 $16,739 - $8,234 -
1986 $13,511 - $6,509 -
1985 $9,464 - $4,696 -
1984 $9,347 - $4,487 -
1983 $9,900 - $4,475 -
1982 $9,950 - $5,156 -
1981 $10,246 - $5,367 -
1980 $12,183 - $6,204 -
1979 $11,322 - $5,766 -
1978 $9,517 - $4,353 -
1977 $7,711 - $3,625 -
1976 $6,659 - $3,277 -
1975 $6,259 - $3,208 -
1974 $5,660 - $2,748 -
1973 $5,065 - $2,246 -
1972 $3,824 - $1,708 -
1971 $3,204 - $1,361 -
1970 $2,771 - $1,211 -
1969 $2,281 - $1,109 -
1968 $2,025 - $978 -
1967 $1,886 - $997 -
1966 $1,871 - $916 -
1965 $1,774 - $797 -
1964 $1,637 - $695 -
1963 $1,502 - $627 -
1962 $1,431 - $535 -
1961 $1,316 - $463 -
1960 $1,162 - $408 -

Data sources: World Bank | Economy & Growth (1960–2025, retrieved 2026-07-08).

GeoRank.org/economy/germany/spain | CC BY

Germany's GDP per capita is $60,496, ranking 18/197, compared to $38,627 in Spain, ranking 31/197. Adjusted for purchasing power (GDP per capita PPP), Germany ranks 20th at $73,552, while Spain ranks 34th at $57,965.

Economic indicators

Germany Spain
Gross domestic product
$5.05T
2025
$1.91T
2025
GDP rank
3/197
2025
12/197
2025
GDP growth
0.24%
2024-2025
2.82%
2024-2025
GDP per capita
$60,496
2025
$38,627
2025
GDP per capita rank
18/197
2025
31/197
2025
GDP per capita, PPP
$73,552
2024
$57,965
2024
GDP per capita PPP rank
20/197
2024
34/197
2024
Government debt
$3.18T
2025
$1.91T
2025
Debt-to-GDP ratio
62.9%
2025
100.4%
2025
Government debt per person
$38,071
2025
$38,794
2025
Government debt per person rank
21/185
2025
20/185
2025
Average annual personal income after taxes
$40,352
2026
$24,910
2026
Market capitalization of domestic companies
$2.9T
2025
$1.3T
2025
Number of millionaires
2,648,000
2026
1,077,000
2026
Number of billionaires
212
2026
34
2026
Income share by richest 10%
26.2%
2022
24.5%
2023
Income share by poorest 10%
2.3%
2022
2.2%
2023
Government expenditure, % of GDP
50.5%
2025
44.7%
2025
Consumer prices inflation
2.17%
2024-2025
2.7%
2024-2025
Unemployment rate
3.8%
2025
10.5%
2025
Population
82830814
49323658

Spending and national debt comparison by year

Germany
Spending

Debt
Spain
Spending

Debt
1x
Year % of GDP
Germany Spain
Government spending Government debt Government spending Government debt
2025 50.5% 62.9% 44.7% 100.4%
2024 49.4% 62.2% 45.5% 101.6%
2023 48.1% 62.3% 45.4% 105.1%
2022 48.6% 64.4% 46.3% 109.2%
2021 50.7% 67.9% 49.5% 115.6%
2020 51.1% 68% 51.4% 119.2%
2019 45.5% 58.7% 42% 97.6%
2018 44.7% 60.8% 41.5% 99.7%
2017 44.5% 64% 41% 101.1%
2016 44.7% 68.3% 42.1% 102%
2015 44.5% 71.2% 43.7% 102.4%
2014 44.5% 74.5% 45.1% 104.4%
2013 45.2% 77.5% 46.2% 100%
2012 45.1% 79.8% 49.2% 89.6%
2011 45.3% 78.5% 45.9% 69.5%
2010 48.1% 81% 45.8% 60.3%
2009 48.3% 72.4% 46.1% 53.1%
2008 44.4% 65.2% 41.3% 39.6%
2007 43.5% 63.7% 39.2% 35.7%
2006 45.3% 66.4% 38.4% 39%
2005 46.9% 67.1% 38.4% 42.4%
2004 47% 65% 38.8% 45.3%
2003 48.5% 63.3% 38.4% 47.7%
2002 48.2% 59.8% 38.6% 51.2%
2001 47.7% 58.1% 38.4% 54.1%
2000 48.1% 59.2% 39.1% 57.8%
1999 48.5% 60.3% 40% 60.9%
1998 48.3% 59.4% 41% 62.4%
1997 48.8% 58.8% 41.5% 64.3%
1996 49.6% 57.7% 42.9% 65.4%
1995 55.2% 54.9% 44.1% 61.6%
1994 48.3% 47.5% 44.8% 57%
1993 48.3% 45.1% 46.3% 54.6%
1992 47.4% 41.4% 43.9% 44.1%
1991 46.5% 39% 42.6% 41.9%
1990 44.7% 40.7% 41.1% 41.3%
1989 44.3% 39.2% 32.1% 39.2%
1988 45.6% 40.5% 28.6% 38.2%
1987 46% 40.1% 31.1% 42.1%
1986 45.7% 39.1% 28.4% 36.5%
1985 46.6% 39.2% 27.6% 31.5%
1984 47.2% 38.7% 27% 18.3%
1983 47.9% 38% 26% 13.4%
1982 49.1% 36.4% 21.5% 12%
1981 49% 33.6% 18.1% 10.9%
1980 48.2% 30.1% 16.3% 10.2%
1979 47.4% 28.2% 14.3% 9.88%
1978 47.7% 27.4% 14.3% 9.93%
1977 49% 26% 12.8% 8.75%
1976 49.4% 25.1% 11.5% 8.21%
1975 50.3% 23.7% 11.4% 11.9%
1974 46% 18.5% 11.4% 13.6%
1973 42.4% 17.3% 9.88% 16.3%
1972 41.8% 18% 12.5% 17.6%
1971 40.9% 17.7% 14% 17.9%
1970 39.5% 17.7% 12.3% 19.2%
1969 29.7% 20.3% 12.3% 18.8%
1968 28.5% 22.5% 12.8% 18.3%
1967 28.8% 22.5% 12.5% 17.6%
1966 28.3% 19.8% 11.8% 17.7%
1965 28.4% 18.7% 14% 18.1%
1964 29% 18.2% 12.7% 19.5%
1963 29.1% 18.1% 12.4% 21%
1962 29.2% 17.6% 10.6% 24.4%
1961 28.8% 18.7% 9.97% 26.7%
1960 22.9% 18.4% 11% 29.4%

Data sources: International Monetary Fund (IMF) | Fiscal Monitor (1990–2025, retrieved 2026-07-08); International Monetary Fund (IMF) | Public Finances in Modern History (1960–1990, retrieved 2026-07-08).

GeoRank.org/economy/germany/spain | CC BY

In 2025, Germany's government spending was $2.55T, accounting for 50.5% of its GDP, while Spain spent $852B, or 44.7% of GDP.

Debt-to-GDP ratio is 62.9% in Germany and 100.4% in Spain, ranking 70/185 and 25/185, respectively.

Government deficit by year

Deficit/surplus
Germany

Spain
1x
Year Deficit/surplus, % of GDP
Germany Spain
2025 -2.67% -2.5%
2024 -2.66% -3.22%
2023 -2.49% -3.34%
2022 -1.91% -4.59%
2021 -3.17% -6.66%
2020 -4.38% -10%
2019 1.33% -3.04%
2018 1.88% -2.58%
2017 1.34% -3.1%
2016 1.13% -4.26%
2015 0.91% -5.26%
2014 0.73% -6.07%
2013 0.12% -7.49%
2012 -0.05% -11.5%
2011 -0.84% -9.69%
2010 -4.42% -9.49%
2009 -3.18% -11.2%
2008 -0.26% -4.56%
2007 0.15% 1.88%
2006 -1.76% 2.12%
2005 -3.37% 1.23%
2004 -3.42% -0.1%
2003 -3.83% -0.37%
2002 -4.09% -0.32%
2001 -3.12% -0.45%
2000 -1.71% -1.16%
1999 -1.87% -1.24%
1998 -2.65% -2.63%
1997 -3.03% -3.86%
1996 -3.64% -5.87%
1995 -9.44% -6.79%
1994 -2.54% -6.31%
1993 -3.11% -6.89%
1992 -2.63% -4.26%
1991 -3.21% -4.58%
1990 -1.94% -3.9%
1989 0.08% -3.24%
1988 -2.02% -2.95%
1987 -1.85% -3.52%
1986 -1.18% -5.18%
1985 -1.18% -6.04%
1984 -2.04% -5.25%
1983 -2.95% -4.77%
1982 -3.56% -5.76%
1981 -4.03% -2.88%
1980 -3.02% -2.55%
1979 -2.71% -1.51%
1978 -2.62% -1.63%
1977 -2.56% -0.24%
1976 -3.5% 0.43%
1975 -5.78% 0.26%
1974 -1.69% 0.11%
1973 1.14% 1.09%
1972 -0.37% 0.24%
1971 0.16% -0.96%
1970 0.53% 0.09%
1969 -0.43% -0.06%
1968 1.39% -0.55%
1967 2.73% -0.32%
1966 1.76% 0.07%
1965 2.26% -0.04%
1964 1.49% 0.18%
1963 1.43% -0.54%
1962 0.49% 1.27%
1961 -0.12% 1.9%
1960 -0.34% 0.69%
1959 0.77% 0.54%
1958 1.77% 0.23%
1957 1.99% 1.13%
1956 0.59% -0.05%
1955 -1.41% 0.6%
1954 -0.37% 0.7%
1953 -0.13% 1.02%
1952 0% 0.81%
1951 1.15% -0.24%
1950 1.81% -0.44%
1949 - -0.35%
1948 - -1.21%
1947 - -1.09%
1946 - -2.24%
1945 - -4.56%
1944 - -5.44%
1943 - -7.73%
1942 - -2.48%
1941 - -4.34%
1940 - -3.54%
1939 - -
1938 - -
1937 - -
1936 - -
1935 - -0.49%
1934 -0.64% -1.17%
1933 -0.43% -0.72%
1932 -1.11% -0.3%
1931 -1.03% 0.1%
1930 -1.52% 0.3%
1929 -0.9% -0.07%
1928 -1.47% -0.31%
1927 -0.44% -0.54%
1926 -1.3% -0.65%
1925 0.34% -1.19%
1924 - -1.76%
1923 - -1.89%
1922 - -2.26%
1921 - -3.33%
1920 - -2.4%
1919 - -1.82%
1918 - -1.8%
1917 - -1.49%
1916 - -1.15%
1915 - -2.97%
1914 - -1.04%
1913 0.007% -0.09%
1912 -0.26% -0.33%
1911 0.06% 0.19%
1910 -0.21% 0.09%
1909 0.11% -0.29%
1908 -0.11% 0.59%
1907 -0.14% 0.66%
1906 0.76% 0.91%
1905 1.21% 0.71%
1904 0.41% 0.52%
1903 0.88% 0.28%
1902 0.08% 0.74%
1901 0.91% 0.69%
1900 0.27% 1.04%
1899 0.6% 2.75%
1898 0.47% 0.13%
1897 0.39% -0.64%
1896 0.63% 0.46%
1895 0.47% 0.83%
1894 0.44% -0.08%
1893 0.42% 0.87%
1892 -0.24% -0.67%
1891 1.18% -0.41%
1890 0.12% -0.4%
1889 1.16% -0.38%
1888 0.62% -0.97%
1887 0.88% -0.73%
1886 0.23% -0.08%
1885 0.21% -0.78%
1884 0.23% -0.23%
1883 0.55% -0.38%
1882 0.41% 0.38%
1881 0.12% 0.08%
1880 -0.13% -0.02%
1879 - -0.52%
1878 - -0.08%
1877 - 0.11%
1876 - 0.1%
1875 - -1.42%
1874 - -0.1%
1873 - 2.22%
1872 - -2.27%
1871 - -2.64%
1870 - -3.42%
1869 - -2.64%
1868 - -1.46%
1867 - -0.79%
1866 - -0.83%
1865 - -1.84%
1864 - -2.48%
1863 - -1.55%
1862 - -1.76%
1861 - -1.77%
1860 - -0.94%
1859 - 0.39%
1858 - -0.44%
1857 - -0.41%
1856 - -0.46%
1855 - -0.76%
1854 - -0.32%
1853 - -0.02%
1852 - -0.11%
1851 - -0.25%
1850 - 0.31%

Data sources: International Monetary Fund (IMF) | Public Finances in Modern History (1850–1990, retrieved 2026-07-08); International Monetary Fund (IMF) | Fiscal Monitor (1990–2025, retrieved 2026-07-08).

GeoRank.org/economy/germany/spain | CC BY

In 2025, Germany's government deficit, the difference between spending and revenue, was $135B, equivalent to 2.67% of GDP. This compares to Spain's deficit of $47.6B, or 2.5% of GDP.

Over the past 66 years, Germany recorded a fiscal deficit in 47 of those years, while Spain ran a deficit in 52 years. On average, Germany posted an annual deficit equal to 1.55% of GDP, compared to deficit of 2.94% of GDP for Spain.

Inflation comparison by year

Inflation
Germany

Spain
1x
Year Consumer prices inflation
Germany Spain
2025 2.17% 2.7%
2024 2.26% 2.75%
2023 5.95% 3.53%
2022 6.87% 8.39%
2021 3.07% 3.09%
2020 0.14% -0.32%
2019 1.45% 0.7%
2018 1.73% 1.67%
2017 1.51% 1.96%
2016 0.49% -0.2%
2015 0.51% -0.5%
2014 0.91% -0.15%
2013 1.5% 1.41%
2012 2.01% 2.45%
2011 2.08% 3.2%
2010 1.1% 1.8%
2009 0.31% -0.29%
2008 2.63% 4.08%
2007 2.3% 2.79%
2006 1.58% 3.52%
2005 1.55% 3.37%
2004 1.67% 3.04%
2003 1.03% 3.04%
2002 1.42% 3.07%
2001 1.98% 3.59%
2000 1.44% 3.43%
1999 0.59% 2.31%
1998 0.91% 1.83%
1997 1.94% 1.97%

Data sources: World Bank | Economy & Growth (1997–2025, retrieved 2026-07-08).

GeoRank.org/economy/germany/spain | CC BY

Over the past 29 years, Germany has recorded an average annual inflation rate of 1.83%, compared with 2.35% in Spain. In 2025, inflation was 2.17% in Germany and 2.7% in Spain.

Top exports between countries

Germany
Export category Export value
Machinery & equipment $37.3B
Chemicals & pharma $11.2B
Business & finance services $4.93B
Textiles & consumer goods $4.45B
Metals $4.29B
Transport & tourism services $3.49B
Processed food, beverages & tobacco $3.03B
IT & IP services $2.62B
Raw materials & minerals $1.63B
Wood & paper products $1.25B
Spain
Export category Export value
Machinery & equipment $18.9B
Transport & tourism services $16.3B
Raw agricultural goods $7.22B
Chemicals & pharma $6.92B
Business & finance services $3.85B
Metals $3.27B
Textiles & consumer goods $3.09B
IT & IP services $2.55B
Processed food, beverages & tobacco $2.29B
Raw materials & minerals $1.6B

Balance of trade

Germany Spain
Current account balance
$228B
2025
$56B
2025
Current account balance ranking
2/190
2025
12/190
2025
Current account balance, % of GDP
+4.51%
2025
+2.94%
2025
Goods imports
$1.32T
2025
$499B
2025
Goods exports
$1.53T
2025
$443B
2025
Service imports
$602B
2025
$127B
2025
Service exports
$518B
2025
$256B
2025
Imports of goods and services, % of GDP
38.1%
2025
32.8%
2025
Exports of goods and services, % of GDP
40.4%
2025
36.6%
2025

Economic freedom indices

The indices of economic freedom below are issued by the Heritage Foundation. Higher scores indicate stronger economic health.

Germany Spain
Economic freedom 71.7 66.8
Economic freedom ranking 30/197 59/197
Property rights 95.5 88
Government integrity 84.5 64.2
Judicial effectiveness 94.6 74.3
Tax burden 60.5 58.2
Government spending 28.8 37.3
Fiscal health 83.1 57.3
Business freedom 79.8 82.6
Labor freedom 52.2 61.7
Monetary freedom 72.5 78.2
Trade freedom 79.4 79.4
Investment freedom 60 60
Financial freedom 70 60

Economic freedom comparison by year

Germany
Spain
1x
Year Economic freedom index
Germany Spain
2026 71.7 66.8
2025 71.6 66.3
2024 72.1 63.3
2023 73.7 65
2022 76.1 68.2
2021 72.5 69.9
2020 73.5 66.9
2019 73.5 65.7
2018 74.2 65.1
2017 73.8 63.6
2016 74.4 68.5
2015 73.8 67.6
2014 73.4 67.2
2013 72.8 68
2012 71 69.1
2011 71.8 70.2
2010 71.1 69.6
2009 70.5 70.1
2008 70.6 69.1
2007 70.8 69.2
2006 70.8 68.2
2005 68.1 67
2004 69.5 68.9
2003 69.7 68.8
2002 70.4 68.8
2001 69.5 68.1
2000 65.7 65.9
1999 65.6 65.1
1998 64.3 62.6
1997 67.5 59.6
1996 69.1 59.6
1995 69.8 62.8

Data sources: The Heritage Foundation | Economic Freedom Index (1995–2026, retrieved 2026-07-08).

GeoRank.org/economy/germany/spain | CC BY

The Economic Freedom Index for Germany is 71.7, ranking 30/197, compared to 66.8 for Spain, ranking 59/197. The chart above displays a comparison of annual changes in economic freedom indexes.

Other economic metrics

Germany Spain
Services, % of GDP
64.5%
2025
68.4%
2025
Industry, % of GDP
25.2%
2025
19.6%
2025
Agriculture, forestry, and fishing, % of GDP
0.87%
2025
2.68%
2025
GNI, Atlas method
$5.03T
2025
$1.83T
2025
GNI per capita, PPP
$78,140
2025
$59,830
2025
Total reserves including gold
$572B
2025
$129B
2025
Total reserves ranking
7/177
2025
23/177
2025
Net foreign direct investment
$12.9B
2025
$18.3B
2025
Net inflows of foreign direct investment
$62.6B
2024
$42.8B
2024
Net outflows of foreign direct investment
$87B
2024
$71.5B
2024
Poverty at national poverty lines
14.8%
2021
20.2%
2022
Gross capital formation, % of GDP
21.9%
2025
21.4%
2025

GDP per capita map

1x

Data sources: World Bank | Economy & Growth (1985–2025, retrieved 2026-07-08); U.S. Census Bureau (1985–2025, retrieved 2026-07-08).

GeoRank.org/economy/germany/spain | CC BY

Compare countries by 7 more topics

Help us show the world through your eyes

Share a photo of your city and help others discover what it looks like to live there. Your contribution makes our data come alive.

Data sources:

  1. World Bank | Economy & Growth (1960–2025, retrieved 2026-07-08)
  2. International Monetary Fund (IMF) | Public Finances in Modern History (1850–1990, retrieved 2026-07-08)
  3. International Monetary Fund (IMF) | Fiscal Monitor (1990–2025, retrieved 2026-07-08)
  4. The Heritage Foundation | Economic Freedom Index (1995–2026, retrieved 2026-07-08)
  5. U.S. Census Bureau (1985–2025, retrieved 2026-07-08)
  6. TradeMap (2023–2025, retrieved 2026-07-08)
  7. United Nations | World Population Prospects (2026, retrieved 2026-07-08)
  8. LivingCost (2026, retrieved 2026-07-08)

Creative Commons Attribution (CC BY) — you’re free to copy, share, remix, adapt, and use even commercially as long as you give appropriate credit and clearly indicate if you made changes. Other sources may be subject to different license terms.

The current account balance is the sum of net trade in goods and services, net earnings from cross-border investments, and net transfer payments. It reflects a country's economic transactions with the rest of the world and is a fundamental component of the balance of payments. A surplus indicates that a country exports more than it imports, while a deficit shows the opposite.

Gross National Income (GNI) measures a country's total income. It encompasses income earned by residents, businesses, and foreign sources, defined as employee compensation and investment profits. GNI adds product taxes not included elsewhere and subtracts subsidies. It accounts for income from residents working abroad but excludes earnings from foreigners within the country.

A negative value for Net Foreign Direct Investment indicates a country is a net receiver of investments, as foreign inflows exceed outflows after Balance of Payments adjustments. A positive value indicates a net provider, with outflows exceeding inflows. Inflows are credits (increasing foreign claims on domestic assets), while outflows are debits (increasing domestic assets abroad).

Foreign direct investment (FDI, net inflows) shows how much capital foreign investors bring into a country after accounting for any funds that flow back in the opposite direction. It represents the net value of overseas companies establishing, expanding, or financing businesses in the reporting country. A positive number means more capital entered the country than was withdrawn, while a negative number means foreign investors pulled out more than they invested.

Foreign direct investment (FDI, net outflows) shows how much capital residents of a country invest abroad after accounting for any funds that flow back in the opposite direction. It represents the net value of domestic companies establishing, expanding, or financing businesses in other countries. A positive number means more capital was invested abroad than withdrawn, while a negative number means residents pulled back more than they invested.

Formerly gross domestic investment, gross capital formation measures the share of a country’s economic output invested in fixed assets, including buildings, machinery, and infrastructure. It indicates how much of the economy is devoted to building productive capacity.