Skip to content

Economy of Portugal vs Spain compared: GDP & Debt

Updated on by Georank team

Portugal has a GDP of $313B compared to $1.73T for Spain, ranking 46/197 and 15/197 by economy size, respectively.

Portugal has $297B in government debt (94.9% of GDP), compared to $1.75T (101.6% of GDP) in Spain.

Portugal vs Spain GDP by year

Portugal
Spain
1x
Year GDP, current $
Portugal Spain
2024 $313,271,185,085 $1,725,671,652,742
2023 $292,323,800,949 $1,619,481,980,720
2022 $256,898,677,175 $1,448,850,658,407
2021 $256,055,879,091 $1,461,244,901,853
2020 $229,618,773,423 $1,289,783,836,971
2019 $240,115,970,063 $1,403,496,387,686
2018 $242,092,894,543 $1,431,642,809,327
2017 $220,862,990,767 $1,321,754,088,819
2016 $206,305,431,242 $1,243,015,667,917
2015 $199,038,523,120 $1,206,164,777,553
2014 $230,078,616,300 $1,380,244,561,362
2013 $226,677,408,292 $1,362,186,923,158
2012 $216,536,676,772 $1,330,994,811,670
2011 $245,426,767,676 $1,487,568,659,241
2010 $238,443,864,993 $1,427,989,078,917
2009 $244,667,762,836 $1,496,587,590,848
2008 $263,416,394,624 $1,636,115,447,613
2007 $240,496,147,317 $1,476,746,276,855
2006 $208,756,449,276 $1,261,846,683,275
2005 $197,253,876,705 $1,154,667,551,776
2004 $189,382,122,532 $1,069,829,382,515
2003 $165,226,175,537 $907,963,217,058
2002 $134,795,565,549 $708,938,227,244
2001 $121,604,107,165 $627,798,682,379
2000 $118,605,192,877 $598,102,854,756
1999 $127,470,385,557 $634,394,904,387
1998 $123,946,327,916 $618,731,484,575
1997 $117,016,535,163 $589,739,772,727
1996 $122,630,089,680 $642,251,412,058
1995 $118,122,007,430 $614,170,002,669
1994 $99,688,641,304 $530,183,651,720
1993 $95,009,751,901 $524,700,572,624
1992 $107,592,098,307 $630,465,353,486
1991 $89,233,599,278 $576,753,902,322
1990 $78,713,860,217 $536,175,326,477
1989 $60,594,092,182 $414,460,794,097
1988 $56,347,250,696 $375,891,716,898
1987 $48,182,925,857 $318,520,253,335
1986 $38,745,901,354 $251,141,555,186
1985 $27,115,807,742 $180,664,322,896
1984 $25,217,969,050 $171,979,977,230
1983 $27,239,650,742 $170,829,074,246
1982 $30,527,754,793 $195,856,752,991
1981 $31,977,276,873 $202,663,023,968
1980 $32,896,519,824 $232,600,556,974
1979 $26,622,819,672 $214,448,666,336
1978 $23,487,614,051 $160,484,969,618
1977 $21,439,523,311 $132,354,665,936
1976 $20,332,831,565 $118,422,534,195
1975 $19,347,607,843 $114,695,060,870
1974 $17,512,391,476 $97,204,522,642
1973 $15,090,564,186 $78,583,355,226
1972 $11,239,117,865 $59,090,176,029
1971 $9,201,604,240 $46,586,119,760
1970 $8,108,235,704 $40,963,715,237
1969 $7,287,555,035 $37,090,689,288
1968 $6,644,693,214 $32,394,326,464
1967 $6,002,607,030 $32,570,905,397
1966 $5,370,108,031 $29,559,436,183
1965 $4,901,711,248 $25,479,619,607
1964 $4,429,202,657 $21,966,876,027
1963 $4,084,251,593 $19,631,714,760
1962 $3,835,883,663 $16,609,632,791
1961 $3,573,719,085 $14,238,126,760
1960 $3,339,150,158 $12,424,514,014

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

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

