Skip to content

Economy of Denmark vs San Marino compared: GDP & Debt

Updated on by Georank team

Denmark has a GDP of $425B compared to $2.03B for San Marino, ranking 37/197 and 180/197 by economy size, respectively.

Denmark has $134B in government debt (31.5% of GDP), compared to $1.39B (63.9% of GDP) in San Marino.

Denmark vs San Marino GDP by year

Denmark
San Marino
1x
Year GDP, current $
Denmark San Marino
2024 $424,524,722,037 -
2023 $404,651,706,118 $2,027,527,228
2022 $400,114,306,337 $1,829,211,864
2021 $406,110,162,088 $1,855,652,786
2020 $355,631,021,932 $1,541,248,249
2019 $345,401,473,013 $1,616,340,692
2018 $355,293,374,912 $1,655,353,653
2017 $331,610,593,962 $1,528,620,346
2016 $312,181,849,372 $1,468,343,140
2015 $301,758,922,338 $1,419,401,071
2014 $352,832,602,064 $1,673,911,426
2013 $344,631,016,965 $1,678,741,475
2012 $326,792,574,245 $1,604,701,299
2011 $344,315,595,263 $1,813,717,439
2010 $322,345,594,075 $1,881,191,925
2009 $322,619,152,195 $2,064,277,126
2008 $354,979,471,960 $2,403,213,305
2007 $320,213,157,595 $2,188,654,628
2006 $283,386,151,544 $1,909,765,165
2005 $265,150,087,712 $1,786,514,058
2004 $251,986,155,631 $1,715,340,543
2003 $218,421,193,436 $1,462,590,267
2002 $178,788,209,558 $1,148,872,072
2001 $164,881,594,415 $1,059,529,812
2000 $164,043,817,224 $1,007,661,367
1999 $177,887,720,536 $1,109,473,368
1998 $176,877,077,513 $1,048,316,226
1997 $173,241,365,735 $976,606,911
1996 $187,481,157,846 -
1995 $184,848,481,008 -
1994 $156,017,919,221 -
1993 $143,111,306,004 -
1992 $152,966,494,260 -
1991 $139,180,507,778 -
1990 $138,217,740,684 -
1989 $112,312,200,761 -
1988 $115,540,189,705 -
1987 $109,183,446,340 -
1986 $87,748,695,217 -
1985 $62,452,421,011 -
1984 $58,868,891,335 -
1983 $60,331,158,447 -
1982 $60,084,214,872 -
1981 $61,459,941,461 -
1980 $70,811,287,816 -
1979 $70,393,030,603 -
1978 $60,320,089,218 -
1977 $49,711,709,588 -
1976 $44,503,607,444 -
1975 $40,418,967,666 -
1974 $34,125,712,481 -
1973 $30,718,181,337 -
1972 $23,230,667,549 -
1971 $19,086,192,720 -
1970 $17,075,457,733 -
1969 $15,414,902,667 -
1968 $13,505,574,133 -
1967 $13,059,064,806 -
1966 $11,931,740,293 -
1965 $10,870,670,865 -
1964 $9,677,401,337 -
1963 $8,466,044,980 -
1962 $7,953,274,741 -
1961 $7,058,361,229 -
1960 $6,361,166,545 -

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

GeoRank.org/economy/denmark/san-marino | CC BY

GDP per capita in Denmark vs San Marino by year

Denmark
GDP per capita

GDP per capita, PPP
San Marino
GDP per capita

