Skip to content

Economy of Spain vs Switzerland compared: GDP & Debt

Updated on by Georank

Spain has a GDP of $1.91T compared to $1.04T for Switzerland, ranking 12/197 and 20/197 by economy size, respectively.

Spain has $1.91T in government debt (100.4% of GDP), compared to $411B (39.4% of GDP) in Switzerland.

Spain vs Switzerland GDP by year

Spain
Switzerland
1x
Year GDP, current $
Spain Switzerland
2025 $1,906,453,309,986 $1,043,529,899,251
2024 $1,725,671,652,742 $969,919,786,395
2023 $1,619,481,980,720 $928,435,275,852
2022 $1,448,850,658,407 $858,479,038,994
2021 $1,461,244,901,853 $840,710,023,481
2020 $1,289,783,836,971 $756,096,180,222
2019 $1,403,496,387,686 $736,384,764,157
2018 $1,431,642,809,327 $740,766,531,454
2017 $1,321,754,088,819 $706,660,443,624
2016 $1,243,015,667,917 $698,607,778,795
2015 $1,206,164,777,553 $706,199,008,879
2014 $1,380,244,561,362 $741,168,119,617
2013 $1,362,186,923,158 $718,748,402,260
2012 $1,330,994,811,670 $697,882,536,677
2011 $1,487,568,659,241 $727,231,637,102
2010 $1,427,989,078,917 $609,999,593,542
2009 $1,496,587,590,848 $563,659,557,945
2008 $1,636,115,447,613 $574,703,945,157
2007 $1,476,746,276,855 $498,993,845,385
2006 $1,261,846,683,275 $448,364,681,767
2005 $1,154,667,551,776 $424,511,048,024
2004 $1,069,829,382,515 $409,012,909,530
2003 $907,963,217,058 $366,563,952,625
2002 $708,938,227,244 $313,930,961,761
2001 $627,798,682,379 $290,160,142,214
2000 $598,102,854,756 $282,327,351,966
1999 $634,394,904,387 $301,911,268,140
1998 $618,731,484,575 $306,907,741,068
1997 $589,739,772,727 $298,868,250,534
1996 $642,251,412,058 $345,373,647,249
1995 $614,170,002,669 $358,152,520,085
1994 $530,183,651,720 $305,916,331,798
1993 $524,700,572,624 $276,339,744,180
1992 $630,465,353,486 $284,139,428,246
1991 $576,753,902,322 $272,953,645,746
1990 $536,175,326,477 $269,768,238,555
1989 $414,460,794,097 $211,241,694,480
1988 $375,891,716,898 $218,788,504,066
1987 $318,520,253,335 $202,238,567,597
1986 $251,141,555,186 $161,487,171,049
1985 $180,664,322,896 $112,652,623,418
1984 $171,979,977,230 $111,104,641,869
1983 $170,829,074,246 $116,361,728,836
1982 $195,856,752,991 $116,776,899,473
1981 $202,663,023,968 $113,936,168,924
1980 $232,600,556,974 $124,404,609,417
1979 $214,448,666,336 $116,702,524,208
1978 $160,484,969,618 $103,821,687,919
1977 $132,354,665,936 $74,237,819,014
1976 $118,422,534,195 $69,508,364,538
1975 $114,695,060,870 $66,452,559,176
1974 $97,204,522,642 $57,963,469,607
1973 $78,583,355,226 $50,296,651,921
1972 $59,090,176,029 $37,399,508,287
1971 $46,586,119,760 $30,492,832,676
1970 $40,963,715,237 $25,374,750,743
1969 $37,090,689,288 $22,780,211,812
1968 $32,394,326,464 $21,024,203,656
1967 $32,570,905,397 $19,689,329,510
1966 $29,559,436,183 $18,290,928,227
1965 $25,479,619,607 $17,033,079,428
1964 $21,966,876,027 $16,071,715,835
1963 $19,631,714,760 $14,499,109,270
1962 $16,609,632,791 $13,185,384,691
1961 $14,238,126,760 $11,889,851,950
1960 $12,424,514,014 $10,569,129,806

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

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
2025 $38,627 - $114,769 -
2024 $35,327 $57,965 $107,702 $96,498
2023 $33,493 $55,682 $104,450 $95,142
2022 $30,319 $51,399 $97,809 $94,421
2021 $30,799 $44,252 $96,583 $81,001
2020 $27,234 $39,328 $87,530 $72,998
2019 $29,787 $44,043 $85,873 $73,732
2018 $30,602 $41,015 $87,002 $70,689
2017 $28,381 $39,825 $83,610 $68,194
2016 $26,756 $37,613 $83,432 $67,351
2015 $25,982 $35,229 $85,265 $65,265
2014 $29,708 $33,761 $90,512 $63,417
2013 $29,229 $32,614 $88,851 $61,656
2012 $28,456 $31,870 $87,270 $59,441
2011 $31,825 $32,016 $91,910 $57,494
2010 $30,659 $31,805 $77,956 $54,426
2009 $32,280 $32,218 $72,788 $52,999
2008 $35,603 $33,350 $75,148 $53,809
2007 $32,652 $32,536 $66,082 $50,928
2006 $28,422 $30,749 $59,910 $46,266
2005 $26,451 $27,630 $57,080 $41,525
2004 $24,925 $26,160 $55,350 $40,171
2003 $21,522 $25,057 $49,947 $38,732
2002 $17,111 $24,378 $43,094 $38,705
2001 $15,368 $22,952 $40,134 $37,819
2000 $14,743 $21,582 $39,298 $36,703
1999 $15,708 $19,938 $42,261 $34,743
1998 $15,382 $19,083 $43,166 $33,860
1997 $14,722 $17,903 $42,160 $32,736
1996 $16,101 $16,971 $48,838 $31,509
1995 $15,461 $16,276 $50,869 $30,842
1994 $13,406 $15,582 $43,741 $30,265
1993 $13,330 $14,973 $39,828 $29,495
1992 $16,101 $14,855 $41,327 $29,113
1991 $14,801 $14,461 $40,140 $28,792
1990 $13,795 $13,676 $40,171 $28,461
1989 $10,674 - $31,780 -
1988 $9,696 - $33,183 -
1987 $8,234 - $30,899 -
1986 $6,509 - $24,828 -
1985 $4,696 - $17,411 -
1984 $4,487 - $17,247 -
1983 $4,475 - $18,128 -
1982 $5,156 - $18,271 -
1981 $5,367 - $17,931 -
1980 $6,204 - $19,686 -
1979 $5,766 - $18,541 -
1978 $4,353 - $16,528 -
1977 $3,625 - $11,819 -
1976 $3,277 - $11,029 -
1975 $3,208 - $10,484 -
1974 $2,748 - $9,140 -
1973 $2,246 - $7,974 -
1972 $1,708 - $5,973 -
1971 $1,361 - $4,908 -
1970 $1,211 - $4,105 -
1969 $1,109 - $3,712 -
1968 $978 - $3,465 -
1967 $997 - $3,286 -
1966 $916 - $3,091 -
1965 $797 - $2,908 -
1964 $695 - $2,776 -
1963 $627 - $2,546 -
1962 $535 - $2,366 -
1961 $463 - $2,188 -
1960 $408 - $1,984 -

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

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