GDP per capita in Portugal vs Spain by year

Portugal
GDP per capita

GDP per capita, PPP
Spain
GDP per capita

GDP per capita, PPP
1x
Year Current $
Portugal Spain
GDP per capita GDP per capita, PPP GDP per capita GDP per capita, PPP
2024 $29,292 $51,680 $35,327 $57,965
2023 $27,635 $49,353 $33,493 $55,682
2022 $24,621 $45,250 $30,319 $51,399
2021 $24,711 $38,658 $30,799 $44,252
2020 $22,299 $35,967 $27,234 $39,328
2019 $23,343 $37,866 $29,787 $44,043
2018 $23,541 $34,897 $30,602 $41,015
2017 $21,442 $32,971 $28,381 $39,825
2016 $19,980 $31,589 $26,756 $37,613
2015 $19,216 $29,608 $25,982 $35,229
2014 $22,121 $28,765 $29,708 $33,761
2013 $21,676 $27,966 $29,229 $32,614
2012 $20,593 $26,476 $28,456 $31,870
2011 $23,247 $26,803 $31,825 $32,016
2010 $22,552 $27,292 $30,659 $31,805
2009 $23,151 $26,472 $32,280 $32,218
2008 $24,949 $26,666 $35,603 $33,350
2007 $22,811 $25,738 $32,652 $32,536
2006 $19,839 $24,677 $28,422 $30,749
2005 $18,780 $22,725 $26,451 $27,630
2004 $18,064 $21,476 $24,925 $26,160
2003 $15,798 $20,850 $21,522 $25,057
2002 $12,937 $20,357 $17,111 $24,378
2001 $11,735 $19,529 $15,368 $22,952
2000 $11,526 $18,883 $14,743 $21,582
1999 $12,475 $17,718 $15,708 $19,938
1998 $12,199 $16,688 $15,382 $19,083
1997 $11,576 $15,789 $14,722 $17,903
1996 $12,185 $14,922 $16,101 $16,971
1995 $11,781 $14,406 $15,461 $16,276
1994 $9,977 $13,578 $13,406 $15,582
1993 $9,535 $13,202 $13,330 $14,973
1992 $10,811 $13,182 $16,101 $14,855
1991 $8,959 $12,739 $14,801 $14,461
1990 $7,885 $11,780 $13,795 $13,676
1989 $6,056 - $10,674 -
1988 $5,624 - $9,696 -
1987 $4,804 - $8,234 -
1986 $3,862 - $6,509 -
1985 $2,705 - $4,696 -
1984 $2,523 - $4,487 -
1983 $2,735 - $4,475 -
1982 $3,080 - $5,156 -
1981 $3,246 - $5,367 -
1980 $3,368 - $6,204 -
1979 $2,756 - $5,766 -
1978 $2,457 - $4,353 -
1977 $2,267 - $3,625 -
1976 $2,173 - $3,277 -
1975 $2,128 - $3,208 -
1974 $2,000 - $2,748 -
1973 $1,748 - $2,246 -
1972 $1,302 - $1,708 -
1971 $1,065 - $1,361 -
1970 $934 - $1,211 -
1969 $832 - $1,109 -
1968 $752 - $978 -
1967 $676 - $997 -
1966 $601 - $916 -
1965 $545 - $797 -
1964 $490 - $695 -
1963 $452 - $627 -
1962 $426 - $535 -
1961 $400 - $463 -
1960 $377 - $408 -

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

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

Portugal's GDP per capita is $29,292, ranking 44/197, compared to $35,327 in Spain, ranking 32/197. Adjusted for purchasing power (GDP per capita PPP), Portugal ranks 42nd at $51,680, while Spain ranks 34th at $57,965.

Economic indicators

