Skip to content

Economy of Denmark vs Spain compared: GDP & Debt

Updated on by Georank

Denmark has a GDP of $463B compared to $1.91T for Spain, ranking 36/197 and 12/197 by economy size, respectively.

Denmark has $127B in government debt (27.5% of GDP), compared to $1.91T (100.4% of GDP) in Spain.

Denmark vs Spain GDP by year

Denmark
Spain
1x
Year GDP, current $
Denmark Spain
2025 $462,526,660,468 $1,906,453,309,986
2024 $424,524,722,037 $1,725,671,652,742
2023 $404,651,706,118 $1,619,481,980,720
2022 $400,114,306,337 $1,448,850,658,407
2021 $406,110,162,088 $1,461,244,901,853
2020 $355,631,021,932 $1,289,783,836,971
2019 $345,401,473,013 $1,403,496,387,686
2018 $355,293,374,912 $1,431,642,809,327
2017 $331,610,593,962 $1,321,754,088,819
2016 $312,181,849,372 $1,243,015,667,917
2015 $301,758,922,338 $1,206,164,777,553
2014 $352,832,602,064 $1,380,244,561,362
2013 $344,631,016,965 $1,362,186,923,158
2012 $326,792,574,245 $1,330,994,811,670
2011 $344,315,595,263 $1,487,568,659,241
2010 $322,345,594,075 $1,427,989,078,917
2009 $322,619,152,195 $1,496,587,590,848
2008 $354,979,471,960 $1,636,115,447,613
2007 $320,213,157,595 $1,476,746,276,855
2006 $283,386,151,544 $1,261,846,683,275
2005 $265,150,087,712 $1,154,667,551,776
2004 $251,986,155,631 $1,069,829,382,515
2003 $218,421,193,436 $907,963,217,058
2002 $178,788,209,558 $708,938,227,244
2001 $164,881,594,415 $627,798,682,379
2000 $164,043,817,224 $598,102,854,756
1999 $177,887,720,536 $634,394,904,387
1998 $176,877,077,513 $618,731,484,575
1997 $173,241,365,735 $589,739,772,727
1996 $187,481,157,846 $642,251,412,058
1995 $184,848,481,008 $614,170,002,669
1994 $156,017,919,221 $530,183,651,720
1993 $143,111,306,004 $524,700,572,624
1992 $152,966,494,260 $630,465,353,486
1991 $139,180,507,778 $576,753,902,322
1990 $138,217,740,684 $536,175,326,477
1989 $112,312,200,761 $414,460,794,097
1988 $115,540,189,705 $375,891,716,898
1987 $109,183,446,340 $318,520,253,335
1986 $87,748,695,217 $251,141,555,186
1985 $62,452,421,011 $180,664,322,896
1984 $58,868,891,335 $171,979,977,230
1983 $60,331,158,447 $170,829,074,246
1982 $60,084,214,872 $195,856,752,991
1981 $61,459,941,461 $202,663,023,968
1980 $70,811,287,816 $232,600,556,974
1979 $70,393,030,603 $214,448,666,336
1978 $60,320,089,218 $160,484,969,618
1977 $49,711,709,588 $132,354,665,936
1976 $44,503,607,444 $118,422,534,195
1975 $40,418,967,666 $114,695,060,870
1974 $34,125,712,481 $97,204,522,642
1973 $30,718,181,337 $78,583,355,226
1972 $23,230,667,549 $59,090,176,029
1971 $19,086,192,720 $46,586,119,760
1970 $17,075,457,733 $40,963,715,237
1969 $15,414,902,667 $37,090,689,288
1968 $13,505,574,133 $32,394,326,464
1967 $13,059,064,806 $32,570,905,397
1966 $11,931,740,293 $29,559,436,183
1965 $10,870,670,865 $25,479,619,607
1964 $9,677,401,337 $21,966,876,027
1963 $8,466,044,980 $19,631,714,760
1962 $7,953,274,741 $16,609,632,791
1961 $7,058,361,229 $14,238,126,760
1960 $6,361,166,545 $12,424,514,014

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

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