Spain's GDP per capita is $38,627, ranking 31/197, compared to $114,769 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.91T
2025
$1.04T
2025
GDP rank
12/197
2025
20/197
2025
GDP growth
2.82%
2024-2025
1.3%
2024-2025
GDP per capita
$38,627
2025
$114,769
2025
GDP per capita rank
31/197
2025
5/197
2025
GDP per capita, PPP
$57,965
2024
$96,498
2024
GDP per capita PPP rank
34/197
2024
8/197
2024
Government debt
$1.91T
2025
$411B
2025
Debt-to-GDP ratio
100.4%
2025
39.4%
2025
Government debt per person
$38,794
2025
$45,239
2025
Government debt per person rank
20/185
2025
12/185
2025
Average annual personal income after taxes
$24,910
2026
$89,347
2026
Market capitalization of domestic companies
$1.3T
2025
$2.51T
2025
Number of millionaires
1,077,000
2026
944,000
2026
Number of billionaires
34
2026
45
2026
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
44.7%
2025
31.2%
2025
Consumer prices inflation
2.7%
2024-2025
0.15%
2024-2025
Central bank interest rate n/a
0%
2025
Unemployment rate
10.5%
2025
4.84%
2025
Population
49323658
9155878

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
2025 44.7% 100.4% 31.2% 39.4%
2024 45.5% 101.6% 31.3% 40.5%
2023 45.4% 105.1% 30.9% 37.3%
2022 46.3% 109.2% 30.5% 35.9%
2021 49.5% 115.6% 33.4% 39.7%
2020 51.4% 119.2% 36.3% 42.4%
2019 42% 97.6% 31.3% 38.8%
2018 41.5% 99.7% 31.1% 39%
2017 41% 101.1% 31.9% 41.1%
2016 42.1% 102% 31.9% 40.3%
2015 43.7% 102.4% 31.9% 41.4%
2014 45.1% 104.4% 31.5% 41.2%
2013 46.2% 100% 32% 41.2%
2012 49.2% 89.6% 31.1% 41.9%
2011 45.9% 69.5% 31% 41.2%
2010 45.8% 60.3% 30.9% 40.7%
2009 46.1% 53.1% 31.2% 42.4%
2008 41.3% 39.6% 29.6% 44.2%
2007 39.2% 35.7% 29% 44%
2006 38.4% 39% 30.1% 47.7%
2005 38.4% 42.4% 31.9% 54.1%
2004 38.8% 45.3% 32.6% 57.1%
2003 38.4% 47.7% 32.8% 56.2%
2002 38.6% 51.2% 33.6% 56.9%
2001 38.4% 54.1% 31.2% 50.5%
2000 39.1% 57.8% 31.9% 51.7%
1999 40% 60.9% 32.8% 52%
1998 41% 62.4% 32.3% 55.3%
1997 41.5% 64.3% 32.5% 52.9%
1996 42.9% 65.4% 32.5% 50.6%
1995 44.1% 61.6% 32% 49.3%
1994 44.8% 57% 32% 46.4%
1993 46.3% 54.6% 31.9% 43.7%
1992 43.9% 44.1% 30.8% 38.9%
1991 42.6% 41.9% 29% 34.6%
1990 41.1% 41.3% 27.2% 32.8%
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–2025, retrieved 2026-07-08); International Monetary Fund (IMF) | Public Finances in Modern History (1960–1989, retrieved 2026-07-08).

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

