Skip to content

Economy of Portugal vs San Marino compared: GDP & Debt

Updated on by Georank team

Portugal has a GDP of $313B compared to $2.03B for San Marino, ranking 46/197 and 180/197 by economy size, respectively.

Portugal has $297B in government debt (94.9% of GDP), compared to $1.39B (63.9% of GDP) in San Marino.

Portugal vs San Marino GDP by year

Portugal
San Marino
1x
Year GDP, current $
Portugal San Marino
2024 $313,271,185,085 -
2023 $292,323,800,949 $2,027,527,228
2022 $256,898,677,175 $1,829,211,864
2021 $256,055,879,091 $1,855,652,786
2020 $229,618,773,423 $1,541,248,249
2019 $240,115,970,063 $1,616,340,692
2018 $242,092,894,543 $1,655,353,653
2017 $220,862,990,767 $1,528,620,346
2016 $206,305,431,242 $1,468,343,140
2015 $199,038,523,120 $1,419,401,071
2014 $230,078,616,300 $1,673,911,426
2013 $226,677,408,292 $1,678,741,475
2012 $216,536,676,772 $1,604,701,299
2011 $245,426,767,676 $1,813,717,439
2010 $238,443,864,993 $1,881,191,925
2009 $244,667,762,836 $2,064,277,126
2008 $263,416,394,624 $2,403,213,305
2007 $240,496,147,317 $2,188,654,628
2006 $208,756,449,276 $1,909,765,165
2005 $197,253,876,705 $1,786,514,058
2004 $189,382,122,532 $1,715,340,543
2003 $165,226,175,537 $1,462,590,267
2002 $134,795,565,549 $1,148,872,072
2001 $121,604,107,165 $1,059,529,812
2000 $118,605,192,877 $1,007,661,367
1999 $127,470,385,557 $1,109,473,368
1998 $123,946,327,916 $1,048,316,226
1997 $117,016,535,163 $976,606,911
1996 $122,630,089,680 -
1995 $118,122,007,430 -
1994 $99,688,641,304 -
1993 $95,009,751,901 -
1992 $107,592,098,307 -
1991 $89,233,599,278 -
1990 $78,713,860,217 -
1989 $60,594,092,182 -
1988 $56,347,250,696 -
1987 $48,182,925,857 -
1986 $38,745,901,354 -
1985 $27,115,807,742 -
1984 $25,217,969,050 -
1983 $27,239,650,742 -
1982 $30,527,754,793 -
1981 $31,977,276,873 -
1980 $32,896,519,824 -
1979 $26,622,819,672 -
1978 $23,487,614,051 -
1977 $21,439,523,311 -
1976 $20,332,831,565 -
1975 $19,347,607,843 -
1974 $17,512,391,476 -
1973 $15,090,564,186 -
1972 $11,239,117,865 -
1971 $9,201,604,240 -
1970 $8,108,235,704 -
1969 $7,287,555,035 -
1968 $6,644,693,214 -
1967 $6,002,607,030 -
1966 $5,370,108,031 -
1965 $4,901,711,248 -
1964 $4,429,202,657 -
1963 $4,084,251,593 -
1962 $3,835,883,663 -
1961 $3,573,719,085 -
1960 $3,339,150,158 -

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

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

GDP per capita in Portugal vs San Marino by year

Portugal
GDP per capita

GDP per capita, PPP
San Marino
GDP per capita

