Spain ranked 15/197 by economy size with a GDP of $1.73T and 32/197 by GDP per capita at $35,327. Spain has $1.75T in government debt, with a debt-to-GDP ratio of 101.6%.
In 2024, Spain made up 1.55% of the world's economy, compared to 0.91% in 1960.
Spain GDP & GDP growth by year
| Year | GDP | GDP growth |
|---|---|---|
| 2024 | $1,725,671,652,742 | 3.46% |
| 2023 | $1,619,481,980,720 | 2.46% |
| 2022 | $1,448,850,658,407 | 6.37% |
| 2021 | $1,461,244,901,853 | 6.68% |
| 2020 | $1,289,783,836,971 | -10.9% |
| 2019 | $1,403,496,387,686 | 1.96% |
| 2018 | $1,431,642,809,327 | 2.4% |
| 2017 | $1,321,754,088,819 | 2.9% |
| 2016 | $1,243,015,667,917 | 2.92% |
| 2015 | $1,206,164,777,553 | 4.06% |
| 2014 | $1,380,244,561,362 | 1.52% |
| 2013 | $1,362,186,923,158 | -1.43% |
| 2012 | $1,330,994,811,670 | -2.87% |
| 2011 | $1,487,568,659,241 | -0.64% |
| 2010 | $1,427,989,078,917 | 0.09% |
| 2009 | $1,496,587,590,848 | -3.77% |
| 2008 | $1,636,115,447,613 | 0.77% |
| 2007 | $1,476,746,276,855 | 3.53% |
| 2006 | $1,261,846,683,275 | 4.04% |
| 2005 | $1,154,667,551,776 | 3.55% |
| 2004 | $1,069,829,382,515 | 3.11% |
| 2003 | $907,963,217,058 | 2.94% |
| 2002 | $708,938,227,244 | 2.76% |
| 2001 | $627,798,682,379 | 3.92% |
| 2000 | $598,102,854,756 | 5.2% |
| 1999 | $634,394,904,387 | 4.41% |
| 1998 | $618,731,484,575 | 4.3% |
| 1997 | $589,739,772,727 | 3.59% |
| 1996 | $642,251,412,058 | 2.61% |
| 1995 | $614,170,002,669 | 2.76% |
| 1994 | $530,183,651,720 | 2.38% |
| 1993 | $524,700,572,624 | -1.03% |
| 1992 | $630,465,353,486 | 0.93% |
| 1991 | $576,753,902,322 | 2.55% |
| 1990 | $536,175,326,477 | 3.78% |
| 1989 | $414,460,794,097 | 4.83% |
| 1988 | $375,891,716,898 | 5.09% |
| 1987 | $318,520,253,335 | 5.55% |
| 1986 | $251,141,555,186 | 3.25% |
| 1985 | $180,664,322,896 | 2.32% |
| 1984 | $171,979,977,230 | 1.78% |
| 1983 | $170,829,074,246 | 1.77% |
| 1982 | $195,856,752,991 | 1.25% |
| 1981 | $202,663,023,968 | -0.13% |
| 1980 | $232,600,556,974 | 2.21% |
| 1979 | $214,448,666,336 | 0.04% |
| 1978 | $160,484,969,618 | 1.46% |
| 1977 | $132,354,665,936 | 2.84% |
| 1976 | $118,422,534,195 | 3.3% |
| 1975 | $114,695,060,870 | 0.54% |
| 1974 | $97,204,522,642 | 5.62% |
| 1973 | $78,583,355,226 | 7.79% |
| 1972 | $59,090,176,029 | 8.15% |
| 1971 | $46,586,119,760 | 4.65% |
| 1970 | $40,963,715,237 | 4.24% |
| 1969 | $37,090,689,288 | 8.91% |
| 1968 | $32,394,326,464 | 6.6% |
| 1967 | $32,570,905,397 | 4.34% |
| 1966 | $29,559,436,183 | 7.25% |
| 1965 | $25,479,619,607 | 6.25% |
| 1964 | $21,966,876,027 | 5.31% |
| 1963 | $19,631,714,760 | 9.6% |
| 1962 | $16,609,632,791 | 9.95% |
| 1961 | $14,238,126,760 | 11.8% |
| 1960 | $12,424,514,014 | - |
Data sources: World Bank | Economy & Growth (1960–2024, retrieved 2026-04-06).
GeoRank.org/economy/spain | CC BY
Spain GDP per capita by year
| Year | Current $ | |
|---|---|---|
| GDP per capita | GDP per capita, PPP | |
| 2024 | $35,327 | $57,965 |
| 2023 | $33,493 | $55,682 |
| 2022 | $30,319 | $51,399 |
| 2021 | $30,799 | $44,252 |
| 2020 | $27,234 | $39,328 |
| 2019 | $29,787 | $44,043 |
| 2018 | $30,602 | $41,015 |
| 2017 | $28,381 | $39,825 |
| 2016 | $26,756 | $37,613 |
| 2015 | $25,982 | $35,229 |
| 2014 | $29,708 | $33,761 |
| 2013 | $29,229 | $32,614 |
| 2012 | $28,456 | $31,870 |
| 2011 | $31,825 | $32,016 |
| 2010 | $30,659 | $31,805 |
| 2009 | $32,280 | $32,218 |
| 2008 | $35,603 | $33,350 |
| 2007 | $32,652 | $32,536 |
| 2006 | $28,422 | $30,749 |
| 2005 | $26,451 | $27,630 |
| 2004 | $24,925 | $26,160 |
| 2003 | $21,522 | $25,057 |
| 2002 | $17,111 | $24,378 |
| 2001 | $15,368 | $22,952 |
| 2000 | $14,743 | $21,582 |
| 1999 | $15,708 | $19,938 |
| 1998 | $15,382 | $19,083 |
| 1997 | $14,722 | $17,903 |
| 1996 | $16,101 | $16,971 |
| 1995 | $15,461 | $16,276 |
| 1994 | $13,406 | $15,582 |
| 1993 | $13,330 | $14,973 |
| 1992 | $16,101 | $14,855 |
| 1991 | $14,801 | $14,461 |
| 1990 | $13,795 | $13,676 |
| 1989 | $10,674 | - |
| 1988 | $9,696 | - |
| 1987 | $8,234 | - |
| 1986 | $6,509 | - |
| 1985 | $4,696 | - |
| 1984 | $4,487 | - |
| 1983 | $4,475 | - |
| 1982 | $5,156 | - |
| 1981 | $5,367 | - |
| 1980 | $6,204 | - |
| 1979 | $5,766 | - |
| 1978 | $4,353 | - |
| 1977 | $3,625 | - |
| 1976 | $3,277 | - |
| 1975 | $3,208 | - |
| 1974 | $2,748 | - |
| 1973 | $2,246 | - |
| 1972 | $1,708 | - |
| 1971 | $1,361 | - |
| 1970 | $1,211 | - |
| 1969 | $1,109 | - |
| 1968 | $978 | - |
| 1967 | $997 | - |
| 1966 | $916 | - |
| 1965 | $797 | - |
| 1964 | $695 | - |
| 1963 | $627 | - |
| 1962 | $535 | - |
| 1961 | $463 | - |
| 1960 | $408 | - |
Data sources: World Bank | Economy & Growth (1960–2024, retrieved 2026-04-06).
GeoRank.org/economy/spain | CC BY
Spain has a GDP per capita of $35,327, ranking 32/197, a GDP per capita based on purchasing power parity (PPP) of $57,965, ranking 34/197, and a median annual after tax income of $25,470, ranking 31/197.
Spain GDP rankings by year
| Year | Rank | ||
|---|---|---|---|
| GDP | GDP per capita | GDP per capita, PPP | |
| 2024 | 15 | 29 | 30 |
| 2023 | 15 | 35 | 33 |
| 2022 | 15 | 38 | 36 |
| 2021 | 14 | 36 | 38 |
| 2020 | 14 | 33 | 39 |
| 2019 | 13 | 35 | 34 |
| 2018 | 14 | 35 | 34 |
| 2017 | 14 | 34 | 34 |
| 2016 | 13 | 33 | 35 |
| 2015 | 15 | 34 | 37 |
| 2014 | 14 | 33 | 37 |
| 2013 | 14 | 32 | 37 |
| 2012 | 14 | 34 | 38 |
| 2011 | 12 | 32 | 36 |
| 2010 | 12 | 32 | 35 |
| 2009 | 9 | 29 | 34 |
| 2008 | 10 | 30 | 33 |
| 2007 | 8 | 30 | 33 |
| 2006 | 9 | 31 | 31 |
| 2005 | 9 | 31 | 32 |
| 2004 | 8 | 30 | 32 |
| 2003 | 8 | 30 | 32 |
| 2002 | 10 | 31 | 34 |
| 2001 | 10 | 32 | 35 |
| 2000 | 11 | 33 | 35 |
| 1999 | 9 | 31 | 35 |
| 1998 | 10 | 30 | 35 |
| 1997 | 10 | 32 | 34 |
| 1996 | 9 | 30 | 34 |
| 1995 | 9 | 30 | 34 |
| 1994 | 10 | 30 | 35 |
| 1993 | 9 | 29 | 33 |
| 1992 | 7 | 26 | 33 |
| 1991 | 8 | 25 | 32 |
| 1990 | 8 | 26 | 34 |
| 1989 | 9 | 30 | - |
| 1988 | 9 | 29 | - |
| 1987 | 8 | 32 | - |
| 1986 | 10 | 33 | - |
| 1985 | 13 | 39 | - |
| 1984 | 13 | 39 | - |
| 1983 | 12 | 39 | - |
| 1982 | 11 | 38 | - |
| 1981 | 10 | 37 | - |
| 1980 | 9 | 32 | - |
| 1979 | 9 | 32 | - |
| 1978 | 9 | 34 | - |
| 1977 | 10 | 34 | - |
| 1976 | 10 | 34 | - |
| 1975 | 10 | 33 | - |
| 1974 | 11 | 35 | - |
| 1973 | 11 | 35 | - |
| 1972 | 10 | 35 | - |
| 1971 | 11 | 36 | - |
| 1970 | 12 | 36 | - |
| 1969 | 11 | 29 | - |
| 1968 | 12 | 29 | - |
| 1967 | 10 | 29 | - |
| 1966 | 10 | 29 | - |
| 1965 | 12 | 30 | - |
| 1964 | 13 | 31 | - |
| 1963 | 13 | 30 | - |
| 1962 | 14 | 33 | - |
| 1961 | 15 | 32 | - |
| 1960 | 16 | 35 | - |
Data sources: World Bank | Economy & Growth (1960–2024, retrieved 2026-04-06).
GeoRank.org/economy/spain | CC BY
Compared with 2000, in 2024 Spain is ranked 15th out of 182 by GDP (down from 11th), 29th by GDP per capita (up from 33rd), and 30th by GDP per capita PPP (up from 35th).
Economic indicators
|
|
Rank | |
|---|---|---|
| Gross domestic product |
$1.73T
2024 |
15/197 |
| GDP growth |
3.46%
2023-2024 |
92/194 |
| GDP per capita |
$35,327
2024 |
32/197 |
| GDP per capita, PPP |
$57,965
2024 |
34/197 |
| Government debt |
$1.75T
2024 |
11/185 |
| Debt-to-GDP ratio |
101.6%
2024 |
21/185 |
| Government debt per person |
$35,909
2024 |
20/185 |
| Average annual personal income after taxes |
$25,470
2026 |
31/197 |
| Listed domestic companies |
277
2024 |
29/103 |
| Market capitalization of domestic companies |
$754B
2024 |
17/100 |
| Number of millionaires |
1,202,000
2025 |
12/35 |
| Millionaire frequency |
1 in 33
2025 |
16/35 |
| Number of billionaires |
34
2025 |
18/78 |
| Billionaire frequency |
1 in 1,174,324
2025 |
35/78 |
| Income share by richest 10% |
24.5%
2023 |
130/169 |
| Income share by poorest 10% |
2.2%
2023 |
123/169 |
| Government expenditure, % of GDP |
45.3%
2024 |
33/195 |
| Consumer prices inflation |
2.77%
2023-2024 |
114/195 |
| Unemployment rate |
11.3%
2024 |
28/196 |
| Population |
48806901
|
32/197 |
Government spending, deficit, and debt by year
| Year | % of GDP | ||
|---|---|---|---|
| Government spending | Government debt | Government deficit/surplus | |
| 2024 | 45.3% | 101.6% | -3.15% |
| 2023 | 45.5% | 105.1% | -3.52% |
| 2022 | 46.4% | 109.2% | -4.63% |
| 2021 | 49.5% | 115.6% | -6.66% |
| 2020 | 51.4% | 119.2% | -10% |
| 2019 | 42% | 97.6% | -3.04% |
| 2018 | 41.5% | 99.7% | -2.58% |
| 2017 | 41% | 101.1% | -3.1% |
| 2016 | 42.1% | 102% | -4.26% |
| 2015 | 43.7% | 102.4% | -5.26% |
| 2014 | 45.1% | 104.4% | -6.07% |
| 2013 | 46.2% | 100% | -7.49% |
| 2012 | 49.2% | 89.6% | -11.5% |
| 2011 | 45.9% | 69.5% | -9.69% |
| 2010 | 45.8% | 60.3% | -9.49% |
| 2009 | 46.1% | 53.1% | -11.2% |
| 2008 | 41.3% | 39.6% | -4.56% |
| 2007 | 39.2% | 35.7% | 1.88% |
| 2006 | 38.4% | 39% | 2.12% |
| 2005 | 38.4% | 42.4% | 1.23% |
| 2004 | 38.8% | 45.3% | -0.1% |
| 2003 | 38.4% | 47.7% | -0.37% |
| 2002 | 38.6% | 51.2% | -0.32% |
| 2001 | 38.4% | 54.1% | -0.45% |
| 2000 | 39.1% | 57.8% | -1.16% |
| 1999 | 40% | 60.9% | -1.24% |
| 1998 | 41% | 62.4% | -2.63% |
| 1997 | 41.5% | 64.3% | -3.86% |
| 1996 | 42.9% | 65.4% | -5.87% |
| 1995 | 44.1% | 61.6% | -6.79% |
| 1994 | 44.8% | 57% | -6.31% |
| 1993 | 46.3% | 54.6% | -6.89% |
| 1992 | 43.9% | 44.1% | -4.26% |
| 1991 | 42.6% | 41.9% | -4.58% |
| 1990 | 41.1% | 41.3% | -3.9% |
| 1989 | 32.1% | 39.2% | -3.24% |
| 1988 | 28.6% | 38.2% | -2.95% |
| 1987 | 31.1% | 42.1% | -3.52% |
| 1986 | 28.4% | 36.5% | -5.18% |
| 1985 | 27.6% | 31.5% | -6.04% |
| 1984 | 27% | 18.3% | -5.25% |
| 1983 | 26% | 13.4% | -4.77% |
| 1982 | 21.5% | 12% | -5.76% |
| 1981 | 18.1% | 10.9% | -2.88% |
| 1980 | 16.3% | 10.2% | -2.55% |
| 1979 | 14.3% | 9.88% | -1.51% |
| 1978 | 14.3% | 9.93% | -1.63% |
| 1977 | 12.8% | 8.75% | -0.24% |
| 1976 | 11.5% | 8.21% | 0.43% |
| 1975 | 11.4% | 11.9% | 0.26% |
| 1974 | 11.4% | 13.6% | 0.11% |
| 1973 | 9.88% | 16.3% | 1.09% |
| 1972 | 12.5% | 17.6% | 0.24% |
| 1971 | 14% | 17.9% | -0.96% |
| 1970 | 12.3% | 19.2% | 0.09% |
| 1969 | 12.3% | 18.8% | -0.06% |
| 1968 | 12.8% | 18.3% | -0.55% |
| 1967 | 12.5% | 17.6% | -0.32% |
| 1966 | 11.8% | 17.7% | 0.07% |
| 1965 | 14% | 18.1% | -0.04% |
| 1964 | 12.7% | 19.5% | 0.18% |
| 1963 | 12.4% | 21% | -0.54% |
| 1962 | 10.6% | 24.4% | 1.27% |
| 1961 | 9.97% | 26.7% | 1.9% |
| 1960 | 11% | 29.4% | 0.69% |
| 1959 | 10.5% | 29.1% | 0.54% |
| 1958 | 10.9% | 33.7% | 0.23% |
| 1957 | 8.07% | 34.1% | 1.13% |
| 1956 | 9.12% | 35.3% | -0.05% |
| 1955 | 8.95% | 38.9% | 0.6% |
| 1954 | 8.78% | 37.9% | 0.7% |
| 1953 | 8.47% | 40.3% | 1.02% |
| 1952 | 9.09% | 38.9% | 0.81% |
| 1951 | 8.7% | 40% | -0.24% |
| 1950 | 11.7% | 46.2% | -0.44% |
| 1949 | 11.3% | 53.9% | -0.35% |
| 1948 | 11.1% | 55.6% | -1.21% |
| 1947 | 13.9% | 55.1% | -1.09% |
| 1946 | 13.8% | 61.2% | -2.24% |
| 1945 | 21.7% | 69.6% | -4.56% |
| 1944 | 21.2% | 65.1% | -5.44% |
| 1943 | 25.8% | 66% | -7.73% |
| 1942 | 15.8% | 61% | -2.48% |
| 1941 | 19.7% | 69.9% | -4.34% |
| 1940 | 19.6% | 71.8% | -3.54% |
| 1939 | - | - | - |
| 1938 | - | - | - |
| 1937 | - | - | - |
| 1936 | - | - | - |
| 1935 | 12.9% | 65.9% | -0.49% |
| 1934 | 13.9% | 63.1% | -1.17% |
| 1933 | 14.9% | 67.6% | -0.72% |
| 1932 | 13.6% | 63.1% | -0.3% |
| 1931 | 10.8% | 62.5% | 0.1% |
| 1930 | 10.6% | 58.9% | 0.3% |
| 1929 | 12.4% | 57.1% | -0.07% |
| 1928 | 12.9% | 60.2% | -0.31% |
| 1927 | 10.4% | 57.3% | -0.54% |
| 1926 | 11.9% | 59.5% | -0.65% |
| 1925 | 11.8% | 56.6% | -1.19% |
| 1924 | 14.5% | 56.3% | -1.76% |
| 1923 | 15.2% | 59% | -1.89% |
| 1922 | 13.3% | 57.2% | -2.26% |
| 1921 | 19.6% | 51.1% | -3.33% |
| 1920 | 12.1% | 44.4% | -2.4% |
| 1919 | 13.9% | 48.7% | -1.82% |
| 1918 | 9.88% | 50.7% | -1.8% |
| 1917 | 13.6% | 59.7% | -1.49% |
| 1916 | 11.4% | 63.2% | -1.15% |
| 1915 | 15.9% | 70% | -2.97% |
| 1914 | 11% | 76.2% | -1.04% |
| 1913 | 11.3% | 75.2% | -0.09% |
| 1912 | 9.65% | 80.6% | -0.33% |
| 1911 | 9.18% | 82.6% | 0.19% |
| 1910 | 9.95% | 89.7% | 0.09% |
| 1909 | 9.02% | 102.1% | -0.29% |
| 1908 | 8.43% | 103.7% | 0.59% |
| 1907 | 8.46% | 103.6% | 0.66% |
| 1906 | 8.65% | 108.4% | 0.91% |
| 1905 | 8.48% | 110.4% | 0.71% |
| 1904 | 8.3% | 107.5% | 0.52% |
| 1903 | 9.02% | 114.3% | 0.28% |
| 1902 | 9.09% | 128% | 0.74% |
| 1901 | 8.78% | 123.9% | 0.69% |
| 1900 | 8.52% | 124.1% | 1.04% |
| 1899 | 8.14% | 117.8% | 2.75% |
| 1898 | 9.79% | 110.7% | 0.13% |
| 1897 | 10.2% | 94% | -0.64% |
| 1896 | 10.2% | 97% | 0.46% |
| 1895 | 8.61% | 86.1% | 0.83% |
| 1894 | 9.55% | 85.5% | -0.08% |
| 1893 | 8.47% | 83% | 0.87% |
| 1892 | 9.01% | 80.3% | -0.67% |
| 1891 | 9.05% | 76.8% | -0.41% |
| 1890 | 9.24% | 77.9% | -0.4% |
| 1889 | 8.37% | 70.9% | -0.38% |
| 1888 | 8.97% | 72.1% | -0.97% |
| 1887 | 9.74% | 75.8% | -0.73% |
| 1886 | 9.19% | 69.9% | -0.08% |
| 1885 | 9.34% | 71.3% | -0.78% |
| 1884 | 8.92% | 70.8% | -0.23% |
| 1883 | 8.73% | 73.4% | -0.38% |
| 1882 | 8.14% | 112.2% | 0.38% |
| 1881 | 11.8% | 143.7% | 0.08% |
| 1880 | 8.68% | 152.5% | -0.02% |
| 1879 | 9.43% | 165.5% | -0.52% |
| 1878 | 11.6% | 163.5% | -0.08% |
| 1877 | 10.5% | 158.9% | 0.11% |
| 1876 | 15.2% | 169% | 0.1% |
| 1875 | 10.5% | 150.3% | -1.42% |
| 1874 | 10.1% | 146.7% | -0.1% |
| 1873 | 6.3% | 121.4% | 2.22% |
| 1872 | 9.48% | 117.8% | -2.27% |
| 1871 | 11.2% | 115% | -2.64% |
| 1870 | 15.3% | 122.1% | -3.42% |
| 1869 | 14.2% | 130.8% | -2.64% |
| 1868 | 14.6% | 102.8% | -1.46% |
| 1867 | 11.8% | 80.5% | -0.79% |
| 1866 | 9.64% | 69.4% | -0.83% |
| 1865 | 11.8% | 70.5% | -1.84% |
| 1864 | 15.9% | 61.1% | -2.48% |
| 1863 | 10.5% | 58.5% | -1.55% |
| 1862 | 10.3% | 64.6% | -1.76% |
| 1861 | 11.2% | 57.6% | -1.77% |
| 1860 | 10.7% | 59.3% | -0.94% |
| 1859 | 9.23% | 63.3% | 0.39% |
| 1858 | 9.4% | 66.6% | -0.44% |
| 1857 | 9.62% | 64.5% | -0.41% |
| 1856 | 8.66% | 64.9% | -0.46% |
| 1855 | 7.47% | 62.9% | -0.76% |
| 1854 | 7.16% | 72.4% | -0.32% |
| 1853 | 6.84% | 74.4% | -0.02% |
| 1852 | 7.84% | 83.6% | -0.11% |
| 1851 | 7.73% | 85% | -0.25% |
| 1850 | 7.46% | 91.7% | 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 | CC BY
This chart shows Spain's government spending, budget balance, and debt over time, each expressed as a share of GDP.
Over the past 50 years, Spain recorded a fiscal deficit in 45 of them, with an average annual deficit equal to 3.89% of GDP. In 2024, government spending reached $782B (45.3% of GDP), with a deficit of 3.15%.
The national debt reached $1.75T, ranking 11th out of 185 countries by total size, with a debt-to-GDP ratio of 101.6%, ranking 21st.
Inflation rate by year
| Year | Inflation |
|---|---|
| 2024 | 2.77% |
| 2023 | 3.53% |
| 2022 | 8.39% |
| 2021 | 3.09% |
| 2020 | -0.32% |
| 2019 | 0.7% |
| 2018 | 1.67% |
| 2017 | 1.96% |
| 2016 | -0.2% |
| 2015 | -0.5% |
| 2014 | -0.15% |
| 2013 | 1.41% |
| 2012 | 2.45% |
| 2011 | 3.2% |
| 2010 | 1.8% |
| 2009 | -0.29% |
| 2008 | 4.08% |
| 2007 | 2.79% |
| 2006 | 3.52% |
| 2005 | 3.37% |
| 2004 | 3.04% |
| 2003 | 3.04% |
| 2002 | 3.07% |
| 2001 | 3.59% |
| 2000 | 3.43% |
| 1999 | 2.31% |
| 1998 | 1.83% |
| 1997 | 1.97% |
| 1996 | 3.56% |
| 1995 | 4.67% |
| 1994 | 4.72% |
| 1993 | 4.57% |
| 1992 | 5.92% |
| 1991 | 5.93% |
| 1990 | 6.72% |
| 1989 | 6.79% |
| 1988 | 4.84% |
| 1987 | 5.25% |
| 1986 | 8.79% |
| 1985 | 8.81% |
| 1984 | 11.3% |
| 1983 | 12.2% |
| 1982 | 14.4% |
| 1981 | 14.5% |
| 1980 | 15.6% |
| 1979 | 15.7% |
| 1978 | 19.8% |
| 1977 | 24.5% |
| 1976 | 17.6% |
| 1975 | 17% |
| 1974 | 15.7% |
| 1973 | 11.4% |
| 1972 | 8.27% |
| 1971 | 8.24% |
| 1970 | 5.73% |
| 1969 | 2.16% |
| 1968 | 4.95% |
| 1967 | 6.39% |
| 1966 | 6.24% |
| 1965 | 13.2% |
| 1964 | 6.98% |
| 1963 | 8.74% |
| 1962 | 5.71% |
| 1961 | 0.81% |
| 1960 | 1.18% |
Data sources: World Bank | Economy & Growth (1960–2024, retrieved 2026-04-06).
GeoRank.org/economy/spain | CC BY
Over the past 20 years, Spain has had an average annual inflation rate of 2.16%. In 2024, inflation was 2.77%. The bar chart above shows consumer price inflation by year.
Balance of trade
|
|
Rank | |
|---|---|---|
|
Current account balance
|
$54.9B
2024 |
13/190 |
| Current account balance, % of GDP |
+3.18%
2024 |
45/190 |
| Goods imports |
$456B
2024 |
13/189 |
| Goods exports |
$419B
2024 |
17/189 |
| Service imports |
$111B
2024 |
21/189 |
| Service exports |
$220B
2024 |
11/189 |
| Imports of goods and services, % of GDP |
32.9%
2024 |
117/181 |
| Exports of goods and services, % of GDP |
37.1%
2024 |
89/193 |
Spain top 10 trading partners
Spain's biggest trading partner accounting for 12.4% of all exports and imports is France, with a trade balance between the two of +$31.2B: Spain exports $77.7B worth of goods and services to France and imports $46.5B.
Below is the list of the top 10 trade partners of Spain.
| Rank | Country | Trade value | Share of total trade | Export to | Import from | Top export to | Top import from |
|---|---|---|---|---|---|---|---|
| 1 |
|
$124B | 12.4% | $77.7B | $46.5B | Machinery & equipment | Machinery & equipment |
| 2 |
|
$115B | 11.4% | $58.3B | $56.3B | Machinery & equipment | Machinery & equipment |
| 3 |
|
$74.3B | 7.39% | $40.6B | $33.7B | Machinery & equipment | Machinery & equipment |
| 4 |
|
$66.4B | 6.6% | $48B | $18.4B | Transport & tourism services | Machinery & equipment |
| 5 |
|
$62B | 6.17% | $27.3B | $34.7B | Machinery & equipment | Raw materials & minerals |
| 6 |
|
$58.1B | 5.78% | $38B | $20.1B | Machinery & equipment | Machinery & equipment |
| 7 |
|
$57.6B | 5.73% | $8.83B | $48.8B | Chemicals & pharma | Machinery & equipment |
| 8 |
|
$45.6B | 4.54% | $22.2B | $23.4B | Transport & tourism services | Machinery & equipment |
| 9 |
|
$29.6B | 2.94% | $17.8B | $11.8B | Machinery & equipment | Chemicals & pharma |
| 10 |
|
$24.4B | 2.42% | $13.4B | $11B | Machinery & equipment | Machinery & equipment |
Top 10 exports
|
|
Rank | |
|---|---|---|
| Machinery & equipment | $123B | 19/193 |
| Transport & tourism services | $115B | 5/188 |
| Chemicals & pharma | $61.5B | 14/193 |
| Business & finance services | $40.8B | 14/188 |
| Textiles & consumer goods | $38B | 11/193 |
| Raw materials & minerals | $37.1B | 30/193 |
| Processed food, beverages & tobacco | $33.7B | 10/192 |
| Metals | $30B | 16/192 |
| Raw agricultural goods | $24.6B | 7/193 |
| Miscellaneous | $21.4B | 9/191 |
Top 10 imports
|
|
Rank | |
|---|---|---|
| Machinery & equipment | $143B | 19/193 |
| Raw materials & minerals | $76.1B | 14/193 |
| Chemicals & pharma | $65.5B | 12/193 |
| Textiles & consumer goods | $46.3B | 9/193 |
| Transport & tourism services | $43.2B | 19/188 |
| Metals | $29.8B | 17/193 |
| Business & finance services | $29.6B | 17/188 |
| Processed food, beverages & tobacco | $24.9B | 11/193 |
| Miscellaneous | $18.4B | 6/193 |
| Raw agricultural goods | $18.2B | 9/193 |
Economic freedom indices
|
|
Rank | |
|---|---|---|
| Economic freedom | 66.8 | 59/197 |
| Property rights | 88 | 26/182 |
| Government integrity | 64.2 | 37/182 |
| Judicial effectiveness | 74.3 | 42/182 |
| Tax burden | 58.2 | 172/182 |
| Government spending | 37.3 | 153/180 |
| Fiscal health | 57.3 | 123/181 |
| Business freedom | 82.6 | 23/182 |
| Labor freedom | 61.7 | 39/182 |
| Monetary freedom | 78.2 | 36/180 |
| Trade freedom | 79.4 | 55/181 |
| Investment freedom | 60 | 86/181 |
| Financial freedom | 60 | 64/181 |
Economic freedom by year
| Year | Index | ||||
|---|---|---|---|---|---|
| Economic freedom | Judicial effectiveness | Tax burden | Government spending | Fiscal health | |
| 2026 | 66.8 | 74.3 | 58.2 | 37.3 | 57.3 |
| 2025 | 66.3 | 74 | 57.7 | 33.5 | 40.8 |
| 2024 | 63.3 | 73.6 | 57 | 26 | 0 |
| 2023 | 65 | 66.9 | 58.2 | 30.2 | 7.4 |
| 2022 | 68.2 | 74.3 | 59.7 | 38.3 | 29.7 |
| 2021 | 69.9 | 65.4 | 61.7 | 48.1 | 69.8 |
| 2020 | 66.9 | 51.8 | 62.1 | 48.3 | 62.6 |
| 2019 | 65.7 | 51.4 | 62.3 | 46.2 | 51.1 |
| 2018 | 65.1 | 62 | 62 | 42.8 | 36.1 |
| 2017 | 63.6 | 53.9 | 62.5 | 41.4 | 26.9 |
| 2016 | 68.5 | - | 58.3 | 41.1 | - |
| 2015 | 67.6 | - | 53.1 | 39.8 | - |
| 2014 | 67.2 | - | 54 | 38.7 | - |
| 2013 | 68 | - | 53.9 | 43 | - |
| 2012 | 69.1 | - | 61.3 | 37.1 | - |
| 2011 | 70.2 | - | 61 | 49.3 | - |
| 2010 | 69.6 | - | 58.1 | 54.8 | - |
| 2009 | 70.1 | - | 58.6 | 55.3 | - |
| 2008 | 69.1 | - | 54.5 | 56.2 | - |
| 2007 | 69.2 | - | 55.2 | 54.8 | - |
| 2006 | 68.2 | - | 55.3 | 50.5 | - |
| 2005 | 67 | - | 55.4 | 53 | - |
| 2004 | 68.9 | - | 52.9 | 52.7 | - |
| 2003 | 68.8 | - | 52.6 | 52.2 | - |
| 2002 | 68.8 | - | 53.1 | 52 | - |
| 2001 | 68.1 | - | 53.8 | 54.4 | - |
| 2000 | 65.9 | - | 45.8 | 47.1 | - |
| 1999 | 65.1 | - | 46.5 | 42.7 | - |
| 1998 | 62.6 | - | 46.3 | 39.3 | - |
| 1997 | 59.6 | - | 45.8 | 32.9 | - |
| 1996 | 59.6 | - | 45.8 | 26.8 | - |
| 1995 | 62.8 | - | 45.2 | 36.8 | - |
Data sources: The Heritage Foundation | Economic Freedom Index (1995–2026, retrieved 2026-03-09).
GeoRank.org/economy/spain | CC BY
Spain is ranked 53/174 for economic freedom with a score of 66.8, compared to 32/162 and a score of 68.2 in 2006.
Other economic metrics
|
|
Rank | |
|---|---|---|
| Services, % of GDP |
68.9%
2024 |
29/191 |
| Industry, % of GDP |
19.5%
2024 |
134/194 |
| Agriculture, forestry, and fishing, % of GDP |
2.75%
2024 |
134/193 |
|
GNI, Atlas method
|
$1.64T
2024 |
15/194 |
| GNI per capita, PPP |
$57,670
2024 |
31/191 |
| Total reserves including gold |
$108B
2024 |
26/177 |
|
Net foreign direct investment
|
$28.7B
2024 |
10/189 |
|
Net inflows of foreign direct investment
|
$42.8B
2024 |
12/193 |
|
Net outflows of foreign direct investment
|
$71.5B
2024 |
8/193 |
| Poverty at national poverty lines |
20.2%
2022 |
98/176 |
|
Gross capital formation, % of GDP
|
21.2%
2024 |
109/178 |
Compare Spain vs other countries
GDP per capita map
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 | CC BY
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:
- World Bank | Economy & Growth (1960–2024, retrieved 2026-04-06)
- 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)
- The Heritage Foundation | Economic Freedom Index (1995–2026, retrieved 2026-03-09)
- U.S. Census Bureau (1985–2024, retrieved 2026-02-08)
- TradeMap (2022–2024, retrieved 2026-02-08)
- United Nations | World Population Prospects (2026, retrieved 2026-03-10)
- 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.