GDP per capita in Denmark vs Spain by year

Denmark
GDP per capita

GDP per capita, PPP
Spain
GDP per capita

GDP per capita, PPP
1x
Year Current $
Denmark Spain
GDP per capita GDP per capita, PPP GDP per capita GDP per capita, PPP
2025 $76,970 - $38,627 -
2024 $71,026 $81,878 $35,327 $57,965
2023 $68,044 $77,892 $33,493 $55,682
2022 $67,781 $78,914 $30,319 $51,399
2021 $69,341 $69,715 $30,799 $44,252
2020 $60,985 $62,682 $27,234 $39,328
2019 $59,404 $60,595 $29,787 $44,043
2018 $61,325 $57,234 $30,602 $41,015
2017 $57,522 $55,272 $28,381 $39,825
2016 $54,501 $51,821 $26,756 $37,613
2015 $53,094 $48,897 $25,982 $35,229
2014 $62,520 $47,880 $29,708 $33,761
2013 $61,378 $46,869 $29,229 $32,614
2012 $58,444 $44,755 $28,456 $31,870
2011 $61,810 $44,444 $31,825 $32,016
2010 $58,105 $43,038 $30,659 $31,805
2009 $58,413 $40,524 $32,280 $32,218
2008 $64,617 $41,467 $35,603 $33,350
2007 $58,632 $39,110 $32,652 $32,536
2006 $52,119 $37,392 $28,422 $30,749
2005 $48,926 $34,238 $26,451 $27,630
2004 $46,625 $33,016 $24,925 $26,160
2003 $40,519 $30,864 $21,522 $25,057
2002 $33,257 $30,667 $17,111 $24,378
2001 $30,768 $29,459 $15,368 $22,952
2000 $30,722 $28,648 $14,743 $21,582
1999 $33,426 $26,642 $15,708 $19,938
1998 $33,346 $25,799 $15,382 $19,083
1997 $32,780 $24,887 $14,722 $17,903
1996 $35,622 $23,723 $16,101 $16,971
1995 $35,321 $22,677 $15,461 $16,276
1994 $29,968 $21,669 $13,406 $15,582
1993 $27,582 $20,217 $13,330 $14,973
1992 $29,579 $19,830 $16,101 $14,855
1991 $27,003 $19,067 $14,801 $14,461
1990 $26,886 $18,225 $13,795 $13,676
1989 $21,882 - $10,674 -
1988 $22,525 - $9,696 -
1987 $21,296 - $8,234 -
1986 $17,137 - $6,509 -
1985 $12,213 - $4,696 -
1984 $11,517 - $4,487 -
1983 $11,797 - $4,475 -
1982 $11,740 - $5,156 -
1981 $12,000 - $5,367 -
1980 $13,822 - $6,204 -
1979 $13,757 - $5,766 -
1978 $11,818 - $4,353 -
1977 $9,770 - $3,625 -
1976 $8,773 - $3,277 -
1975 $7,988 - $3,208 -
1974 $6,764 - $2,748 -
1973 $6,117 - $2,246 -
1972 $4,654 - $1,708 -
1971 $3,846 - $1,361 -
1970 $3,464 - $1,211 -
1969 $3,151 - $1,109 -
1968 $2,776 - $978 -
1967 $2,701 - $997 -
1966 $2,487 - $916 -
1965 $2,284 - $797 -
1964 $2,049 - $695 -
1963 $1,807 - $627 -
1962 $1,711 - $535 -
1961 $1,531 - $463 -
1960 $1,389 - $408 -

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

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

Denmark's GDP per capita is $76,970, ranking 11/197, compared to $38,627 in Spain, ranking 31/197. Adjusted for purchasing power (GDP per capita PPP), Denmark ranks 14th at $81,878, while Spain ranks 34th at $57,965.

