Skip to content

Economy of Spain vs Switzerland compared: GDP & Debt

Updated on by Georank team

Spain has a GDP of $1.73T compared to $937B for Switzerland, ranking 15/197 and 20/197 by economy size, respectively.

Spain has $1.75T in government debt (101.6% of GDP), compared to $351B (37.5% of GDP) in Switzerland.

Spain vs Switzerland GDP by year

Spain
Switzerland
1x
Year GDP, current $
Spain Switzerland
2024 $1,725,671,652,742 $936,564,198,049
2023 $1,619,481,980,720 $894,424,821,645
2022 $1,448,850,658,407 $828,508,926,958
2021 $1,461,244,901,853 $815,309,330,987
2020 $1,289,783,836,971 $741,999,406,006
2019 $1,403,496,387,686 $721,369,112,727
2018 $1,431,642,809,327 $725,568,717,468
2017 $1,321,754,088,819 $695,200,833,086
2016 $1,243,015,667,917 $687,895,460,903
2015 $1,206,164,777,553 $694,118,186,380
2014 $1,380,244,561,362 $726,537,808,338
2013 $1,362,186,923,158 $706,234,937,371
2012 $1,330,994,811,670 $686,420,221,558
2011 $1,487,568,659,241 $715,888,126,682
2010 $1,427,989,078,917 $598,851,028,907
2009 $1,496,587,590,848 $554,212,916,092
2008 $1,636,115,447,613 $567,267,767,519
2007 $1,476,746,276,855 $490,740,715,595
2006 $1,261,846,683,275 $441,634,672,197
2005 $1,154,667,551,776 $418,284,865,885
2004 $1,069,829,382,515 $403,912,891,033
2003 $907,963,217,058 $362,075,086,508
2002 $708,938,227,244 $309,301,422,430
2001 $627,798,682,379 $286,582,672,434
2000 $598,102,854,756 $279,216,033,870
1999 $634,394,904,387 $297,873,643,323
1998 $618,731,484,575 $303,459,014,347
1997 $589,739,772,727 $294,788,198,856
1996 $642,251,412,058 $340,103,959,547
1995 $614,170,002,669 $352,835,806,342
1994 $530,183,651,720 $301,375,055,202
1993 $524,700,572,624 $272,237,527,071
1992 $630,465,353,486 $279,921,425,828
1991 $576,753,902,322 $268,901,693,863
1990 $536,175,326,477 $265,763,573,999
1989 $414,460,794,097 $208,105,846,934
1988 $375,891,716,898 $215,540,625,299
1987 $318,520,253,335 $199,236,370,038
1986 $251,141,555,186 $159,089,921,063
1985 $180,664,322,896 $110,980,314,192
1984 $171,979,977,230 $109,455,312,168
1983 $170,829,074,246 $114,634,358,535
1982 $195,856,752,991 $115,043,365,512
1981 $202,663,023,968 $112,244,805,519
1980 $232,600,556,974 $122,557,843,886
1979 $214,448,666,336 $114,970,094,425
1978 $160,484,969,618 $102,280,472,036
1977 $132,354,665,936 $73,135,771,167
1976 $118,422,534,195 $68,476,524,644
1975 $114,695,060,870 $65,466,081,819
1974 $97,204,522,642 $57,103,011,446
1973 $78,583,355,226 $49,550,006,320
1972 $59,090,176,029 $36,844,318,854
1971 $46,586,119,760 $30,040,171,751
1970 $40,963,715,237 $24,998,066,773
1969 $37,090,689,288 $22,442,043,274
1968 $32,394,326,464 $20,712,102,794
1967 $32,570,905,397 $19,397,044,714
1966 $29,559,436,183 $18,019,402,374
1965 $25,479,619,607 $16,780,226,225
1964 $21,966,876,027 $15,833,133,858
1963 $19,631,714,760 $14,283,872,299
1962 $16,609,632,791 $12,989,649,694
1961 $14,238,126,760 $11,713,348,834
1960 $12,424,514,014 $10,412,232,621

Data sources: World Bank | Economy & Growth (1960–2024, retrieved 2026-04-06).

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

