Skip to content

Economy of San Marino vs Tonga compared: GDP & Debt

Updated on by Georank team

San Marino has a GDP of $2.03B compared to $591M for Tonga, ranking 180/197 and 191/197 by economy size, respectively.

San Marino has $1.39B in government debt (63.9% of GDP), compared to $256M (37% of GDP) in Tonga.

San Marino vs Tonga GDP by year

San Marino
Tonga
1x
Year GDP, current $
San Marino Tonga
2023 $2,027,527,228 $591,139,749
2022 $1,829,211,864 $556,514,555
2021 $1,855,652,786 $519,306,353
2020 $1,541,248,249 $506,571,468
2019 $1,616,340,692 $506,031,239
2018 $1,655,353,653 $493,530,783
2017 $1,528,620,346 $459,976,850
2016 $1,468,343,140 $420,828,262
2015 $1,419,401,071 $437,525,514
2014 $1,673,911,426 $440,997,738
2013 $1,678,741,475 $451,788,498
2012 $1,604,701,299 $471,122,971
2011 $1,813,717,439 $414,143,828
2010 $1,881,191,925 $366,887,375
2009 $2,064,277,126 $312,415,028
2008 $2,403,213,305 $344,438,844
2007 $2,188,654,628 $298,519,623
2006 $1,909,765,165 $292,232,703
2005 $1,786,514,058 $261,823,805
2004 $1,715,340,543 $230,678,011
2003 $1,462,590,267 $202,246,591
2002 $1,148,872,072 $182,764,281
2001 $1,059,529,812 $181,117,230
2000 $1,007,661,367 $204,848,488
1999 $1,109,473,368 $199,208,718
1998 $1,048,316,226 $191,504,893
1997 $976,606,911 $214,991,452
1996 - $222,100,576
1995 - $208,871,666
1994 - $195,990,986
1993 - $138,489,884
1992 - $137,066,291
1991 - $132,201,141
1990 - $113,563,822
1989 - $106,344,855
1988 - $106,657,267
1987 - $81,667,133
1986 - $68,195,856
1985 - $60,058,663
1984 - $64,248,355
1983 - $60,863,964
1982 - $62,068,161
1981 - $62,242,013
1980 - $53,260,077
1979 - $44,667,002
1978 - $41,567,472
1977 - $34,139,388
1976 - $30,036,417
1975 - $32,506,742

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

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

GDP per capita in San Marino vs Tonga by year

San Marino
GDP per capita

GDP per capita, PPP
Tonga
GDP per capita

GDP per capita, PPP
1x
Year Current $
San Marino Tonga
GDP per capita GDP per capita, PPP GDP per capita GDP per capita, PPP
2023 $59,880 $78,745 $5,652 $7,803
2022 $54,191 $75,941 $5,298 $7,296
2021 $54,176 $64,745 $4,923 $6,929
2020 $44,327 $55,207 $4,792 $6,676
2019 $46,630 $57,444 $4,789 $6,473
2018 $47,951 $54,461 $4,675 $6,393
2017 $45,192 $52,463 $4,366 $6,229
2016 $44,359 $53,033 $3,988 $5,920
2015 $43,147 $52,247 $4,124 $5,472
2014 $51,260 $52,909 $4,137 $5,336
2013 $50,808 $50,770 $4,219 $5,120
2012 $47,946 $51,274 $4,384 $4,996
2011 $55,601 $56,240 $3,850 $4,855
2010 $56,543 $58,926 $3,416 $4,465
2009 $62,429 $61,970 $2,914 $4,384
2008 $75,902 $71,724 $3,218 $4,600
2007 $70,124 $71,744 $2,797 $4,316
2006 $63,271 $67,434 $2,750 $4,327
2005 $59,878 $63,739 $2,478 $4,315
2004 $58,232 $61,114 $2,195 $4,235
2003 $52,530 $60,224 $1,936 $4,231
2002 $41,791 $57,584 $1,759 $4,171
2001 $39,035 $57,252 $1,754 $3,955
2000 $37,601 $53,713 $1,995 $3,834
1999 $41,932 $52,064 $1,952 $3,636
1998 $40,127 $47,679 $1,889 $3,527
1997 $37,853 $44,426 $2,136 $3,434
1996 - - $2,215 $3,410
1995 - - $2,084 $3,347
1994 - - $1,957 $3,088
1993 - - $1,383 $2,882
1992 - - $1,370 $2,716
1991 - - $1,323 $2,652
1990 - - $1,139 $2,416
1989 - - $1,070 -
1988 - - $1,078 -
1987 - - $830 -
1986 - - $696 -
1985 - - $613 -
1984 - - $656 -
1983 - - $621 -
1982 - - $633 -
1981 - - $636 -
1980 - - $545 -
1979 - - $458 -
1978 - - $428 -
1977 - - $353 -
1976 - - $315 -
1975 - - $349 -

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

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

