Skip to content

Economy of Panama vs San Marino compared: GDP & Debt

Updated on by Georank

Panama has a GDP of $90.5B compared to $2.03B for San Marino, ranking 82/197 and 180/197 by economy size, respectively.

Panama has $51.2B in government debt (56.6% of GDP), compared to $1.39B (60.6% of GDP) in San Marino.

Panama vs San Marino GDP by year

Panama
San Marino
1x
Year GDP, current $
Panama San Marino
2025 $90,462,600,000 -
2024 $86,523,959,100 -
2023 $83,812,155,200 $2,027,243,194
2022 $76,479,304,500 $1,831,701,023
2021 $67,396,392,500 $1,855,395,712
2020 $57,059,846,500 $1,544,713,785
2019 $69,778,991,200 $1,616,231,696
2018 $67,316,471,200 $1,655,354,329
2017 $64,327,688,800 $1,528,621,193
2016 $59,760,858,700 $1,468,342,400
2015 $55,767,806,100 $1,419,400,396
2014 $51,427,104,900 $1,673,910,988
2013 $46,949,496,500 $1,678,741,202
2012 $41,595,439,700 $1,604,701,051
2011 $35,687,738,300 $1,813,717,695
2010 $30,231,009,500 $1,881,191,950
2009 $27,791,215,500 $2,064,277,984
2008 $25,721,328,000 $2,403,214,436
2007 $21,717,433,800 $2,188,653,429
2006 $18,659,721,500 $1,909,765,811
2005 $16,623,906,700 $1,786,513,631
2004 $15,100,203,400 $1,715,341,295
2003 $13,603,456,000 $1,462,590,387
2002 $12,800,851,300 $1,148,872,076
2001 $12,252,906,300 $1,059,529,731
2000 $11,966,497,000 $1,007,661,291
1999 $11,660,704,800 $1,109,473,282
1998 $11,019,557,700 $1,048,316,226
1997 $10,058,854,400 $976,606,911
1996 $9,197,503,300 -
1995 $9,573,813,700 -
1994 $9,365,289,800 -
1993 $8,782,585,400 -
1992 $8,042,337,700 -
1991 $7,074,675,500 -
1990 $6,433,967,000 -
1989 $5,918,469,800 -
1988 $5,902,783,400 -
1987 $6,827,665,300 -
1986 $6,797,834,200 -
1985 $6,541,517,100 -
1984 $6,183,387,100 -
1983 $5,923,755,900 -
1982 $5,769,767,900 -
1981 $5,222,421,500 -
1980 $4,614,086,400 -
1979 $3,704,551,600 -
1978 $3,244,558,600 -
1977 $2,738,261,900 -
1976 $2,588,106,000 -
1975 $2,435,304,100 -
1974 $2,188,307,600 -
1973 $1,913,793,400 -
1972 $1,673,411,700 -
1971 $1,523,917,200 -
1970 $1,351,006,400 -
1969 $1,221,305,700 -
1968 $1,112,791,100 -
1967 $1,034,376,400 -
1966 $928,833,000 -
1965 $852,485,300 -
1964 $776,137,500 -
1963 $722,784,500 -
1962 $652,120,900 -
1961 $599,026,300 -
1960 $537,147,100 -

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

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

GDP per capita in Panama vs San Marino by year

Panama
GDP per capita

GDP per capita, PPP
San Marino
GDP per capita