GDP per capita in Spain vs Switzerland by year

Spain
GDP per capita

GDP per capita, PPP
Switzerland
GDP per capita

GDP per capita, PPP
1x
Year Current $
Spain Switzerland
GDP per capita GDP per capita, PPP GDP per capita GDP per capita, PPP
2024 $35,327 $57,965 $103,998 $96,498
2023 $33,493 $55,682 $100,624 $95,142
2022 $30,319 $51,399 $94,395 $94,421
2021 $30,799 $44,252 $93,665 $81,001
2020 $27,234 $39,328 $85,898 $72,998
2019 $29,787 $44,043 $84,122 $73,732
2018 $30,602 $41,015 $85,217 $70,689
2017 $28,381 $39,825 $82,254 $68,194
2016 $26,756 $37,613 $82,153 $67,351
2015 $25,982 $35,229 $83,806 $65,265
2014 $29,708 $33,761 $88,725 $63,417
2013 $29,229 $32,614 $87,304 $61,656
2012 $28,456 $31,870 $85,836 $59,441
2011 $31,825 $32,016 $90,477 $57,494
2010 $30,659 $31,805 $76,531 $54,426
2009 $32,280 $32,218 $71,568 $52,999
2008 $35,603 $33,350 $74,175 $53,809
2007 $32,652 $32,536 $64,989 $50,928
2006 $28,422 $30,749 $59,011 $46,266
2005 $26,451 $27,630 $56,243 $41,525
2004 $24,925 $26,160 $54,659 $40,171
2003 $21,522 $25,057 $49,336 $38,732
2002 $17,111 $24,378 $42,459 $38,705
2001 $15,368 $22,952 $39,639 $37,819
2000 $14,743 $21,582 $38,865 $36,703
1999 $15,708 $19,938 $41,696 $34,743
1998 $15,382 $19,083 $42,681 $33,860
1997 $14,722 $17,903 $41,584 $32,736
1996 $16,101 $16,971 $48,093 $31,509
1995 $15,461 $16,276 $50,114 $30,842
1994 $13,406 $15,582 $43,092 $30,265
1993 $13,330 $14,973 $39,237 $29,495
1992 $16,101 $14,855 $40,714 $29,113
1991 $14,801 $14,461 $39,544 $28,792
1990 $13,795 $13,676 $39,575 $28,461
1989 $10,674 - $31,309 -
1988 $9,696 - $32,690 -
1987 $8,234 - $30,441 -
1986 $6,509 - $24,460 -
1985 $4,696 - $17,152 -
1984 $4,487 - $16,991 -
1983 $4,475 - $17,859 -
1982 $5,156 - $18,000 -
1981 $5,367 - $17,665 -
1980 $6,204 - $19,394 -
1979 $5,766 - $18,266 -
1978 $4,353 - $16,282 -
1977 $3,625 - $11,644 -
1976 $3,277 - $10,865 -
1975 $3,208 - $10,328 -
1974 $2,748 - $9,005 -
1973 $2,246 - $7,856 -
1972 $1,708 - $5,885 -
1971 $1,361 - $4,835 -
1970 $1,211 - $4,044 -
1969 $1,109 - $3,657 -
1968 $978 - $3,413 -
1967 $997 - $3,237 -
1966 $916 - $3,045 -
1965 $797 - $2,865 -
1964 $695 - $2,735 -
1963 $627 - $2,508 -
1962 $535 - $2,330 -
1961 $463 - $2,155 -
1960 $408 - $1,954 -

Data sources: World Bank | Economy & Growth (1960–2024, retrieved 2026-04-06).

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

Spain's GDP per capita is $35,327, ranking 32/197, compared to $103,998 in Switzerland, ranking 5/197. Adjusted for purchasing power (GDP per capita PPP), Spain ranks 34th at $57,965, while Switzerland ranks 8th at $96,498.

Economic indicators