Portugal Spain
Gross domestic product
$313B
2024
$1.73T
2024
GDP rank
46/197
2024
15/197
2024
GDP growth
2.14%
2023-2024
3.46%
2023-2024
GDP per capita
$29,292
2024
$35,327
2024
GDP per capita rank
44/197
2024
32/197
2024
GDP per capita, PPP
$51,680
2024
$57,965
2024
GDP per capita PPP rank
42/197
2024
34/197
2024
Government debt
$297B
2024
$1.75T
2024
Debt-to-GDP ratio
94.9%
2024
101.6%
2024
Government debt per person
$27,807
2024
$35,909
2024
Government debt per person rank
27/185
2024
20/185
2024
Average annual personal income after taxes
$16,747
2026
$25,470
2026
Market capitalization of domestic companies
$61.9B
2018
$754B
2024
Number of millionaires
171,797
2025
1,202,000
2025
Number of billionaires
1
2025
34
2025
Income share by richest 10%
26.9%
2023
24.5%
2023
Income share by poorest 10%
2.7%
2023
2.2%
2023
Government expenditure, % of GDP
42.8%
2024
45.3%
2024
Consumer prices inflation
2.42%
2023-2024
2.77%
2023-2024
Unemployment rate
6.43%
2024
11.3%
2024
Population
10667081
48806901

Spending and national debt comparison by year

Portugal
Spending

Debt
Spain
Spending

Debt
1x
Year % of GDP
Portugal Spain
Government spending Government debt Government spending Government debt
2024 42.8% 94.9% 45.3% 101.6%
2023 42.3% 97.7% 45.5% 105.1%
2022 43.9% 111.2% 46.4% 109.2%
2021 47.3% 123.9% 49.5% 115.6%
2020 49.1% 134.1% 51.4% 119.2%
2019 42.5% 116.1% 42% 97.6%
2018 43.3% 121.1% 41.5% 99.7%
2017 45.5% 126% 41% 101.1%
2016 44.9% 131.2% 42.1% 102%
2015 48.2% 131% 43.7% 102.4%
2014 51.7% 132.5% 45.1% 104.4%
2013 50% 130.8% 46.2% 100%
2012 48.8% 128.6% 49.2% 89.6%
2011 50% 114% 45.9% 69.5%
2010 51.9% 100.1% 45.8% 60.3%
2009 50.3% 87.8% 46.1% 53.1%
2008 45.5% 75.6% 41.3% 39.6%
2007 44.5% 72.7% 39.2% 35.7%
2006 45.1% 73.7% 38.4% 39%
2005 46.8% 72.2% 38.4% 42.4%
2004 46.1% 67.1% 38.8% 45.3%
2003 45.4% 63.9% 38.4% 47.7%
2002 44.2% 60% 38.6% 51.2%
2001 44.1% 57.4% 38.4% 54.1%
2000 42.8% 54.2% 39.1% 57.8%
1999 42.5% 55.4% 40% 60.9%
1998 42.6% 55.6% 41% 62.4%
1997 42.4% 58.7% 41.5% 64.3%
1996 43% 63.3% 42.9% 65.4%
1995 42.6% 62.2% 44.1% 61.6%
1994 42.8% 60.4% 44.8% 57%
1993 46.5% 57.2% 46.3% 54.6%
1992 48.2% 58.1% 43.9% 44.1%
1991 45.9% 63.9% 42.6% 41.9%
1990 42.2% 60.2% 41.1% 41.3%
1989 36.2% 55.4% 32.1% 39.2%
1988 36.2% 56.8% 28.6% 38.2%
1987 37.5% 57.2% 31.1% 42.1%
1986 38.9% 59.8% 28.4% 36.5%
1985 37.5% 59.4% 27.6% 31.5%
1984 34.6% 51.3% 27% 18.3%
1983 34.7% 46.7% 26% 13.4%
1982 35.8% 43% 21.5% 12%
1981 35.3% 39.3% 18.1% 10.9%
1980 32.4% 31% 16.3% 10.2%
1979 30.8% 35.2% 14.3% 9.88%
1978 31.7% 31.4% 14.3% 9.93%
1977 35.1% 26.9% 12.8% 8.75%
1976 38.2% 24.5% 11.5% 8.21%
1975 31.9% 19.2% 11.4% 11.9%
1974 25.8% 13.5% 11.4% 13.6%
1973 25.7% 13.6% 9.88% 16.3%
1972 22.8% 14.5% 12.5% 17.6%
1971 15.5% 15.7% 14% 17.9%
1970 15.5% 16.5% 12.3% 19.2%
1969 14.9% 16.8% 12.3% 18.8%
1968 14.3% 17.2% 12.8% 18.3%
1967 14.1% 18.5% 12.5% 17.6%
1966 14.4% 20.2% 11.8% 17.7%
1965 13.4% 20.4% 14% 18.1%
1964 13.9% 21.9% 12.7% 19.5%
1963 14.6% 20.8% 12.4% 21%
1962 14.5% 18.7% 10.6% 24.4%
1961 14.6% 17.1% 9.97% 26.7%
1960 14.3% 16.4% 11% 29.4%

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/portugal/spain | CC BY