GDP per capita, PPP
1x
Year Current $
Denmark San Marino
GDP per capita GDP per capita, PPP GDP per capita GDP per capita, PPP
2024 $71,026 $81,878 - -
2023 $68,044 $77,892 $59,880 $78,745
2022 $67,781 $78,914 $54,191 $75,941
2021 $69,341 $69,715 $54,176 $64,745
2020 $60,985 $62,682 $44,327 $55,207
2019 $59,404 $60,595 $46,630 $57,444
2018 $61,325 $57,234 $47,951 $54,461
2017 $57,522 $55,272 $45,192 $52,463
2016 $54,501 $51,821 $44,359 $53,033
2015 $53,094 $48,897 $43,147 $52,247
2014 $62,520 $47,880 $51,260 $52,909
2013 $61,378 $46,869 $50,808 $50,770
2012 $58,444 $44,755 $47,946 $51,274
2011 $61,810 $44,444 $55,601 $56,240
2010 $58,105 $43,038 $56,543 $58,926
2009 $58,413 $40,524 $62,429 $61,970
2008 $64,617 $41,467 $75,902 $71,724
2007 $58,632 $39,110 $70,124 $71,744
2006 $52,119 $37,392 $63,271 $67,434
2005 $48,926 $34,238 $59,878 $63,739
2004 $46,625 $33,016 $58,232 $61,114
2003 $40,519 $30,864 $52,530 $60,224
2002 $33,257 $30,667 $41,791 $57,584
2001 $30,768 $29,459 $39,035 $57,252
2000 $30,722 $28,648 $37,601 $53,713
1999 $33,426 $26,642 $41,932 $52,064
1998 $33,346 $25,799 $40,127 $47,679
1997 $32,780 $24,887 $37,853 $44,426
1996 $35,622 $23,723 - -
1995 $35,321 $22,677 - -
1994 $29,968 $21,669 - -
1993 $27,582 $20,217 - -
1992 $29,579 $19,830 - -
1991 $27,003 $19,067 - -
1990 $26,886 $18,225 - -
1989 $21,882 - - -
1988 $22,525 - - -
1987 $21,296 - - -
1986 $17,137 - - -
1985 $12,213 - - -
1984 $11,517 - - -
1983 $11,797 - - -
1982 $11,740 - - -
1981 $12,000 - - -
1980 $13,822 - - -
1979 $13,757 - - -
1978 $11,818 - - -
1977 $9,770 - - -
1976 $8,773 - - -
1975 $7,988 - - -
1974 $6,764 - - -
1973 $6,117 - - -
1972 $4,654 - - -
1971 $3,846 - - -
1970 $3,464 - - -
1969 $3,151 - - -
1968 $2,776 - - -
1967 $2,701 - - -
1966 $2,487 - - -
1965 $2,284 - - -
1964 $2,049 - - -
1963 $1,807 - - -
1962 $1,711 - - -
1961 $1,531 - - -
1960 $1,389 - - -

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

GeoRank.org/economy/denmark/san-marino | CC BY

Denmark's GDP per capita is $71,026, ranking 12/197, compared to $59,880 in San Marino, ranking 15/197. Adjusted for purchasing power (GDP per capita PPP), Denmark ranks 14th at $81,878, while San Marino ranks 17th at $78,745.

Economic indicators

Denmark San Marino
Gross domestic product
$425B
2024
$2.03B
2023
GDP rank
37/197
2024
180/197
2023
GDP growth
3.48%
2023-2024
0.4%
2022-2023
GDP per capita
$71,026
2024
$59,880
2023
GDP per capita rank
12/197
2024
15/197
2023
GDP per capita, PPP
$81,878
2024
$78,745
2023
GDP per capita PPP rank
14/197
2024
17/197
2023
Government debt
$134B
2024
$1.39B
2023
Debt-to-GDP ratio
31.5%
2024
63.9%
2024
Government debt per person
$22,340
2024
$40,919
2023
Government debt per person rank
30/185
2024
13/185
2023
Average annual personal income after taxes
$53,468
2026
$45,474
2026
Market capitalization of domestic companies
$151B
2004
n/a
Number of millionaires
376,000
2025
n/a
Number of billionaires
9
2025
n/a
Income share by richest 10%
25.5%
2023
n/a
Income share by poorest 10%
3.6%
2023
n/a
Government expenditure, % of GDP
47.3%
2024
21%
2024
Consumer prices inflation
1.37%
2023-2024
1.2%
2023-2024
Central bank interest rate
1.6%
2025
n/a
Unemployment rate
6.15%
2024
4.91%
2022
Population
6032403
33967