In 2025, Spain's government spending was $852B, accounting for 44.7% of its GDP, while Switzerland spent $326B, or 31.2% of GDP.

Debt-to-GDP ratio is 100.4% in Spain and 39.4% in Switzerland, ranking 25/185 and 136/185, respectively.

Government deficit by year

Deficit/surplus
Spain

Switzerland
1x
Year Deficit/surplus, % of GDP
Spain Switzerland
2025 -2.5% 0.45%
2024 -3.22% 0.53%
2023 -3.34% 0.12%
2022 -4.59% 1.15%
2021 -6.66% -0.28%
2020 -10% -2.96%
2019 -3.04% 1.31%
2018 -2.58% 1.26%
2017 -3.1% 1.11%
2016 -4.26% 0.23%
2015 -5.26% 0.54%
2014 -6.07% -0.24%
2013 -7.49% -0.42%
2012 -11.5% 0.23%
2011 -9.69% 0.67%
2010 -9.49% 0.35%
2009 -11.2% 0.49%
2008 -4.56% 1.91%
2007 1.88% 1.55%
2006 2.12% 0.83%
2005 1.23% -0.64%
2004 -0.1% -1.37%
2003 -0.37% -1.34%
2002 -0.32% -1.72%
2001 -0.45% 0.2%
2000 -1.16% 0.28%
1999 -1.24% -1.55%
1998 -2.63% -1.29%
1997 -3.86% -2.3%
1996 -5.87% -1.98%
1995 -6.79% -1.83%
1994 -6.31% -2.55%
1993 -6.89% -3.1%
1992 -4.26% -2.92%
1991 -4.58% -1.82%
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-07-08); International Monetary Fund (IMF) | Fiscal Monitor (1990–2025, retrieved 2026-07-08).

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

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

Over the past 66 years, Spain recorded a fiscal deficit in 52 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.47% of GDP for Switzerland.

Inflation comparison by year

Inflation
Spain

Switzerland
1x
Year Consumer prices inflation
Spain Switzerland
2025 2.7% 0.15%
2024 2.75% 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–2025, retrieved 2026-07-08).

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

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

Top exports between countries

Spain
Export category Export value
Transport & tourism services $3.06B
Chemicals & pharma $2.69B
Business & finance services $2.47B
Machinery & equipment $1.19B
Raw agricultural goods $572M
Processed food, beverages & tobacco $430M
Textiles & consumer goods $414M
Precious metals & jewellery $292M
Metals $183M
Manufacturing & construction services $149M
Switzerland
Export category Export value
Chemicals & pharma $3.78B
Machinery & equipment $1.53B
IT & IP services $945M
Precious metals & jewellery $840M
Business & finance services $675M
Transport & tourism services $505M
Raw agricultural goods $263M
Metals $168M
Processed food, beverages & tobacco $164M
Textiles & consumer goods $164M

Balance of trade

Spain Switzerland
Current account balance
$56B
2025
$72.9B
2025
Current account balance ranking
12/190
2025
11/190
2025
Current account balance, % of GDP
+2.94%
2025
+6.98%
2025
Goods imports
$499B
2025
$508B
2025
Goods exports
$443B
2025
$617B
2025
Service imports
$127B
2025
$214B
2025
Service exports
$256B
2025
$195B
2025
Imports of goods and services, % of GDP
32.8%
2025
69.1%
2025
Exports of goods and services, % of GDP
36.6%
2025
78.1%
2025

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-07-08).

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.4%
2025
71.7%
2025
Industry, % of GDP
19.6%
2025
25%
2025
Agriculture, forestry, and fishing, % of GDP
2.68%
2025
0.64%
2025
GNI, Atlas method
$1.83T
2025
$1T
2025
GNI per capita, PPP
$59,830
2025
$101,690
2025
Total reserves including gold
$129B
2025
$1.08T
2025
Total reserves ranking
23/177
2025
4/177
2025
Net foreign direct investment
$18.3B
2025
$37.6B
2025
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.4%
2025
29.5%
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/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–2025, retrieved 2026-07-08)
  2. International Monetary Fund (IMF) | Public Finances in Modern History (1850–1989, 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.