Spain Switzerland
Gross domestic product
$1.73T
2024
$937B
2024
GDP rank
15/197
2024
20/197
2024
GDP growth
3.46%
2023-2024
1.3%
2023-2024
GDP per capita
$35,327
2024
$103,998
2024
GDP per capita rank
32/197
2024
5/197
2024
GDP per capita, PPP
$57,965
2024
$96,498
2024
GDP per capita PPP rank
34/197
2024
8/197
2024
Government debt
$1.75T
2024
$351B
2024
Debt-to-GDP ratio
101.6%
2024
37.5%
2024
Government debt per person
$35,909
2024
$39,021
2024
Government debt per person rank
20/185
2024
15/185
2024
Average annual personal income after taxes
$25,470
2026
$85,867
2026
Market capitalization of domestic companies
$754B
2024
$1.97T
2024
Number of millionaires
1,202,000
2025
1,119,000
2025
Number of billionaires
34
2025
42
2025
Income share by richest 10%
24.5%
2023
26.6%
2022
Income share by poorest 10%
2.2%
2023
2.9%
2022
Government expenditure, % of GDP
45.3%
2024
31.9%
2024
Consumer prices inflation
2.77%
2023-2024
1.06%
2023-2024
Central bank interest rate n/a
0%
2025
Unemployment rate
11.3%
2024
4.34%
2024
Population
48806901
9107866

Spending and national debt comparison by year

Spain
Spending

Debt
Switzerland
Spending

Debt
1x
Year % of GDP
Spain Switzerland
Government spending Government debt Government spending Government debt
2024 45.3% 101.6% 31.9% 37.5%
2023 45.5% 105.1% 32.1% 38.7%
2022 46.4% 109.2% 31.6% 37.2%
2021 49.5% 115.6% 34.4% 41%
2020 51.4% 119.2% 37% 43.2%
2019 42% 97.6% 32% 39.6%
2018 41.5% 99.7% 31.7% 39.8%
2017 41% 101.1% 32.4% 41.8%
2016 42.1% 102% 32.4% 40.9%
2015 43.7% 102.4% 32.5% 42.2%
2014 45.1% 104.4% 32.2% 42.1%
2013 46.2% 100% 32.5% 41.9%
2012 49.2% 89.6% 31.7% 42.6%
2011 45.9% 69.5% 31.4% 41.9%
2010 45.8% 60.3% 31.4% 41.5%
2009 46.1% 53.1% 31.8% 43.1%
2008 41.3% 39.6% 30% 44.8%
2007 39.2% 35.7% 29.4% 44.8%
2006 38.4% 39% 30.5% 48.5%
2005 38.4% 42.4% 32.4% 54.9%
2004 38.8% 45.3% 33.1% 57.8%
2003 38.4% 47.7% 33.2% 56.9%
2002 38.6% 51.2% 34.1% 57.7%
2001 38.4% 54.1% 31.6% 51.1%
2000 39.1% 57.8% 32.2% 52.2%
1999 40% 60.9% 33.2% 52.7%
1998 41% 62.4% 32.7% 55.9%
1997 41.5% 64.3% 32.9% 53.7%
1996 42.9% 65.4% 33% 51.3%
1995 44.1% 61.6% 32.4% 50%
1994 44.8% 57% 32.5% 47.1%
1993 46.3% 54.6% 32.5% 44.4%
1992 43.9% 44.1% 31.3% 39.5%
1991 42.6% 41.9% 29.5% 35.1%
1990 41.1% 41.3% 27.6% 33.3%
1989 32.1% 39.2% 30% 32.5%
1988 28.6% 38.2% 30.3% 35%
1987 31.1% 42.1% 29.8% 36.5%
1986 28.4% 36.5% 29.8% 37.6%
1985 27.6% 31.5% 30.1% 39.1%
1984 27% 18.3% 30.4% 39.8%
1983 26% 13.4% 31.2% 40.2%
1982 21.5% 12% 30.5% 40%
1981 18.1% 10.9% 29.4% 40.8%
1980 16.3% 10.2% 29.9% 43.9%
1979 14.3% 9.88% 30.5% 44.6%
1978 14.3% 9.93% 30.4% 46.6%
1977 12.8% 8.75% 31% 46.9%
1976 11.5% 8.21% 31.6% 46.7%
1975 11.4% 11.9% 29.3% 42.3%
1974 11.4% 13.6% 27.5% 38.4%
1973 9.88% 16.3% 26.5% 37%
1972 12.5% 17.6% 25.7% 38%
1971 14% 17.9% 25.4% 38.7%
1970 12.3% 19.2% 25.8% 38.9%
1969 12.3% 18.8% 9.45% 7.08%
1968 12.8% 18.3% 8.87% 6.99%
1967 12.5% 17.6% 8.68% 7.26%
1966 11.8% 17.7% 8.95% 7.62%
1965 14% 18.1% 8.33% 8.28%
1964 12.7% 19.5% 8.85% 9.43%
1963 12.4% 21% 8.2% 10.8%
1962 10.6% 24.4% 8.1% 12%
1961 9.97% 26.7% 7.97% 14%
1960 11% 29.4% 7.11% 16.2%