GDP per capita, PPP
1x
Year Current $
Panama San Marino
GDP per capita GDP per capita, PPP GDP per capita GDP per capita, PPP
2025 $19,790 - - -
2024 $19,161 $41,369 - -
2023 $18,797 $39,813 $59,871 $78,745
2022 $17,379 $36,333 $54,265 $75,941
2021 $15,510 $30,933 $54,169 $64,745
2020 $13,291 $27,017 $44,427 $55,207
2019 $16,478 $33,240 $46,627 $57,444
2018 $16,151 $32,464 $47,951 $54,461
2017 $15,695 $33,533 $45,192 $52,463
2016 $14,832 $30,277 $44,359 $53,033
2015 $14,083 $27,245 $43,147 $52,247
2014 $13,213 $24,376 $51,260 $52,909
2013 $12,273 $21,924 $50,808 $50,770
2012 $11,065 $19,473 $47,946 $51,274
2011 $9,662 $17,474 $55,601 $56,240
2010 $8,331 $15,573 $56,543 $58,926
2009 $7,797 $14,766 $62,429 $61,970
2008 $7,348 $14,705 $75,902 $71,724
2007 $6,318 $13,333 $70,124 $71,744
2006 $5,529 $11,685 $63,271 $67,434
2005 $5,018 $10,511 $59,878 $63,739
2004 $4,645 $9,592 $58,232 $61,114
2003 $4,265 $8,801 $52,530 $60,224
2002 $4,091 $8,370 $41,791 $57,584
2001 $3,992 $8,197 $39,035 $57,252
2000 $3,975 $8,097 $37,601 $53,713
1999 $3,950 $7,749 $41,932 $52,064
1998 $3,808 $7,408 $40,127 $47,679
1997 $3,546 $6,895 $37,853 $44,426
1996 $3,308 $6,421 - -
1995 $3,514 $6,182 - -
1994 $3,508 $6,073 - -
1993 $3,358 $5,902 - -
1992 $3,140 $5,582 - -
1991 $2,821 $5,150 - -
1990 $2,620 $4,651 - -
1989 $2,462 - - -
1988 $2,509 - - -
1987 $2,966 - - -
1986 $3,019 - - -
1985 $2,972 - - -
1984 $2,875 - - -
1983 $2,819 - - -
1982 $2,811 - - -
1981 $2,605 - - -
1980 $2,357 - - -
1979 $1,938 - - -
1978 $1,738 - - -
1977 $1,503 - - -
1976 $1,457 - - -
1975 $1,406 - - -
1974 $1,296 - - -
1973 $1,164 - - -
1972 $1,046 - - -
1971 $979 - - -
1970 $893 - - -
1969 $830 - - -
1968 $778 - - -
1967 $745 - - -
1966 $689 - - -
1965 $651 - - -
1964 $611 - - -
1963 $587 - - -
1962 $546 - - -
1961 $516 - - -
1960 $477 - - -

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

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

Panama's GDP per capita is $19,790, ranking 62/197, compared to $59,871 in San Marino, ranking 20/197. Adjusted for purchasing power (GDP per capita PPP), Panama ranks 56th at $41,369, while San Marino ranks 17th at $78,745.

Economic indicators

Panama San Marino
Gross domestic product
$90.5B
2025
$2.03B
2023
GDP rank
82/197
2025
180/197
2023
GDP growth
4.35%
2024-2025
0.4%
2022-2023
GDP per capita
$19,790
2025
$59,871
2023
GDP per capita rank
62/197
2025
20/197
2023
GDP per capita, PPP
$41,369
2024
$78,745
2023
GDP per capita PPP rank
56/197
2024
17/197
2023
Government debt
$51.2B
2025
$1.39B
2023
Debt-to-GDP ratio
56.6%
2025
60.6%
2025
Government debt per person
$11,198
2025
$40,914
2023
Government debt per person rank
56/185
2025
17/185
2023
Average annual personal income after taxes
$11,056
2026
$46,440
2026
Market capitalization of domestic companies
$27.2B
2025
n/a
Income share by richest 10%
37.6%
2024
n/a
Income share by poorest 10%
1.2%
2024
n/a
Government expenditure, % of GDP
20.9%
2025
22%
2025
Consumer prices inflation
-0.19%
2024-2025
2.3%
2024-2025
Unemployment rate
8.31%
2025
4.92%
2022
Population
4654479
34159

Spending and national debt comparison by year

Panama
Spending

Debt
San Marino
Spending