In 2024, Portugal's government spending was $134B, accounting for 42.8% of its GDP, while Spain spent $782B, or 45.3% of GDP.

Debt-to-GDP ratio is 94.9% in Portugal and 101.6% in Spain, ranking 27/185 and 21/185, respectively.

Government deficit by year

Deficit/surplus
Portugal

Spain
1x
Year Deficit/surplus, % of GDP
Portugal Spain
2024 0.7% -3.15%
2023 1.21% -3.52%
2022 -0.31% -4.63%
2021 -2.83% -6.66%
2020 -5.75% -10%
2019 0.12% -3.04%
2018 -0.43% -2.58%
2017 -3% -3.1%
2016 -1.94% -4.26%
2015 -4.37% -5.26%
2014 -7.32% -6.07%
2013 -5.21% -7.49%
2012 -6.2% -11.5%
2011 -7.73% -9.69%
2010 -11.4% -9.49%
2009 -9.87% -11.2%
2008 -3.81% -4.56%
2007 -2.91% 1.88%
2006 -4.07% 2.12%
2005 -6.11% 1.23%
2004 -5.99% -0.1%
2003 -5.66% -0.37%
2002 -3.73% -0.32%
2001 -4.73% -0.45%
2000 -3.35% -1.16%
1999 -2.99% -1.24%
1998 -4.3% -2.63%
1997 -3.65% -3.86%
1996 -4.63% -5.87%
1995 -5.14% -6.79%
1994 -7.37% -6.31%
1993 -8.06% -6.89%
1992 -5.19% -4.26%
1991 -7.93% -4.58%
1990 -6.82% -3.9%
1989 -2.86% -3.24%
1988 -3.52% -2.95%
1987 -6.79% -3.52%
1986 -7.45% -5.18%
1985 -8.35% -6.04%
1984 -5.23% -5.25%
1983 -4.86% -4.77%
1982 -7.02% -5.76%
1981 -8.34% -2.88%
1980 -6.92% -2.55%
1979 -6.08% -1.51%
1978 -7.15% -1.63%
1977 -7.5% -0.24%
1976 -10.2% 0.43%
1975 -7.1% 0.26%
1974 -3.2% 0.11%
1973 -5.39% 1.09%
1972 -7.72% 0.24%
1971 -0.23% -0.96%
1970 -0.24% 0.09%
1969 -1.53% -0.06%
1968 -1.24% -0.55%
1967 -0.46% -0.32%
1966 -2% 0.07%
1965 -0.03% -0.04%
1964 -1.93% 0.18%
1963 -3.33% -0.54%
1962 -1.69% 1.27%
1961 -3.17% 1.9%
1960 -3.13% 0.69%
1959 -1.73% 0.54%
1958 -0.52% 0.23%
1957 0.08% 1.13%
1956 -0.18% -0.05%
1955 -0.31% 0.6%
1954 -0.58% 0.7%
1953 -0.35% 1.02%
1952 -0.34% 0.81%
1951 0.94% -0.24%
1950 -0.83% -0.44%
1949 -0.46% -0.35%
1948 -2.04% -1.21%
1947 -1.65% -1.09%
1946 -2.32% -2.24%
1945 -2.38% -4.56%
1944 -1.44% -5.44%
1943 0.03% -7.73%
1942 -0.35% -2.48%
1941 -0.08% -4.34%
1940 -1.74% -3.54%
1939 -0.73% -
1938 -0.08% -
1937 -0.09% -
1936 0.08% -
1935 0.75% -0.49%
1934 0.6% -1.17%
1933 -0.07% -0.72%
1932 -0.03% -0.3%
1931 0.04% 0.1%
1930 0.79% 0.3%
1929 1.86% -0.07%
1928 0.2% -0.31%
1927 -2.27% -0.54%
1926 -4.21% -0.65%
1925 -1.48% -1.19%
1924 -3.16% -1.76%
1923 -3.47% -1.89%
1922 -10% -2.26%
1921 -6.5% -3.33%
1920 -5.66% -2.4%
1919 -8.83% -1.82%
1918 -8.3% -1.8%
1917 -5.49% -1.49%
1916 - -1.15%
1915 - -2.97%
1914 - -1.04%
1913 -0.34% -0.09%
1912 -0.02% -0.33%
1911 -0.73% 0.19%
1910 -0.19% 0.09%
1909 -0.82% -0.29%
1908 -0.56% 0.59%
1907 -0.69% 0.66%
1906 -0.45% 0.91%
1905 -0.75% 0.71%
1904 -0.26% 0.52%
1903 -0.91% 0.28%
1902 -0.5% 0.74%
1901 -0.69% 0.69%
1900 -0.35% 1.04%
1899 -0.77% 2.75%
1898 -0.5% 0.13%
1897 -0.93% -0.64%
1896 -1.35% 0.46%
1895 -0.2% 0.83%
1894 -0.16% -0.08%
1893 -0.02% 0.87%
1892 -0.8% -0.67%
1891 -2.15% -0.41%
1890 -2.01% -0.4%
1889 -1.95% -0.38%
1888 -2.14% -0.97%
1887 -0.67% -0.73%
1886 -1.43% -0.08%
1885 -1.68% -0.78%
1884 -1.48% -0.23%
1883 -1.1% -0.38%
1882 -0.39% 0.38%
1881 -1.2% 0.08%
1880 -1.63% -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/portugal/spain | CC BY

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

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