GDP per capita, PPP
1x
Year Current $
Portugal San Marino
GDP per capita GDP per capita, PPP GDP per capita GDP per capita, PPP
2024 $29,292 $51,680 - -
2023 $27,635 $49,353 $59,880 $78,745
2022 $24,621 $45,250 $54,191 $75,941
2021 $24,711 $38,658 $54,176 $64,745
2020 $22,299 $35,967 $44,327 $55,207
2019 $23,343 $37,866 $46,630 $57,444
2018 $23,541 $34,897 $47,951 $54,461
2017 $21,442 $32,971 $45,192 $52,463
2016 $19,980 $31,589 $44,359 $53,033
2015 $19,216 $29,608 $43,147 $52,247
2014 $22,121 $28,765 $51,260 $52,909
2013 $21,676 $27,966 $50,808 $50,770
2012 $20,593 $26,476 $47,946 $51,274
2011 $23,247 $26,803 $55,601 $56,240
2010 $22,552 $27,292 $56,543 $58,926
2009 $23,151 $26,472 $62,429 $61,970
2008 $24,949 $26,666 $75,902 $71,724
2007 $22,811 $25,738 $70,124 $71,744
2006 $19,839 $24,677 $63,271 $67,434
2005 $18,780 $22,725 $59,878 $63,739
2004 $18,064 $21,476 $58,232 $61,114
2003 $15,798 $20,850 $52,530 $60,224
2002 $12,937 $20,357 $41,791 $57,584
2001 $11,735 $19,529 $39,035 $57,252
2000 $11,526 $18,883 $37,601 $53,713
1999 $12,475 $17,718 $41,932 $52,064
1998 $12,199 $16,688 $40,127 $47,679
1997 $11,576 $15,789 $37,853 $44,426
1996 $12,185 $14,922 - -
1995 $11,781 $14,406 - -
1994 $9,977 $13,578 - -
1993 $9,535 $13,202 - -
1992 $10,811 $13,182 - -
1991 $8,959 $12,739 - -
1990 $7,885 $11,780 - -
1989 $6,056 - - -
1988 $5,624 - - -
1987 $4,804 - - -
1986 $3,862 - - -
1985 $2,705 - - -
1984 $2,523 - - -
1983 $2,735 - - -
1982 $3,080 - - -
1981 $3,246 - - -
1980 $3,368 - - -
1979 $2,756 - - -
1978 $2,457 - - -
1977 $2,267 - - -
1976 $2,173 - - -
1975 $2,128 - - -
1974 $2,000 - - -
1973 $1,748 - - -
1972 $1,302 - - -
1971 $1,065 - - -
1970 $934 - - -
1969 $832 - - -
1968 $752 - - -
1967 $676 - - -
1966 $601 - - -
1965 $545 - - -
1964 $490 - - -
1963 $452 - - -
1962 $426 - - -
1961 $400 - - -
1960 $377 - - -

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

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

Portugal's GDP per capita is $29,292, ranking 44/197, compared to $59,880 in San Marino, ranking 15/197. Adjusted for purchasing power (GDP per capita PPP), Portugal ranks 42nd at $51,680, while San Marino ranks 17th at $78,745.

Economic indicators

Portugal San Marino
Gross domestic product
$313B
2024
$2.03B
2023
GDP rank
46/197
2024
180/197
2023
GDP growth
2.14%
2023-2024
0.4%
2022-2023
GDP per capita
$29,292
2024
$59,880
2023
GDP per capita rank
44/197
2024
15/197
2023
GDP per capita, PPP
$51,680
2024
$78,745
2023
GDP per capita PPP rank
42/197
2024
17/197
2023
Government debt
$297B
2024
$1.39B
2023
Debt-to-GDP ratio
94.9%
2024
63.9%
2024
Government debt per person
$27,807
2024
$40,919
2023
Government debt per person rank
27/185
2024
13/185
2023
Average annual personal income after taxes
$16,747
2026
$45,474
2026
Market capitalization of domestic companies
$61.9B
2018
n/a
Number of millionaires
171,797
2025
n/a
Number of billionaires
1
2025
n/a
Income share by richest 10%
26.9%
2023
n/a
Income share by poorest 10%
2.7%
2023
n/a
Government expenditure, % of GDP
42.8%
2024
21%
2024
Consumer prices inflation
2.42%
2023-2024
1.2%
2023-2024
Unemployment rate
6.43%
2024
4.91%
2022
Population
10667081
33967

Spending and national debt comparison by year

Portugal
Spending

Debt
San Marino
Spending