Spending and national debt comparison by year

Denmark
Spending

Debt
San Marino
Spending

Debt
1x
Year % of GDP
Denmark San Marino
Government spending Government debt Government spending Government debt
2024 47.3% 31.5% 21% 63.9%
2023 47.4% 33.8% 21.7% 68.3%
2022 45.1% 34.2% 21.7% 70.6%
2021 49.7% 40.7% 37.1% 77.2%
2020 53.3% 46.3% 59.2% 69.8%
2019 49.8% 38.3% 22.4% 56.2%
2018 50.8% 38.5% 24.5% 56.7%
2017 50.6% 40.2% 25.6% 56.6%
2016 52.4% 41.7% 23.4% 21.4%
2015 54.4% 44.6% 26.3% 19.3%
2014 55.1% 48.7% 23.7% 21%
2013 55.6% 47.8% 30.2% 23.2%
2012 57.9% 48.7% 30.6% 17.2%
2011 56.3% 50% 25.4% 16.6%
2010 56.5% 46.1% 24.4% 20%
2009 56.3% 43% 24.8% 20.1%
2008 50.3% 35.5% 22% 15.5%
2007 49.5% 29.5% 20.7% 12.6%
2006 49.7% 33.2% 19.7% 14.2%
2005 51.1% 39.4% 19.3% 14.5%
2004 52.8% 46.2% 19% 16.9%
2003 53.5% 48.2% - 16.1%
2002 53.1% 50.3% - 17.2%
2001 53% 50.1% - 11.6%
2000 52.9% 53.6% - -
1999 54.7% 56.8% - -
1998 55.6% 60.3% - -
1997 56.2% 64.4% - -
1996 58.2% 68.3% - -
1995 58.7% 71.5% - -
1994 59.5% 75.3% - -
1993 59.5% 78.7% - -
1992 56.4% 66.7% - -
1991 55.5% 63.2% - -
1990 55.1% 62.4% - -
1989 56.2% 62.2% - -
1988 56.1% 64.7% - -
1987 54% 62.5% - -
1986 52.3% 66.8% - -
1985 55.5% 74.7% - -
1984 56.6% 77.7% - -
1983 57.9% 74.2% - -
1982 57.7% 64.5% - -
1981 56.3% 51.7% - -
1980 52.7% 39.2% - -
1979 49.6% 31.8% - -
1978 47.2% 25.5% - -
1977 45.6% 15.2% - -
1976 45% 11.4% - -
1975 45.3% 7.01% - -
1974 43.6% 6.2% - -
1973 39.5% 8.94% - -
1972 42.1% 11.5% - -
1971 42.2% 12.9% - -
1970 24.4% 7.62% - -
1969 25.3% 8.36% - -
1968 24.3% 9.36% - -
1967 22.2% 10.1% - -
1966 21.1% 11.2% - -
1965 17.1% 12.9% - -
1964 17.6% 14.5% - -
1963 18.2% 13.7% - -
1962 17% 15.3% - -
1961 15.6% 16.4% - -
1960 16.4% 20.1% - -

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

GeoRank.org/economy/denmark/san-marino | CC BY

In 2024, Denmark's government spending was $201B, accounting for 47.3% of its GDP, while San Marino spent $440M, or 21% of GDP.

Debt-to-GDP ratio is 31.5% in Denmark and 63.9% in San Marino, ranking 155/185 and 71/185, respectively.

Government deficit by year

Deficit/surplus
Denmark