Economic indicators

Denmark Spain
Gross domestic product
$463B
2025
$1.91T
2025
GDP rank
36/197
2025
12/197
2025
GDP growth
2.93%
2024-2025
2.82%
2024-2025
GDP per capita
$76,970
2025
$38,627
2025
GDP per capita rank
11/197
2025
31/197
2025
GDP per capita, PPP
$81,878
2024
$57,965
2024
GDP per capita PPP rank
14/197
2024
34/197
2024
Government debt
$127B
2025
$1.91T
2025
Debt-to-GDP ratio
27.5%
2025
100.4%
2025
Government debt per person
$21,192
2025
$38,794
2025
Government debt per person rank
32/185
2025
20/185
2025
Average annual personal income after taxes
$52,602
2026
$24,910
2026
Market capitalization of domestic companies
$151B
2004
$1.3T
2025
Number of millionaires
376,000
2025
1,077,000
2026
Number of billionaires
9
2026
34
2026
Income share by richest 10%
25.5%
2023
24.5%
2023
Income share by poorest 10%
3.6%
2023
2.2%
2023
Government expenditure, % of GDP
47.6%
2025
44.7%
2025
Consumer prices inflation
1.89%
2024-2025
2.7%
2024-2025
Central bank interest rate
1.6%
2025
n/a
Unemployment rate
6.4%
2025
10.5%
2025
Population
6042125
49323658

Spending and national debt comparison by year

Denmark
Spending

Debt
Spain
Spending

Debt
1x
Year % of GDP
Denmark Spain
Government spending Government debt Government spending Government debt
2025 47.6% 27.5% 44.7% 100.4%
2024 47.3% 30.5% 45.5% 101.6%
2023 47.4% 33% 45.4% 105.1%
2022 45.1% 33.3% 46.3% 109.2%
2021 49.7% 39.6% 49.5% 115.6%
2020 53.3% 45.2% 51.4% 119.2%
2019 49.8% 38.3% 42% 97.6%
2018 50.8% 38.5% 41.5% 99.7%
2017 50.6% 40.2% 41% 101.1%
2016 52.4% 41.7% 42.1% 102%
2015 54.4% 44.6% 43.7% 102.4%
2014 55.1% 48.7% 45.1% 104.4%
2013 55.6% 47.8% 46.2% 100%
2012 57.9% 48.7% 49.2% 89.6%
2011 56.3% 50% 45.9% 69.5%
2010 56.5% 46.1% 45.8% 60.3%
2009 56.3% 43% 46.1% 53.1%
2008 50.3% 35.5% 41.3% 39.6%
2007 49.5% 29.5% 39.2% 35.7%
2006 49.7% 33.2% 38.4% 39%
2005 51.1% 39.4% 38.4% 42.4%
2004 52.8% 46.2% 38.8% 45.3%
2003 53.5% 48.2% 38.4% 47.7%
2002 53.1% 50.3% 38.6% 51.2%
2001 53% 50.1% 38.4% 54.1%
2000 52.9% 53.6% 39.1% 57.8%
1999 54.7% 56.8% 40% 60.9%
1998 55.6% 60.3% 41% 62.4%
1997 56.2% 64.4% 41.5% 64.3%
1996 58.2% 68.3% 42.9% 65.4%
1995 58.7% 71.5% 44.1% 61.6%
1994 59.5% 75.3% 44.8% 57%
1993 59.5% 78.7% 46.3% 54.6%
1992 56.4% 66.7% 43.9% 44.1%
1991 55.5% 63.2% 42.6% 41.9%
1990 55.1% 62.4% 41.1% 41.3%
1989 56.2% 62.2% 32.1% 39.2%
1988 56.1% 64.7% 28.6% 38.2%
1987 54% 62.5% 31.1% 42.1%
1986 52.3% 66.8% 28.4% 36.5%
1985 55.5% 74.7% 27.6% 31.5%
1984 56.6% 77.7% 27% 18.3%
1983 57.9% 74.2% 26% 13.4%
1982 57.7% 64.5% 21.5% 12%
1981 56.3% 51.7% 18.1% 10.9%
1980 52.7% 39.2% 16.3% 10.2%
1979 49.6% 31.8% 14.3% 9.88%
1978 47.2% 25.5% 14.3% 9.93%
1977 45.6% 15.2% 12.8% 8.75%
1976 45% 11.4% 11.5% 8.21%
1975 45.3% 7.01% 11.4% 11.9%
1974 43.6% 6.2% 11.4% 13.6%
1973 39.5% 8.94% 9.88% 16.3%
1972 42.1% 11.5% 12.5% 17.6%
1971 42.2% 12.9% 14% 17.9%
1970 24.4% 7.62% 12.3% 19.2%
1969 25.3% 8.36% 12.3% 18.8%
1968 24.3% 9.36% 12.8% 18.3%
1967 22.2% 10.1% 12.5% 17.6%
1966 21.1% 11.2% 11.8% 17.7%
1965 17.1% 12.9% 14% 18.1%
1964 17.6% 14.5% 12.7% 19.5%
1963 18.2% 13.7% 12.4% 21%
1962 17% 15.3% 10.6% 24.4%
1961 15.6% 16.4% 9.97% 26.7%
1960 16.4% 20.1% 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–1991, retrieved 2026-07-08).

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