Data sources: International Monetary Fund (IMF) | Fiscal Monitor (1990–2024, retrieved 2026-02-20); International Monetary Fund (IMF) | Public Finances in Modern History (1960–1989, retrieved 2026-02-20).

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

In 2024, Spain's government spending was $782B, accounting for 45.3% of its GDP, while Switzerland spent $299B, or 31.9% of GDP.

Debt-to-GDP ratio is 101.6% in Spain and 37.5% in Switzerland, ranking 21/185 and 141/185, respectively.

Government deficit by year

Deficit/surplus
Spain

Switzerland
1x
Year Deficit/surplus, % of GDP
Spain Switzerland
2024 -3.15% 0.58%
2023 -3.52% 0.12%
2022 -4.63% 1.19%
2021 -6.66% -0.29%
2020 -10% -3.01%
2019 -3.04% 1.34%
2018 -2.58% 1.29%
2017 -3.1% 1.13%
2016 -4.26% 0.24%
2015 -5.26% 0.55%
2014 -6.07% -0.25%
2013 -7.49% -0.43%
2012 -11.5% 0.24%
2011 -9.69% 0.68%
2010 -9.49% 0.35%
2009 -11.2% 0.5%
2008 -4.56% 1.93%
2007 1.88% 1.57%
2006 2.12% 0.85%
2005 1.23% -0.65%
2004 -0.1% -1.39%
2003 -0.37% -1.36%
2002 -0.32% -1.75%
2001 -0.45% 0.21%
2000 -1.16% 0.28%
1999 -1.24% -1.57%
1998 -2.63% -1.31%
1997 -3.86% -2.33%
1996 -5.87% -2.01%
1995 -6.79% -1.86%
1994 -6.31% -2.59%
1993 -6.89% -3.15%
1992 -4.26% -2.96%
1991 -4.58% -1.85%
1990 -3.9% -0.05%
1989 -3.24% 0.2%
1988 -2.95% 0.42%
1987 -3.52% 0.78%
1986 -5.18% 0.93%
1985 -6.04% -0.25%
1984 -5.25% -0.52%
1983 -4.77% -1.23%
1982 -5.76% -1.21%
1981 -2.88% -0.54%
1980 -2.55% -1.34%
1979 -1.51% -1.79%
1978 -1.63% -1.12%
1977 -0.24% -1.64%
1976 0.43% -1.89%
1975 0.26% -0.93%
1974 0.11% -1.01%
1973 1.09% -0.93%
1972 0.24% -1.39%
1971 -0.96% -1.41%
1970 0.09% -1.44%
1969 -0.06% -0.98%
1968 -0.55% -0.73%
1967 -0.32% -1.07%
1966 0.07% -0.87%
1965 -0.04% 0.05%
1964 0.18% 0.77%
1963 -0.54% 0.25%
1962 1.27% 0.95%
1961 1.9% 0.34%
1960 0.69% 1.95%
1959 0.54% 0.72%
1958 0.23% 0.59%
1957 1.13% 0.66%
1956 -0.05% 2.24%
1955 0.6% 1.1%
1954 0.7% 1.44%
1953 1.02% 0.38%
1952 0.81% -1.17%
1951 -0.24% -0.36%
1950 -0.44% 1.49%
1949 -0.35% 0.04%
1948 -1.21% 1.37%
1947 -1.09% 1.27%
1946 -2.24% 0.52%
1945 -4.56% -7.57%
1944 -5.44% -9.37%
1943 -7.73% -8.55%
1942 -2.48% -7.28%
1941 -4.34% -8.78%
1940 -3.54% -10%
1939 - -5.05%
1938 - -1.53%
1937 - -0.17%
1936 - -0.33%
1935 -0.49% -0.23%
1934 -1.17% -0.33%
1933 -0.72% -0.88%
1932 -0.3% -0.3%
1931 0.1% 0.03%
1930 0.3% 0.07%
1929 -0.07% 0.22%
1928 -0.31% -
1927 -0.54% -
1926 -0.65% -
1925 -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.09% -0.12%
1912 -0.33% 0.03%
1911 0.19% -0.006%
1910 0.09% -0.14%
1909 -0.29% -0.78%
1908 0.59% -0.1%
1907 0.66% -0.02%
1906 0.91% 0.15%
1905 0.71% 0.41%
1904 0.52% 0.002%
1903 0.28% 0.09%
1902 0.74% 0.02%
1901 0.69% -0.14%
1900 1.04% -0.07%
1899 2.75% 0.1%
1898 0.13% -
1897 -0.64% -
1896 0.46% -
1895 0.83% -
1894 -0.08% -
1893 0.87% -
1892 -0.67% -
1891 -0.41% -
1890 -0.4% -
1889 -0.38% -
1888 -0.97% -
1887 -0.73% -
1886 -0.08% -
1885 -0.78% -
1884 -0.23% -
1883 -0.38% -
1882 0.38% -
1881 0.08% -
1880 -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–1989, retrieved 2026-02-20); International Monetary Fund (IMF) | Fiscal Monitor (1990–2024, retrieved 2026-02-20).

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