San Marino
1x
Year Deficit/surplus, % of GDP
Denmark San Marino
2024 4.46% -0.53%
2023 3.43% -0.72%
2022 3.39% 0.42%
2021 4.12% -16.4%
2020 0.36% -37.6%
2019 4.28% -0.11%
2018 0.81% -1.56%
2017 1.69% -3.49%
2016 0.3% -0.19%
2015 -0.9% -3.32%
2014 1.43% 1.06%
2013 -0.94% -7.74%
2012 -3.2% -7.08%
2011 -1.77% -4.05%
2010 -2.52% -2.24%
2009 -2.75% -2.46%
2008 3.46% 0.18%
2007 5.31% 1.83%
2006 5.29% 1.51%
2005 5.2% 3.58%
2004 2.23% 2.44%
2003 0.14% -
2002 0.25% -
2001 1.13% -
2000 1.79% -
1999 1.06% -
1998 -0.28% -
1997 -1.22% -
1996 -2.4% -
1995 -3.5% -
1994 -3.85% -
1993 -3.73% -
1992 -2.6% -
1991 -3.15% -
1990 -1.78% -
1989 0.3% -
1988 1.46% -
1987 2.46% -
1986 3.23% -
1985 -1.38% -
1984 -3.58% -
1983 -6.29% -
1982 -8.22% -
1981 -5.84% -
1980 -2.32% -
1979 -0.69% -
1978 0.41% -
1977 0.37% -
1976 0.19% -
1975 -1.23% -
1974 3.7% -
1973 4.97% -
1972 5.01% -
1971 4.96% -
1970 0.7% -
1969 0.3% -
1968 -0.06% -
1967 1.49% -
1966 0.99% -
1965 2.13% -
1964 1.79% -
1963 1.2% -
1962 -0.09% -
1961 1.73% -
1960 1.25% -
1959 0.79% -
1958 0.25% -
1957 0.26% -
1956 -0.01% -
1955 -1.17% -
1954 -0.84% -
1953 1.75% -
1952 1.18% -
1951 0.79% -
1950 1.08% -
1949 0.63% -
1948 1.07% -
1947 0.84% -
1946 2.69% -
1945 -1.03% -
1944 0% -
1943 0% -
1942 0% -
1941 0% -
1940 0% -
1939 0% -
1938 0.03% -
1937 0.22% -
1936 -1.36% -
1935 -0.97% -
1934 0.03% -
1933 1.69% -
1932 -3.22% -
1931 -1.67% -
1930 0.03% -
1929 0.13% -
1928 -4.99% -
1927 -2.33% -
1926 -0.48% -
1925 -3.1% -
1924 -0.8% -
1923 -0.56% -
1922 -1.33% -
1921 -2.41% -
1920 -0.46% -
1919 -0.38% -
1918 1.95% -
1917 3.1% -
1916 1.51% -
1915 -0.48% -
1914 0.43% -
1913 0.07% -
1912 0.13% -
1911 -1.02% -
1910 -1.72% -
1909 -2.49% -
1908 -0.82% -
1907 0.26% -
1906 -0.42% -
1905 0.22% -
1904 -0.1% -
1903 0.03% -
1902 -0.06% -
1901 -0.71% -
1900 -0.84% -
1899 -0.59% -
1898 -0.43% -
1897 -0.61% -
1896 -0.07% -
1895 -0.17% -
1894 -0.26% -
1893 -0.42% -
1892 -0.73% -
1891 -0.76% -
1890 -0.97% -
1889 -0.55% -
1888 -0.49% -
1887 -0.68% -
1886 -0.39% -
1885 0.48% -
1884 1.2% -
1883 0.73% -
1882 0.35% -
1881 0.42% -
1880 -2.65% -

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

GeoRank.org/economy/denmark/san-marino | CC BY

In 2023, Denmark's government surplus, the difference between spending and revenue, was $13.9B, equivalent to 3.43% of GDP. This compares to San Marino's deficit of $14.7M, or 0.72% of GDP.

Over the past 20 years, Denmark recorded a fiscal deficit in 6 of those years, while San Marino ran a deficit in 13 years. On average, Denmark posted an annual surplus equal to 1.46% of GDP, compared to deficit of 3.8% of GDP for San Marino.