In 2025, Denmark's government spending was $220B, accounting for 47.6% of its GDP, while Spain spent $852B, or 44.7% of GDP.

Debt-to-GDP ratio is 27.5% in Denmark and 100.4% in Spain, ranking 161/185 and 25/185, respectively.

Government deficit by year

Deficit/surplus
Denmark

Spain
1x
Year Deficit/surplus, % of GDP
Denmark Spain
2025 2.85% -2.5%
2024 4.46% -3.22%
2023 3.43% -3.34%
2022 3.39% -4.59%
2021 4.08% -6.66%
2020 0.36% -10%
2019 4.28% -3.04%
2018 0.81% -2.58%
2017 1.69% -3.1%
2016 0.3% -4.26%
2015 -0.9% -5.26%
2014 1.43% -6.07%
2013 -0.94% -7.49%
2012 -3.2% -11.5%
2011 -1.77% -9.69%
2010 -2.52% -9.49%
2009 -2.75% -11.2%
2008 3.46% -4.56%
2007 5.31% 1.88%
2006 5.29% 2.12%
2005 5.2% 1.23%
2004 2.23% -0.1%
2003 0.14% -0.37%
2002 0.25% -0.32%
2001 1.13% -0.45%
2000 1.79% -1.16%
1999 1.06% -1.24%
1998 -0.28% -2.63%
1997 -1.22% -3.86%
1996 -2.4% -5.87%
1995 -3.5% -6.79%
1994 -3.85% -6.31%
1993 -3.73% -6.89%
1992 -2.6% -4.26%
1991 -3.15% -4.58%
1990 -1.78% -3.9%
1989 0.3% -3.24%
1988 1.46% -2.95%
1987 2.46% -3.52%
1986 3.23% -5.18%
1985 -1.38% -6.04%
1984 -3.58% -5.25%
1983 -6.29% -4.77%
1982 -8.22% -5.76%
1981 -5.84% -2.88%
1980 -2.32% -2.55%
1979 -0.69% -1.51%
1978 0.41% -1.63%
1977 0.37% -0.24%
1976 0.19% 0.43%
1975 -1.23% 0.26%
1974 3.7% 0.11%
1973 4.97% 1.09%
1972 5.01% 0.24%
1971 4.96% -0.96%
1970 0.7% 0.09%
1969 0.3% -0.06%
1968 -0.06% -0.55%
1967 1.49% -0.32%
1966 0.99% 0.07%
1965 2.13% -0.04%
1964 1.79% 0.18%
1963 1.2% -0.54%
1962 -0.09% 1.27%
1961 1.73% 1.9%
1960 1.25% 0.69%
1959 0.79% 0.54%
1958 0.25% 0.23%
1957 0.26% 1.13%
1956 -0.01% -0.05%
1955 -1.17% 0.6%
1954 -0.84% 0.7%
1953 1.75% 1.02%
1952 1.18% 0.81%
1951 0.79% -0.24%
1950 1.08% -0.44%
1949 0.63% -0.35%
1948 1.07% -1.21%
1947 0.84% -1.09%
1946 2.69% -2.24%
1945 -1.03% -4.56%
1944 0% -5.44%
1943 0% -7.73%
1942 0% -2.48%
1941 0% -4.34%
1940 0% -3.54%
1939 0% -
1938 0.03% -
1937 0.22% -
1936 -1.36% -
1935 -0.97% -0.49%
1934 0.03% -1.17%
1933 1.69% -0.72%
1932 -3.22% -0.3%
1931 -1.67% 0.1%
1930 0.03% 0.3%
1929 0.13% -0.07%
1928 -4.99% -0.31%
1927 -2.33% -0.54%
1926 -0.48% -0.65%
1925 -3.1% -1.19%
1924 -0.8% -1.76%
1923 -0.56% -1.89%
1922 -1.33% -2.26%
1921 -2.41% -3.33%
1920 -0.46% -2.4%
1919 -0.38% -1.82%
1918 1.95% -1.8%
1917 3.1% -1.49%
1916 1.51% -1.15%
1915 -0.48% -2.97%
1914 0.43% -1.04%
1913 0.07% -0.09%
1912 0.13% -0.33%
1911 -1.02% 0.19%
1910 -1.72% 0.09%
1909 -2.49% -0.29%
1908 -0.82% 0.59%
1907 0.26% 0.66%
1906 -0.42% 0.91%
1905 0.22% 0.71%
1904 -0.1% 0.52%
1903 0.03% 0.28%
1902 -0.06% 0.74%
1901 -0.71% 0.69%
1900 -0.84% 1.04%
1899 -0.59% 2.75%
1898 -0.43% 0.13%
1897 -0.61% -0.64%
1896 -0.07% 0.46%
1895 -0.17% 0.83%
1894 -0.26% -0.08%
1893 -0.42% 0.87%
1892 -0.73% -0.67%
1891 -0.76% -0.41%
1890 -0.97% -0.4%
1889 -0.55% -0.38%
1888 -0.49% -0.97%
1887 -0.68% -0.73%
1886 -0.39% -0.08%
1885 0.48% -0.78%
1884 1.2% -0.23%
1883 0.73% -0.38%
1882 0.35% 0.38%
1881 0.42% 0.08%
1880 -2.65% -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/denmark/spain | CC BY

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

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