Inflation comparison by year

Inflation
Portugal

Spain
1x
Year Consumer prices inflation
Portugal Spain
2024 2.42% 2.77%
2023 4.31% 3.53%
2022 7.83% 8.39%
2021 1.27% 3.09%
2020 -0.01% -0.32%
2019 0.34% 0.7%
2018 0.99% 1.67%
2017 1.37% 1.96%
2016 0.61% -0.2%
2015 0.49% -0.5%
2014 -0.28% -0.15%
2013 0.27% 1.41%
2012 2.77% 2.45%
2011 3.65% 3.2%
2010 1.4% 1.8%
2009 -0.84% -0.29%
2008 2.59% 4.08%
2007 2.45% 2.79%
2006 3.11% 3.52%
2005 2.28% 3.37%
2004 2.37% 3.04%
2003 3.22% 3.04%
2002 3.6% 3.07%
2001 4.37% 3.59%
2000 2.85% 3.43%
1999 2.34% 2.31%
1998 2.57% 1.83%
1997 2.34% 1.97%

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

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

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

Top exports between countries

Portugal
Export category Export value
Machinery & equipment $5.7B
Textiles & consumer goods $3.22B
Processed food, beverages & tobacco $2.67B
Metals $2.35B
Chemicals & pharma $2.15B
Raw materials & minerals $1.94B
Transport & tourism services $1.9B
Wood & paper products $1.62B
Animal & marine products $1.39B
Raw agricultural goods $1.1B
Spain
Export category Export value
Machinery & equipment $7.88B
Chemicals & pharma $4.06B
Raw materials & minerals $3.97B
Textiles & consumer goods $3.84B
Metals $3.57B
Processed food, beverages & tobacco $3.54B
Animal & marine products $2.74B
Wood & paper products $1.58B
Raw agricultural goods $1.53B
Transport & tourism services $1.42B