Debt
1x
Year % of GDP
Portugal San Marino
Government spending Government debt Government spending Government debt
2024 42.8% 94.9% 21% 63.9%
2023 42.3% 97.7% 21.7% 68.3%
2022 43.9% 111.2% 21.7% 70.6%
2021 47.3% 123.9% 37.1% 77.2%
2020 49.1% 134.1% 59.2% 69.8%
2019 42.5% 116.1% 22.4% 56.2%
2018 43.3% 121.1% 24.5% 56.7%
2017 45.5% 126% 25.6% 56.6%
2016 44.9% 131.2% 23.4% 21.4%
2015 48.2% 131% 26.3% 19.3%
2014 51.7% 132.5% 23.7% 21%
2013 50% 130.8% 30.2% 23.2%
2012 48.8% 128.6% 30.6% 17.2%
2011 50% 114% 25.4% 16.6%
2010 51.9% 100.1% 24.4% 20%
2009 50.3% 87.8% 24.8% 20.1%
2008 45.5% 75.6% 22% 15.5%
2007 44.5% 72.7% 20.7% 12.6%
2006 45.1% 73.7% 19.7% 14.2%
2005 46.8% 72.2% 19.3% 14.5%
2004 46.1% 67.1% 19% 16.9%
2003 45.4% 63.9% - 16.1%
2002 44.2% 60% - 17.2%
2001 44.1% 57.4% - 11.6%
2000 42.8% 54.2% - -
1999 42.5% 55.4% - -
1998 42.6% 55.6% - -
1997 42.4% 58.7% - -
1996 43% 63.3% - -
1995 42.6% 62.2% - -
1994 42.8% 60.4% - -
1993 46.5% 57.2% - -
1992 48.2% 58.1% - -
1991 45.9% 63.9% - -
1990 42.2% 60.2% - -
1989 36.2% 55.4% - -
1988 36.2% 56.8% - -
1987 37.5% 57.2% - -
1986 38.9% 59.8% - -
1985 37.5% 59.4% - -
1984 34.6% 51.3% - -
1983 34.7% 46.7% - -
1982 35.8% 43% - -
1981 35.3% 39.3% - -
1980 32.4% 31% - -
1979 30.8% 35.2% - -
1978 31.7% 31.4% - -
1977 35.1% 26.9% - -
1976 38.2% 24.5% - -
1975 31.9% 19.2% - -
1974 25.8% 13.5% - -
1973 25.7% 13.6% - -
1972 22.8% 14.5% - -
1971 15.5% 15.7% - -
1970 15.5% 16.5% - -
1969 14.9% 16.8% - -
1968 14.3% 17.2% - -
1967 14.1% 18.5% - -
1966 14.4% 20.2% - -
1965 13.4% 20.4% - -
1964 13.9% 21.9% - -
1963 14.6% 20.8% - -
1962 14.5% 18.7% - -
1961 14.6% 17.1% - -
1960 14.3% 16.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/san-marino | CC BY

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

Debt-to-GDP ratio is 94.9% in Portugal and 63.9% in San Marino, ranking 27/185 and 71/185, respectively.

Government deficit by year

Deficit/surplus
Portugal

San Marino
1x
Year Deficit/surplus, % of GDP
Portugal San Marino
2024 0.7% -0.53%
2023 1.21% -0.72%
2022 -0.31% 0.42%
2021 -2.83% -16.4%
2020 -5.75% -37.6%
2019 0.12% -0.11%
2018 -0.43% -1.56%
2017 -3% -3.49%
2016 -1.94% -0.19%
2015 -4.37% -3.32%
2014 -7.32% 1.06%
2013 -5.21% -7.74%
2012 -6.2% -7.08%
2011 -7.73% -4.05%
2010 -11.4% -2.24%
2009 -9.87% -2.46%
2008 -3.81% 0.18%
2007 -2.91% 1.83%
2006 -4.07% 1.51%
2005 -6.11% 3.58%
2004 -5.99% 2.44%
2003 -5.66% -
2002 -3.73% -
2001 -4.73% -
2000 -3.35% -
1999 -2.99% -
1998 -4.3% -
1997 -3.65% -
1996 -4.63% -
1995 -5.14% -
1994 -7.37% -
1993 -8.06% -
1992 -5.19% -
1991 -7.93% -
1990 -6.82% -
1989 -2.86% -
1988 -3.52% -
1987 -6.79% -
1986 -7.45% -
1985 -8.35% -
1984 -5.23% -
1983 -4.86% -
1982 -7.02% -
1981 -8.34% -
1980 -6.92% -
1979 -6.08% -
1978 -7.15% -
1977 -7.5% -
1976 -10.2% -
1975 -7.1% -
1974 -3.2% -
1973 -5.39% -
1972 -7.72% -
1971 -0.23% -
1970 -0.24% -
1969 -1.53% -
1968 -1.24% -
1967 -0.46% -
1966 -2% -
1965 -0.03% -
1964 -1.93% -
1963 -3.33% -
1962 -1.69% -
1961 -3.17% -
1960 -3.13% -
1959 -1.73% -
1958 -0.52% -
1957 0.08% -
1956 -0.18% -
1955 -0.31% -
1954 -0.58% -
1953 -0.35% -
1952 -0.34% -
1951 0.94% -
1950 -0.83% -
1949 -0.46% -
1948 -2.04% -
1947 -1.65% -
1946 -2.32% -
1945 -2.38% -
1944 -1.44% -
1943 0.03% -
1942 -0.35% -
1941 -0.08% -
1940 -1.74% -
1939 -0.73% -
1938 -0.08% -
1937 -0.09% -
1936 0.08% -
1935 0.75% -
1934 0.6% -
1933 -0.07% -
1932 -0.03% -
1931 0.04% -
1930 0.79% -
1929 1.86% -
1928 0.2% -
1927 -2.27% -
1926 -4.21% -
1925 -1.48% -
1924 -3.16% -
1923 -3.47% -
1922 -10% -
1921 -6.5% -
1920 -5.66% -
1919 -8.83% -
1918 -8.3% -
1917 -5.49% -
1916 - -
1915 - -
1914 - -
1913 -0.34% -
1912 -0.02% -
1911 -0.73% -
1910 -0.19% -
1909 -0.82% -
1908 -0.56% -
1907 -0.69% -
1906 -0.45% -
1905 -0.75% -
1904 -0.26% -
1903 -0.91% -
1902 -0.5% -
1901 -0.69% -
1900 -0.35% -
1899 -0.77% -
1898 -0.5% -
1897 -0.93% -
1896 -1.35% -
1895 -0.2% -
1894 -0.16% -
1893 -0.02% -
1892 -0.8% -
1891 -2.15% -
1890 -2.01% -
1889 -1.95% -
1888 -2.14% -
1887 -0.67% -
1886 -1.43% -
1885 -1.68% -
1884 -1.48% -
1883 -1.1% -
1882 -0.39% -
1881 -1.2% -
1880 -1.63% -

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

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

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