Debt
1x
Year % of GDP
Panama San Marino
Government spending Government debt Government spending Government debt
2025 20.9% 56.6% 22% 60.6%
2024 23.1% 57.8% 20.9% 62.9%
2023 21.4% 54.4% 21.7% 68.3%
2022 21.3% 56.2% 21.7% 70.6%
2021 23.7% 58% 37.1% 77.2%
2020 27% 62.4% 59.2% 69.8%
2019 20.5% 42.5% 22.4% 56.2%
2018 21.7% 36.3% 24.5% 56.7%
2017 21.1% 34.3% 25.6% 56.6%
2016 21.3% 34% 23.4% 21.4%
2015 21.4% 34.1% 26.3% 19.3%
2014 22.9% 32.9% 23.7% 21%
2013 23.6% 30.8% 30.2% 23.2%
2012 23% 31.3% 30.6% 17.2%
2011 23.7% 35.9% 25.4% 16.6%
2010 24.4% 38.5% 24.4% 20%
2009 22.9% 39.5% 24.8% 20.1%
2008 23% 40.6% 22% 15.5%
2007 22.2% 48.2% 20.7% 12.6%
2006 22.4% 56.1% 19.7% 14.2%
2005 23.2% 61.5% 19.3% 14.5%
2004 24.4% 61.5% 19% 16.9%
2003 25.7% 59.9% - 16.1%
2002 25.1% 60.9% - 17.2%
2001 25.2% 62.1% - 11.6%
2000 24.7% 58% - -
1999 25.2% 60.4% - -
1998 25.9% 64.3% - -
1997 24.8% 67.3% - -
1996 24.3% 73.6% - -
1995 29.3% 86.7% - -
1994 28.5% 88.7% - -
1993 33.8% 83.6% - -
1992 27.8% 91.2% - -
1991 20.9% 103.7% - -
1990 41.5% 112.7% - -
1989 43% 104.4% - -
1988 41.8% 105% - -
1987 40.1% 92.2% - -
1986 38.6% 84% - -
1985 39.7% 82.5% - -
1984 44% 82.5% - -
1983 44.6% 86.6% - -
1982 48% 80.9% - -
1981 30.7% 68.7% - -
1980 30.5% 69.4% - -
1979 35% 78.9% - -
1978 27.6% 83.1% - -
1977 16.9% 77.7% - -
1976 15.9% 69.7% - -
1975 15.3% 52.6% - -
1974 15.3% 37.6% - -
1973 14.4% 32.6% - -
1972 15.6% 29.5% - -
1971 15% 26.2% - -
1970 22.4% 25.7% - -
1969 20.5% 23.2% - -
1968 14.2% 18% - -
1967 14.9% 17.8% - -
1966 14% 17.9% - -
1965 13.2% 18.7% - -
1964 14.1% 20% - -
1963 19.1% 22.6% - -
1962 16.4% 19.8% - -
1961 18.9% 20.5% - -
1960 16.6% 21% - -

Data sources: International Monetary Fund (IMF) | Fiscal Monitor (1994–2025, retrieved 2026-07-08); International Monetary Fund (IMF) | Public Finances in Modern History (1960–1993, retrieved 2026-07-08).

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

In 2025, Panama's government spending was $18.9B, accounting for 20.9% of its GDP, while San Marino spent $439M, or 22% of GDP.

Debt-to-GDP ratio is 56.6% in Panama and 60.6% in San Marino, ranking 84/185 and 75/185, respectively.

Government deficit by year

Deficit/surplus
Panama

San Marino
1x
Year Deficit/surplus, % of GDP
Panama San Marino
2025 -3.67% -1%
2024 -6.23% 0.39%
2023 -3.9% -0.72%
2022 -3.98% 0.42%
2021 -6.45% -16.4%
2020 -9.68% -37.6%
2019 -2.74% -0.11%
2018 -2.76% -1.56%
2017 -1.8% -3.49%
2016 -1.76% -0.19%
2015 -2.17% -3.32%
2014 -3.04% 1.06%
2013 -2.4% -7.74%
2012 -1.32% -7.08%
2011 -1.97% -4.05%
2010 -1.69% -2.24%
2009 -0.91% -2.46%
2008 0.38% 0.18%
2007 3.17% 1.83%
2006 0.53% 1.51%
2005 -2.29% 3.58%
2004 -4.54% 2.44%
2003 -2.41% -
2002 -1.03% -
2001 -0.45% -
2000 2.22% -
1999 -0.71% -
1998 -1.23% -
1997 1.39% -
1996 2.81% -
1995 2.61% -
1994 2.4% -
1993 -9.4% -
1992 -2.62% -
1991 -0.6% -
1990 -3.65% -
1989 -13.6% -
1988 -13.5% -
1987 -1.7% -
1986 -1% -
1985 -2.57% -
1984 -7.56% -
1983 -7.62% -
1982 -13.3% -
1981 -6.77% -
1980 -5.17% -
1979 -12.1% -
1978 -5.21% -
1977 -1.61% -
1976 -2.65% -
1975 -0.74% -
1974 -0.6% -
1973 -0.01% -
1972 -1.17% -
1971 -0.51% -
1970 -8.02% -
1969 -7.56% -
1968 -1.5% -
1967 -1.97% -
1966 -1.18% -
1965 -1.17% -
1964 -2.51% -
1963 -6.71% -
1962 -3.01% -
1961 -5.45% -
1960 -3.05% -
1959 -3.79% -
1958 -1.62% -
1957 -0.89% -
1956 -3.69% -
1955 -1.33% -
1954 -0.2% -
1953 -0.55% -
1952 -3.84% -
1951 -2.54% -
1950 -3.89% -
1949 -1% -
1948 -1.21% -
1947 -1.94% -
1946 -3.19% -