Balance of trade

Portugal Spain
Current account balance
$6.51B
2024
$54.9B
2024
Current account balance ranking
28/190
2024
13/190
2024
Current account balance, % of GDP
+2.08%
2024
+3.18%
2024
Goods imports
$109B
2024
$456B
2024
Goods exports
$81.4B
2024
$419B
2024
Service imports
$27.9B
2024
$111B
2024
Service exports
$62.7B
2024
$220B
2024
Imports of goods and services, % of GDP
43.9%
2024
32.9%
2024
Exports of goods and services, % of GDP
45.8%
2024
37.1%
2024

Economic freedom indices

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

Portugal Spain
Economic freedom 71.2 66.8
Economic freedom ranking 33/197 59/197
Property rights 88.9 88
Government integrity 63.4 64.2
Judicial effectiveness 90.1 74.3
Tax burden 60.6 58.2
Government spending 44.6 37.3
Fiscal health 82 57.3
Business freedom 83.1 82.6
Labor freedom 54.8 61.7
Monetary freedom 77.7 78.2
Trade freedom 79.4 79.4
Investment freedom 70 60
Financial freedom 60 60

Economic freedom comparison by year

Portugal
Spain
1x
Year Economic freedom index
Portugal Spain
2026 71.2 66.8
2025 70.5 66.3
2024 68.7 63.3
2023 69.5 65
2022 70.8 68.2
2021 67.5 69.9
2020 67 66.9
2019 65.3 65.7
2018 63.4 65.1
2017 62.6 63.6
2016 65.1 68.5
2015 65.3 67.6
2014 63.5 67.2
2013 63.1 68
2012 63 69.1
2011 64 70.2
2010 64.4 69.6
2009 64.9 70.1
2008 63.9 69.1
2007 64 69.2
2006 62.9 68.2
2005 62.4 67
2004 64.9 68.9
2003 64.9 68.8
2002 65.4 68.8
2001 66 68.1
2000 65.5 65.9
1999 65.6 65.1
1998 65 62.6
1997 63.6 59.6
1996 64.5 59.6
1995 62.4 62.8

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

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

The Economic Freedom Index for Portugal is 71.2, ranking 33/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

Portugal Spain
Services, % of GDP
66.3%
2024
68.9%
2024
Industry, % of GDP
18.7%
2024
19.5%
2024
Agriculture, forestry, and fishing, % of GDP
2.02%
2024
2.75%
2024
GNI, Atlas method
$288B
2024
$1.64T
2024
GNI per capita, PPP
$50,730
2024
$57,670
2024
Total reserves including gold
$42.4B
2024
$108B
2024
Total reserves ranking
48/177
2024
26/177
2024
Net foreign direct investment
-$6.64B
2024
$28.7B
2024
Net inflows of foreign direct investment
$13.5B
2024
$42.8B
2024
Net outflows of foreign direct investment
$6.84B
2024
$71.5B
2024
Poverty at national poverty lines
16.4%
2021
20.2%
2022
Gross capital formation, % of GDP
20.4%
2024
21.2%
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/portugal/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–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.