In 2024, Spain's government deficit, the difference between spending and revenue, was $54.3B, equivalent to 3.15% of GDP. This compares to Switzerland's surplus of $5.4B, or 0.58% of GDP.

Over the past 65 years, Spain recorded a fiscal deficit in 51 of those years, while Switzerland ran a deficit in 38 years. On average, Spain posted an annual deficit equal to 2.94% of GDP, compared to deficit of 0.48% of GDP for Switzerland.

Inflation comparison by year

Inflation
Spain

Switzerland
1x
Year Consumer prices inflation
Spain Switzerland
2024 2.77% 1.06%
2023 3.53% 2.14%
2022 8.39% 2.84%
2021 3.09% 0.58%
2020 -0.32% -0.73%
2019 0.7% 0.36%
2018 1.67% 0.94%
2017 1.96% 0.53%
2016 -0.2% -0.43%
2015 -0.5% -1.14%
2014 -0.15% -0.01%
2013 1.41% -0.22%
2012 2.45% -0.69%
2011 3.2% 0.23%
2010 1.8% 0.69%
2009 -0.29% -0.48%
2008 4.08% 2.43%
2007 2.79% 0.73%
2006 3.52% 1.06%
2005 3.37% 1.17%
2004 3.04% 0.8%
2003 3.04% 0.64%
2002 3.07% 0.64%
2001 3.59% 0.99%
2000 3.43% 1.56%
1999 2.31% 0.81%
1998 1.83% 0.02%
1997 1.97% 0.52%

Data sources: World Bank | Economy & Growth (1997–2024, retrieved 2026-04-06).

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

Over the past 28 years, Spain has recorded an average annual inflation rate of 2.34%, compared with 0.61% in Switzerland. In 2024, inflation was 2.77% in Spain and 1.06% in Switzerland.

Top exports between countries