Inflation comparison by year

Inflation
Denmark

Spain
1x
Year Consumer prices inflation
Denmark Spain
2025 1.89% 2.7%
2024 1.37% 2.75%
2023 3.31% 3.53%
2022 7.7% 8.39%
2021 1.85% 3.09%
2020 0.42% -0.32%
2019 0.76% 0.7%
2018 0.81% 1.67%
2017 1.15% 1.96%
2016 0.25% -0.2%
2015 0.45% -0.5%
2014 0.56% -0.15%
2013 0.79% 1.41%
2012 2.4% 2.45%
2011 2.76% 3.2%
2010 2.31% 1.8%
2009 1.3% -0.29%
2008 3.42% 4.08%
2007 1.69% 2.79%
2006 1.92% 3.52%
2005 1.82% 3.37%
2004 1.15% 3.04%
2003 2.08% 3.04%
2002 2.42% 3.07%
2001 2.34% 3.59%
2000 2.9% 3.43%
1999 2.5% 2.31%
1998 1.85% 1.83%
1997 2.18% 1.97%

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

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

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

Top exports between countries

Denmark
Export category Export value
Transport & tourism services $1.46B
Machinery & equipment $821M
Animal & marine products $451M
Textiles & consumer goods $405M
Chemicals & pharma $377M
Business & finance services $247M
Processed food, beverages & tobacco $201M
Manufacturing & construction services $163M
IT & IP services $160M
Metals $129M
Spain
Export category Export value
Machinery & equipment $870M
Chemicals & pharma $610M
Raw agricultural goods $380M
Metals $323M
Transport & tourism services $290M
Business & finance services $280M
Processed food, beverages & tobacco $208M
IT & IP services $160M
Textiles & consumer goods $153M
Raw materials & minerals $123M