Data sources: International Monetary Fund (IMF) | Fiscal Monitor (1994–2025, retrieved 2026-07-08); International Monetary Fund (IMF) | Public Finances in Modern History (1946–1993, retrieved 2026-07-08).

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

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

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

Inflation comparison by year

Inflation
Panama

San Marino
1x
Year Consumer prices inflation
Panama San Marino
2025 -0.19% 2.3%
2024 0.69% 1.2%
2023 1.49% 5.9%
2022 2.86% 5.3%
2021 1.63% 1.6%
2020 -1.55% -0.1%
2019 -0.36% 0.5%
2018 0.76% 1.2%
2017 0.88% 1%
2016 0.74% 0.6%
2015 0.14% 0.1%
2014 2.63% 1.1%
2013 4.03% 1.6%
2012 5.7% 2.8%
2011 5.88% 2.2%
2010 3.49% 2.4%
2009 2.41% 2.4%
2008 8.76% 4.1%
2007 4.17% 2.5%
2006 2.46% 2.1%
2005 2.86% 1.7%
2004 0.47% 1.4%
2003 0.39% 1.3%
2002 1.01% -
2001 0.31% -
2000 1.5% -
1999 1.25% -
1998 0.56% -
1997 1.32% -

Data sources: World Bank | Economy & Growth (1997–2025, retrieved 2026-07-08); International Monetary Fund (IMF) | World Economic Outlook (2003–2025, retrieved 2026-07-08).

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

Over the past 23 years, Panama has recorded an average annual inflation rate of 2.19%, compared with 1.97% in San Marino. In 2025, inflation was -0.19% in Panama and 2.3% in San Marino.

Balance of trade

Panama San Marino
Current account balance
-$169M
2025
$446M
2023
Current account balance ranking
91/190
2025
60/190
2023
Current account balance, % of GDP
-0.19%
2025
+22%
2023
Goods imports
$28.2B
2025
$2.25B
2023
Goods exports
$18.6B
2025
$2.53B
2023
Service imports
$5.91B
2025
$894M
2023
Service exports
$20.2B
2025
$1.25B
2023
Imports of goods and services, % of GDP
39.3%
2024
155%
2023
Exports of goods and services, % of GDP
44.4%
2024
186%
2023

Economic freedom indices

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

Panama San Marino
Economic freedom 64.9 76
Economic freedom ranking 70/197 16/197
Property rights 56.7 n/a
Government integrity 37.4 n/a
Judicial effectiveness 49.6 n/a
Tax burden 86.1 n/a
Government spending 85.5 n/a
Fiscal health 51.8 n/a
Business freedom 72.6 n/a
Labor freedom 60.9 n/a
Monetary freedom 78.2 n/a
Trade freedom 80.2 n/a
Investment freedom 60 n/a
Financial freedom 60 n/a

Other economic metrics

Panama San Marino
Services, % of GDP
70%
2025
56.9%
2023
Industry, % of GDP
24.9%
2025
35.8%
2023
Agriculture, forestry, and fishing, % of GDP
2.62%
2025
0.02%
2023
GNI, Atlas method
$87.5B
2025
$1.83B
2023
GNI per capita, PPP
$41,770
2025
$71,920
2023
Total reserves including gold
$6.24B
2025
$861M
2025
Total reserves ranking
93/177
2025
144/177
2025
Net foreign direct investment
-$1.81B
2025
$52.7M
2023
Net inflows of foreign direct investment
$2.09B
2024
-$18.1M
2023
Net outflows of foreign direct investment
$84.3M
2024
$0
2024
Poverty at national poverty lines
21.7%
2023
n/a
Gross capital formation, % of GDP
33.5%
2024
16.6%
2023

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/panama/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–2025, retrieved 2026-07-08)
  2. International Monetary Fund (IMF) | Fiscal Monitor (1994–2025, retrieved 2026-07-08)
  3. International Monetary Fund (IMF) | Public Finances in Modern History (1946–1993, retrieved 2026-07-08)
  4. U.S. Census Bureau (1985–2025, retrieved 2026-07-08)
  5. The Heritage Foundation | Economic Freedom Index (2026, retrieved 2026-07-08)
  6. United Nations | World Population Prospects (2026, retrieved 2026-07-08)
  7. 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.