Spain
Export category Export value
Chemicals & pharma $3.14B
Transport & tourism services $1.66B
Machinery & equipment $1.17B
Raw agricultural goods $477M
Processed food, beverages & tobacco $371M
Textiles & consumer goods $301M
Precious metals & jewellery $168M
Metals $147M
Raw materials & minerals $79.4M
Miscellaneous $44.3M
Switzerland
Export category Export value
Chemicals & pharma $5B
Machinery & equipment $1.17B
IT & IP services $901M
Precious metals & jewellery $734M
Business & finance services $536M
Transport & tourism services $394M
Raw agricultural goods $244M
Processed food, beverages & tobacco $168M
Textiles & consumer goods $158M
Metals $147M

Balance of trade

Spain Switzerland
Current account balance
$54.9B
2024
$72B
2024
Current account balance ranking
13/190
2024
10/190
2024
Current account balance, % of GDP
+3.18%
2024
+7.69%
2024
Goods imports
$456B
2024
$371B
2024
Goods exports
$419B
2024
$502B
2024
Service imports
$111B
2024
$203B
2024
Service exports
$220B
2024
$186B
2024
Imports of goods and services, % of GDP
32.9%
2024
61.9%
2024
Exports of goods and services, % of GDP
37.1%
2024
72.2%
2024

Economic freedom indices

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

Spain Switzerland
Economic freedom 66.8 83.7
Economic freedom ranking 59/197 2/197
Property rights 88 94.4
Government integrity 64.2 93.3
Judicial effectiveness 74.3 98.3
Tax burden 58.2 70.9
Government spending 37.3 69.5
Fiscal health 57.3 97.2
Business freedom 82.6 86.3
Labor freedom 61.7 60
Monetary freedom 78.2 82.3
Trade freedom 79.4 87
Investment freedom 60 85
Financial freedom 60 80

Economic freedom comparison by year

Spain
Switzerland
1x
Year Economic freedom index
Spain Switzerland
2026 66.8 83.7
2025 66.3 83.7
2024 63.3 83
2023 65 83.8
2022 68.2 84.2
2021 69.9 81.9
2020 66.9 82
2019 65.7 81.9
2018 65.1 81.7
2017 63.6 81.5
2016 68.5 81
2015 67.6 80.5
2014 67.2 81.6
2013 68 81
2012 69.1 81.1
2011 70.2 81.9
2010 69.6 81.1
2009 70.1 79.4
2008 69.1 79.5
2007 69.2 78
2006 68.2 78.9
2005 67 79.3
2004 68.9 79.5
2003 68.8 79
2002 68.8 79.3
2001 68.1 76
2000 65.9 76.8
1999 65.1 79.1
1998 62.6 79
1997 59.6 78.6
1996 59.6 76.8
1995 62.8 -

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

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

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

Other economic metrics

Spain Switzerland
Services, % of GDP
68.9%
2024
72%
2024
Industry, % of GDP
19.5%
2024
24.7%
2024
Agriculture, forestry, and fishing, % of GDP
2.75%
2024
0.63%
2024
GNI, Atlas method
$1.64T
2024
$857B
2024
GNI per capita, PPP
$57,670
2024
$93,420
2024
Total reserves including gold
$108B
2024
$909B
2024
Total reserves ranking
26/177
2024
4/177
2024
Net foreign direct investment
$28.7B
2024
$59.7B
2024
Net inflows of foreign direct investment
$42.8B
2024
-$108B
2024
Net outflows of foreign direct investment
$71.5B
2024
-$27.9B
2024
Poverty at national poverty lines
20.2%
2022
15.8%
2021
Gross capital formation, % of GDP
21.2%
2024
27%
2024

GDP per capita map

1x

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

GeoRank.org/economy/spain/switzerland | 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–2024, retrieved 2026-04-06)
  2. International Monetary Fund (IMF) | Public Finances in Modern History (1850–1989, retrieved 2026-02-20)
  3. International Monetary Fund (IMF) | Fiscal Monitor (1990–2024, retrieved 2026-02-20)
  4. The Heritage Foundation | Economic Freedom Index (1995–2026, retrieved 2026-03-09)
  5. U.S. Census Bureau (1985–2024, retrieved 2026-02-08)
  6. TradeMap (2022–2024, retrieved 2026-02-08)
  7. United Nations | World Population Prospects (2026, retrieved 2026-03-10)
  8. LivingCost (2026, retrieved 2025-10-14)

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.