Balance of trade

Denmark Spain
Current account balance
$51.8B
2024
$56B
2025
Current account balance ranking
13/190
2024
12/190
2025
Current account balance, % of GDP
+12.2%
2024
+2.94%
2025
Goods imports
$132B
2024
$499B
2025
Goods exports
$172B
2024
$443B
2025
Service imports
$125B
2024
$127B
2025
Service exports
$129B
2024
$256B
2025
Imports of goods and services, % of GDP
59.1%
2025
32.8%
2025
Exports of goods and services, % of GDP
70.1%
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.

Denmark Spain
Economic freedom 79 66.8
Economic freedom ranking 8/197 59/197
Property rights 99.9 88
Government integrity 98 64.2
Judicial effectiveness 89.3 74.3
Tax burden 43.4 58.2
Government spending 34.8 37.3
Fiscal health 98 57.3
Business freedom 90.4 82.6
Labor freedom 65 61.7
Monetary freedom 80.1 78.2
Trade freedom 79.4 79.4
Investment freedom 90 60
Financial freedom 80 60

Economic freedom comparison by year

Denmark
Spain
1x
Year Economic freedom index
Denmark Spain
2026 79 66.8
2025 79.1 66.3
2024 77.8 63.3
2023 77.6 65
2022 78 68.2
2021 77.8 69.9
2020 78.3 66.9
2019 76.7 65.7
2018 76.6 65.1
2017 75.1 63.6
2016 75.3 68.5
2015 76.3 67.6
2014 76.1 67.2
2013 76.1 68
2012 76.2 69.1
2011 78.6 70.2
2010 77.9 69.6
2009 79.6 70.1
2008 79.2 69.1
2007 77 69.2
2006 75.4 68.2
2005 75.3 67
2004 72.4 68.9
2003 73.2 68.8
2002 71.1 68.8
2001 68.3 68.1
2000 68.3 65.9
1999 68.1 65.1
1998 67.5 62.6
1997 67.5 59.6
1996 67.3 59.6
1995 - 62.8

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

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

The Economic Freedom Index for Denmark is 79, ranking 8/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

Denmark Spain
Services, % of GDP
62.7%
2025
68.4%
2025
Industry, % of GDP
24.8%
2025
19.6%
2025
Agriculture, forestry, and fishing, % of GDP
1.17%
2025
2.68%
2025
GNI, Atlas method
$464B
2025
$1.83T
2025
GNI per capita, PPP
$85,460
2025
$59,830
2025
Total reserves including gold
$128B
2025
$129B
2025
Total reserves ranking
24/177
2025
23/177
2025
Net foreign direct investment
$12.5B
2024
$18.3B
2025
Net inflows of foreign direct investment
$18.2B
2024
$42.8B
2024
Net outflows of foreign direct investment
$30.7B
2024
$71.5B
2024
Poverty at national poverty lines
12.4%
2021
20.2%
2022
Gross capital formation, % of GDP
22.1%
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/denmark/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–1991, 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.