San Marino's GDP per capita is $59,880, ranking 15/197, compared to $5,652 in Tonga, ranking 115/197. Adjusted for purchasing power (GDP per capita PPP), San Marino ranks 17th at $78,745, while Tonga ranks 144th at $7,803.

Economic indicators

San Marino Tonga
Gross domestic product
$2.03B
2023
$591M
2023
GDP rank
180/197
2023
191/197
2023
GDP growth
0.4%
2022-2023
2.79%
2022-2023
GDP per capita
$59,880
2023
$5,652
2023
GDP per capita rank
15/197
2023
115/197
2023
GDP per capita, PPP
$78,745
2023
$7,803
2023
GDP per capita PPP rank
17/197
2023
144/197
2023
Government debt
$1.39B
2023
$256M
2023
Debt-to-GDP ratio
63.9%
2024
37%
2024
Government debt per person
$40,919
2023
$2,445
2023
Government debt per person rank
13/185
2023
111/185
2023
Average annual personal income after taxes
$45,474
2026
$3,886
2026
Income share by richest 10% n/a
22%
2021
Income share by poorest 10% n/a
4%
2021
Government expenditure, % of GDP
21%
2024
51.3%
2024
Consumer prices inflation
1.2%
2023-2024
3.18%
2023-2024
Unemployment rate
4.91%
2022
1.65%
2023
Population
33967
103309

Spending and national debt comparison by year

San Marino
Spending

Debt
Tonga
Spending

Debt
1x
Year % of GDP
San Marino Tonga
Government spending Government debt Government spending Government debt
2024 21% 63.9% 51.3% 37%
2023 21.7% 68.3% 48.2% 43.3%
2022 21.7% 70.6% 44.4% 43.2%
2021 37.1% 77.2% 44.6% 43%
2020 59.2% 69.8% 37.9% 42.6%
2019 22.4% 56.2% 39.9% 42.8%
2018 24.5% 56.7% 39.6% 45.8%
2017 25.6% 56.6% 39.7% 44.7%
2016 23.4% 21.4% 37.2% 49.4%
2015 26.3% 19.3% 37.4% 51.1%
2014 23.7% 21% 31.5% 47.4%
2013 30.2% 23.2% 34.3% 48.9%
2012 30.6% 17.2% 32% 60%
2011 25.4% 16.6% 32.6% 51.9%
2010 24.4% 20% 28.4% 44.7%
2009 24.8% 20.1% 23.9% 39.7%
2008 22% 15.5% 24% 34%
2007 20.7% 12.6% 23.2% 37.8%
2006 19.7% 14.2% 25.6% 39.6%
2005 19.3% 14.5% 19.8% 43.3%
2004 19% 16.9% 19.3% 52.2%
2003 - 16.1% 20% 56.2%
2002 - 17.2% 21.3% 60.7%
2001 - 11.6% 19.1% 53.4%
2000 - - 20% 43.6%
1999 - - 18.8% 38.4%

Data sources: International Monetary Fund (IMF) | Fiscal Monitor (1999–2024, retrieved 2026-02-20).

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

In 2023, San Marino's government spending was $440M, accounting for 21% of its GDP, while Tonga spent $285M, or 51.3% of GDP.

Debt-to-GDP ratio is 63.9% in San Marino and 37% in Tonga, ranking 71/185 and 142/185, respectively.

Government deficit by year

Deficit/surplus
San Marino