Inflation comparison by year

Inflation
Portugal

San Marino
1x
Year Consumer prices inflation
Portugal San Marino
2024 2.42% 1.2%
2023 4.31% 5.9%
2022 7.83% 5.3%
2021 1.27% 1.6%
2020 -0.01% -0.1%
2019 0.34% 0.5%
2018 0.99% 1.2%
2017 1.37% 1%
2016 0.61% 0.6%
2015 0.49% 0.1%
2014 -0.28% 1.1%
2013 0.27% 1.6%
2012 2.77% 2.8%
2011 3.65% 2.2%
2010 1.4% 2.4%
2009 -0.84% 2.4%
2008 2.59% 4.1%
2007 2.45% 2.5%
2006 3.11% 2.1%
2005 2.28% 1.7%
2004 2.37% 1.4%
2003 3.22% 1.3%
2002 3.6% -
2001 4.37% -
2000 2.85% -
1999 2.34% -
1998 2.57% -
1997 2.34% -

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

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

Balance of trade

Portugal San Marino
Current account balance
$6.51B
2024
$446M
2023
Current account balance ranking
28/190
2024
64/190
2023
Current account balance, % of GDP
+2.08%
2024
+22%
2023
Goods imports
$109B
2024
$2.25B
2023
Goods exports
$81.4B
2024
$2.53B
2023
Service imports
$27.9B
2024
$894M
2023
Service exports
$62.7B
2024
$1.25B
2023
Imports of goods and services, % of GDP
43.9%
2024
155%
2023
Exports of goods and services, % of GDP
45.8%
2024
186%
2023

Economic freedom indices

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

Portugal San Marino
Economic freedom 71.2 76
Economic freedom ranking 33/197 16/197
Property rights 88.9 n/a
Government integrity 63.4 n/a
Judicial effectiveness 90.1 n/a
Tax burden 60.6 n/a
Government spending 44.6 n/a
Fiscal health 82 n/a
Business freedom 83.1 n/a
Labor freedom 54.8 n/a
Monetary freedom 77.7 n/a
Trade freedom 79.4 n/a
Investment freedom 70 n/a
Financial freedom 60 n/a

Other economic metrics

Portugal San Marino
Services, % of GDP
66.3%
2024
56.9%
2023
Industry, % of GDP
18.7%
2024
35.8%
2023
Agriculture, forestry, and fishing, % of GDP
2.02%
2024
0.02%
2023
GNI, Atlas method
$288B
2024
$1.82B
2023
GNI per capita, PPP
$50,730
2024
$71,860
2023
Total reserves including gold
$42.4B
2024
$759M
2024
Total reserves ranking
48/177
2024
146/177
2024
Net foreign direct investment
-$6.64B
2024
$52.7M
2023
Net inflows of foreign direct investment
$13.5B
2024
-$18.1M
2023
Net outflows of foreign direct investment
$6.84B
2024
$0
2024
Poverty at national poverty lines
16.4%
2021
n/a
Gross capital formation, % of GDP
20.4%
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/portugal/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–1989, 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.