Inflation comparison by year

Inflation
Denmark

San Marino
1x
Year Consumer prices inflation
Denmark San Marino
2024 1.37% 1.2%
2023 3.31% 5.9%
2022 7.7% 5.3%
2021 1.85% 1.6%
2020 0.42% -0.1%
2019 0.76% 0.5%
2018 0.81% 1.2%
2017 1.15% 1%
2016 0.25% 0.6%
2015 0.45% 0.1%
2014 0.56% 1.1%
2013 0.79% 1.6%
2012 2.4% 2.8%
2011 2.76% 2.2%
2010 2.31% 2.4%
2009 1.3% 2.4%
2008 3.42% 4.1%
2007 1.69% 2.5%
2006 1.92% 2.1%
2005 1.82% 1.7%
2004 1.15% 1.4%
2003 2.08% 1.3%
2002 2.42% -
2001 2.34% -
2000 2.9% -
1999 2.5% -
1998 1.85% -
1997 2.18% -

Data sources: World Bank | Economy & Growth (1997–2024, retrieved 2026-04-06); International Monetary Fund (IMF) | World Economic Outlook (2003–2024, retrieved 2026-02-20).

GeoRank.org/economy/denmark/san-marino | CC BY

Over the past 22 years, Denmark has recorded an average annual inflation rate of 1.83%, compared with 1.95% in San Marino. In 2024, inflation was 1.37% in Denmark and 1.2% in San Marino.

Balance of trade

Denmark San Marino
Current account balance
$52.1B
2024
$446M
2023
Current account balance ranking
14/190
2024
64/190
2023
Current account balance, % of GDP
+12.3%
2024
+22%
2023
Goods imports
$132B
2024
$2.25B
2023
Goods exports
$172B
2024
$2.53B
2023
Service imports
$125B
2024
$894M
2023
Service exports
$129B
2024
$1.25B
2023
Imports of goods and services, % of GDP
60.8%
2024
155%
2023
Exports of goods and services, % of GDP
71%
2024
186%
2023

Economic freedom indices

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

Denmark San Marino
Economic freedom 79 76
Economic freedom ranking 8/197 16/197
Property rights 99.9 n/a
Government integrity 98 n/a
Judicial effectiveness 89.3 n/a
Tax burden 43.4 n/a
Government spending 34.8 n/a
Fiscal health 98 n/a
Business freedom 90.4 n/a
Labor freedom 65 n/a
Monetary freedom 80.1 n/a
Trade freedom 79.4 n/a
Investment freedom 90 n/a
Financial freedom 80 n/a

Other economic metrics

Denmark San Marino
Services, % of GDP
63.5%
2024
56.9%
2023
Industry, % of GDP
24.1%
2024
35.8%
2023
Agriculture, forestry, and fishing, % of GDP
0.93%
2024
0.02%
2023
GNI, Atlas method
$434B
2024
$1.82B
2023
GNI per capita, PPP
$84,680
2024
$71,860
2023
Total reserves including gold
$108B
2024
$759M
2024
Total reserves ranking
25/177
2024
146/177
2024
Net foreign direct investment
$11.9B
2024
$52.7M
2023
Net inflows of foreign direct investment
$18.5B
2024
-$18.1M
2023
Net outflows of foreign direct investment
$30.7B
2024
$0
2024
Poverty at national poverty lines
12.4%
2021
n/a
Gross capital formation, % of GDP
23.2%
2024
16.6%
2023

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/denmark/san-marino | 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 (1880–1991, retrieved 2026-02-20)
  3. International Monetary Fund (IMF) | Fiscal Monitor (1990–2024, retrieved 2026-02-20)
  4. U.S. Census Bureau (1985–2024, retrieved 2026-02-08)
  5. The Heritage Foundation | Economic Freedom Index (2026, retrieved 2026-03-09)
  6. United Nations | World Population Prospects (2026, retrieved 2026-03-10)
  7. 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.