Tonga
1x
Year Deficit/surplus, % of GDP
San Marino Tonga
2024 -0.53% 4.17%
2023 -0.72% 6.14%
2022 0.42% -0.1%
2021 -16.4% -0.87%
2020 -37.6% 5.25%
2019 -0.11% 3.28%
2018 -1.56% 2.92%
2017 -3.49% 3.58%
2016 -0.19% 1.47%
2015 -3.32% -2.75%
2014 1.06% 6.38%
2013 -7.74% -1.3%
2012 -7.08% -1.74%
2011 -4.05% -6.02%
2010 -2.24% -1.22%
2009 -2.46% 6.85%
2008 0.18% 2.14%
2007 1.83% 5.39%
2006 1.51% 1.34%
2005 3.58% 4.23%
2004 2.44% 4.23%
2003 - 2.37%
2002 - 2.59%
2001 - 2.23%
2000 - 1.35%
1999 - 1.55%

Data sources: International Monetary Fund (IMF) | Fiscal Monitor (1999–2024, retrieved 2026-02-20).

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

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

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

Inflation comparison by year

Inflation
San Marino

Tonga
1x
Year Consumer prices inflation
San Marino Tonga
2024 1.2% 3.18%
2023 5.9% 6.35%
2022 5.3% 11%
2021 1.6% 5.64%
2020 -0.1% -0.35%
2019 0.5% 1.18%
2018 1.2% 5.03%
2017 1% 7.52%
2016 0.6% 2.58%
2015 0.1% -1.05%
2014 1.1% 2.51%
2013 1.6% 0.78%
2012 2.8% 1.15%
2011 2.2% 6.27%
2010 2.4% 3.53%
2009 2.4% 1.43%
2008 4.1% 10.4%
2007 2.5% 5.84%
2006 2.1% 6.15%
2005 1.7% 8.67%
2004 1.4% 11%
2003 1.3% 11.6%
2002 - 10.4%
2001 - 8.29%
2000 - 6.33%
1999 - 4.46%
1998 - 3.27%
1997 - 2.12%

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

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

Balance of trade

San Marino Tonga
Current account balance
$446M
2023
-$43.5M
2024
Current account balance ranking
64/190
2023
83/190
2024
Current account balance, % of GDP
+22%
2023
-7.93%
2023
Goods imports
$2.25B
2023
$232M
2024
Goods exports
$2.53B
2023
$10.8M
2024
Service imports
$894M
2023
$161M
2024
Service exports
$1.25B
2023
$93.6M
2024
Imports of goods and services, % of GDP
155%
2023
64.9%
2023
Exports of goods and services, % of GDP
186%
2023
14.7%
2023

Economic freedom indices

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

San Marino Tonga
Economic freedom 76 58.9
Economic freedom ranking 16/197 107/197
Property rights n/a 71.1
Government integrity n/a 45.1
Judicial effectiveness n/a 64.9
Tax burden n/a 85.6
Government spending n/a 31
Fiscal health n/a 97.3
Business freedom n/a 59.2
Labor freedom n/a 55.9
Monetary freedom n/a 61
Trade freedom n/a 75.4
Investment freedom n/a 40
Financial freedom n/a 20

Other economic metrics

San Marino Tonga
Services, % of GDP
56.9%
2023
50%
2023
Industry, % of GDP
35.8%
2023
14.9%
2023
Agriculture, forestry, and fishing, % of GDP
0.02%
2023
19%
2023
GNI, Atlas method
$1.82B
2023
$619M
2023
GNI per capita, PPP
$71,860
2023
$8,400
2023
Total reserves including gold
$759M
2024
$377M
2024
Total reserves ranking
146/177
2024
163/177
2024
Net foreign direct investment
$52.7M
2023
$13.3M
2024
Net inflows of foreign direct investment
-$18.1M
2023
-$12.1M
2024
Net outflows of foreign direct investment
$0
2024
$1.25M
2024
Servicing debt to the IMF, % of GNI n/a
2.76%
2023
Poverty at national poverty lines n/a
20.6%
2021
Gross capital formation, % of GDP
16.6%
2023
25.9%
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/san-marino/tonga | 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 (1975–2024, retrieved 2026-04-06)
  2. International Monetary Fund (IMF) | Fiscal Monitor (1999–2024, retrieved 2026-02-20)
  3. U.S. Census Bureau (1985–2024, retrieved 2026-02-08)
  4. The Heritage Foundation | Economic Freedom Index (2026, retrieved 2026-03-09)
  5. United Nations | World Population Prospects (2026, retrieved 2026-03-10)
  6. 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.

Principal and interest payments to the IMF in currency, goods, or services on long-term debt expressed as a share of GNI.

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.