San Marino has a GDP of $2.03B compared to $21.6B for Yemen, ranking 180/197 and 125/197 by economy size, respectively.
San Marino has $1.39B in government debt (63.9% of GDP), compared to $18.8B (70.9% of GDP) in Yemen.
San Marino vs Yemen GDP by year
| Year | GDP, current $ | |
|---|---|---|
|
|
|
|
| 2023 | $2,027,527,228 | - |
| 2022 | $1,829,211,864 | - |
| 2021 | $1,855,652,786 | - |
| 2020 | $1,541,248,249 | - |
| 2019 | $1,616,340,692 | - |
| 2018 | $1,655,353,653 | $21,606,160,663 |
| 2017 | $1,528,620,346 | $26,842,229,045 |
| 2016 | $1,468,343,140 | $31,317,825,274 |
| 2015 | $1,419,401,071 | $42,444,490,074 |
| 2014 | $1,673,911,426 | $43,228,585,321 |
| 2013 | $1,678,741,475 | $40,415,233,436 |
| 2012 | $1,604,701,299 | $35,401,331,610 |
| 2011 | $1,813,717,439 | $32,726,417,878 |
| 2010 | $1,881,191,925 | $30,906,749,533 |
| 2009 | $2,064,277,126 | $25,130,278,213 |
| 2008 | $2,403,213,305 | $26,910,855,807 |
| 2007 | $2,188,654,628 | $21,650,528,674 |
| 2006 | $1,909,765,165 | $19,063,143,370 |
| 2005 | $1,786,514,058 | $16,731,566,717 |
| 2004 | $1,715,340,543 | $13,867,634,371 |
| 2003 | $1,462,590,267 | $11,777,532,662 |
| 2002 | $1,148,872,072 | $10,693,430,511 |
| 2001 | $1,059,529,812 | $9,852,990,693 |
| 2000 | $1,007,661,367 | $9,679,316,770 |
| 1999 | $1,109,473,368 | $7,639,325,296 |
| 1998 | $1,048,316,226 | $6,322,175,566 |
| 1997 | $976,606,911 | $6,838,298,531 |
| 1996 | - | $6,496,163,616 |
| 1995 | - | $12,796,345,679 |
| 1994 | - | $28,019,483,764 |
| 1993 | - | $21,736,802,664 |
| 1992 | - | $17,959,367,194 |
| 1991 | - | $14,665,445,462 |
| 1990 | - | $12,643,821,569 |
Data sources: World Bank | Economy & Growth (1990–2023, retrieved 2026-04-06).
GeoRank.org/economy/san-marino/yemen | CC BY
GDP per capita in San Marino vs Yemen by year
| Year | Current $ | |||
|---|---|---|---|---|
|
|
|
|||
| GDP per capita | GDP per capita, PPP | GDP per capita | GDP per capita, PPP | |
| 2023 | $59,880 | $78,745 | - | - |
| 2022 | $54,191 | $75,941 | - | - |
| 2021 | $54,176 | $64,745 | - | - |
| 2020 | $44,327 | $55,207 | - | - |
| 2019 | $46,630 | $57,444 | - | - |
| 2018 | $47,951 | $54,461 | $634 | - |
| 2017 | $45,192 | $52,463 | $811 | - |
| 2016 | $44,359 | $53,033 | $975 | - |
| 2015 | $43,147 | $52,247 | $1,362 | - |
| 2014 | $51,260 | $52,909 | $1,430 | - |
| 2013 | $50,808 | $50,770 | $1,379 | $3,164 |
| 2012 | $47,946 | $51,274 | $1,245 | $3,005 |
| 2011 | $55,601 | $56,240 | $1,186 | $3,113 |
| 2010 | $56,543 | $58,926 | $1,155 | $3,603 |
| 2009 | $62,429 | $61,970 | $969 | $3,411 |
| 2008 | $75,902 | $71,724 | $1,072 | $3,370 |
| 2007 | $70,124 | $71,744 | $890 | $3,294 |
| 2006 | $63,271 | $67,434 | $810 | $3,205 |
| 2005 | $59,878 | $63,739 | $734 | $3,113 |
| 2004 | $58,232 | $61,114 | $628 | $2,949 |
| 2003 | $52,530 | $60,224 | $549 | $2,844 |
| 2002 | $41,791 | $57,584 | $513 | $2,768 |
| 2001 | $39,035 | $57,252 | $487 | $2,702 |
| 2000 | $37,601 | $53,713 | $493 | $2,624 |
| 1999 | $41,932 | $52,064 | $401 | $2,492 |
| 1998 | $40,127 | $47,679 | $343 | $2,442 |
| 1997 | $37,853 | $44,426 | $383 | $2,351 |
| 1996 | - | - | $375 | $2,268 |
| 1995 | - | - | $764 | $2,201 |
| 1994 | - | - | $1,735 | $2,115 |
| 1993 | - | - | $1,397 | $2,013 |
| 1992 | - | - | $1,198 | $1,963 |
| 1991 | - | - | $1,016 | $1,843 |
| 1990 | - | - | $910 | $1,742 |
Data sources: World Bank | Economy & Growth (1990–2023, retrieved 2026-04-06).
GeoRank.org/economy/san-marino/yemen | CC BY
San Marino's GDP per capita is $59,880, ranking 15/197, compared to $634 in Yemen, ranking 191/197. Adjusted for purchasing power (GDP per capita PPP), San Marino ranks 17th at $78,745, while Yemen ranks 178th at $3,164.
Economic indicators
|
|
|
|
|---|---|---|
| Gross domestic product |
$2.03B
2023 |
$21.6B
2018 |
| GDP rank |
180/197
2023 |
125/197
2018 |
| GDP growth |
0.4%
2022-2023 |
0.75%
2017-2018 |
| GDP per capita |
$59,880
2023 |
$634
2018 |
| GDP per capita rank |
15/197
2023 |
191/197
2018 |
| GDP per capita, PPP |
$78,745
2023 |
$3,164
2013 |
| GDP per capita PPP rank |
17/197
2023 |
178/197
2013 |
| Government debt |
$1.39B
2023 |
$18.8B
2018 |
| Debt-to-GDP ratio |
63.9%
2024 |
70.9%
2024 |
| Government debt per person |
$40,919
2023 |
$551
2018 |
| Government debt per person rank |
13/185
2023 |
165/185
2018 |
| Average annual personal income after taxes |
$45,474
2026 |
$1,127
2026 |
| Income share by richest 10% | n/a |
29.4%
2014 |
| Income share by poorest 10% | n/a |
3%
2014 |
| Government expenditure, % of GDP |
21%
2024 |
8.91%
2024 |
| Consumer prices inflation |
1.2%
2023-2024 |
33.9%
2023-2024 |
| Unemployment rate |
4.91%
2022 |
13.5%
2014 |
| Population |
33967
|
43325643
|
Spending and national debt comparison by year
| Year | % of GDP | |||
|---|---|---|---|---|
|
|
|
|||
| Government spending | Government debt | Government spending | Government debt | |
| 2024 | 21% | 63.9% | 8.91% | 70.9% |
| 2023 | 21.7% | 68.3% | 11.8% | 77.9% |
| 2022 | 21.7% | 70.6% | 12.2% | 65.3% |
| 2021 | 37.1% | 77.2% | 8.22% | 75.9% |
| 2020 | 59.2% | 69.8% | 10.6% | 87% |
| 2019 | 22.4% | 56.2% | 13.2% | 91.5% |
| 2018 | 24.5% | 56.7% | 14.3% | 86.9% |
| 2017 | 25.6% | 56.6% | 8.39% | 83.8% |
| 2016 | 23.4% | 21.4% | 16.1% | 76.5% |
| 2015 | 26.3% | 19.3% | 19.4% | 57.7% |
| 2014 | 23.7% | 21% | 27.8% | 48.9% |
| 2013 | 30.2% | 23.2% | 30.8% | 48.4% |
| 2012 | 30.6% | 17.2% | 36.2% | 47.6% |
| 2011 | 25.4% | 16.6% | 29.8% | 45.7% |
| 2010 | 24.4% | 20% | 30.2% | 42.4% |
| 2009 | 24.8% | 20.1% | 35.2% | 49.8% |
| 2008 | 22% | 15.5% | 41.2% | 36.4% |
| 2007 | 20.7% | 12.6% | 40.3% | 40.4% |
| 2006 | 19.7% | 14.2% | 37.4% | 40.8% |
| 2005 | 19.3% | 14.5% | 36.8% | 43.8% |
| 2004 | 19% | 16.9% | 34.2% | 52.1% |
| 2003 | - | 16.1% | 35.3% | 56.8% |
| 2002 | - | 17.2% | 30.8% | 57.8% |
| 2001 | - | 11.6% | 30.5% | 60.6% |
| 2000 | - | - | 31.7% | 60.8% |
| 1999 | - | - | 28.2% | 96.1% |
| 1998 | - | - | 34.3% | 110.6% |
| 1997 | - | - | 34.2% | 74.2% |
| 1996 | - | - | 30.7% | 114.9% |
| 1995 | - | - | 24.1% | 84.1% |
| 1994 | - | - | 25.2% | 73.3% |
| 1993 | - | - | 25.8% | 76.7% |
| 1992 | - | - | 24.6% | 78% |
| 1991 | - | - | 24.7% | 82.7% |
| 1990 | - | - | 26.6% | 91.6% |
Data sources: International Monetary Fund (IMF) | Fiscal Monitor (1990–2024, retrieved 2026-02-20); International Monetary Fund (IMF) | Public Finances in Modern History (1990–1998, retrieved 2026-02-20).
GeoRank.org/economy/san-marino/yemen | CC BY
In 2023, San Marino's government spending was $440M, accounting for 21% of its GDP, while Yemen spent $3.08B, or 8.91% of GDP.
Debt-to-GDP ratio is 63.9% in San Marino and 70.9% in Yemen, ranking 71/185 and 55/185, respectively.
Government deficit by year
| Year | Deficit/surplus, % of GDP | |
|---|---|---|
|
|
|
|
| 2024 | -0.53% | -2.48% |
| 2023 | -0.72% | -5.63% |
| 2022 | 0.42% | -2.15% |
| 2021 | -16.4% | -0.89% |
| 2020 | -37.6% | -4.3% |
| 2019 | -0.11% | -5.89% |
| 2018 | -1.56% | -7.85% |
| 2017 | -3.49% | -4.9% |
| 2016 | -0.19% | -8.51% |
| 2015 | -3.32% | -8.75% |
| 2014 | 1.06% | -4.14% |
| 2013 | -7.74% | -6.9% |
| 2012 | -7.08% | -6.32% |
| 2011 | -4.05% | -4.51% |
| 2010 | -2.24% | -4.06% |
| 2009 | -2.46% | -10.2% |
| 2008 | 0.18% | -4.53% |
| 2007 | 1.83% | -7.18% |
| 2006 | 1.51% | 1.19% |
| 2005 | 3.58% | -1.82% |
| 2004 | 2.44% | -2.15% |
| 2003 | - | -4.2% |
| 2002 | - | -0.56% |
| 2001 | - | 2.79% |
| 2000 | - | 6.09% |
| 1999 | - | 0.06% |
| 1998 | - | -7.77% |
| 1997 | - | -1.5% |
| 1996 | - | -0.92% |
| 1995 | - | -5.74% |
| 1994 | - | -14% |
| 1993 | - | -12.8% |
| 1992 | - | -10.9% |
| 1991 | - | -5.76% |
| 1990 | - | -10.3% |
Data sources: International Monetary Fund (IMF) | Fiscal Monitor (1990–2024, retrieved 2026-02-20).
GeoRank.org/economy/san-marino/yemen | CC BY
In 2018, San Marino's government deficit, the difference between spending and revenue, was $25.8M, equivalent to 1.56% of GDP. This compares to Yemen's deficit of $1.7B, or 7.85% of GDP.
Over the past 15 years, San Marino recorded a fiscal deficit in 9 of those years, while Yemen ran a deficit in 14 years. On average, San Marino posted an annual deficit equal to 1.43% of GDP, compared to deficit of 5.38% of GDP for Yemen.
Inflation comparison by year
| Year | Consumer prices inflation | |
|---|---|---|
|
|
|
|
| 2024 | 1.2% | 33.9% |
| 2023 | 5.9% | 0.9% |
| 2022 | 5.3% | 29.5% |
| 2021 | 1.6% | 31.5% |
| 2020 | -0.1% | 21.7% |
| 2019 | 0.5% | 15.7% |
| 2018 | 1.2% | 33.6% |
| 2017 | 1% | 30.4% |
| 2016 | 0.6% | 21.3% |
| 2015 | 0.1% | 22% |
| 2014 | 1.1% | 8.2% |
| 2013 | 1.6% | 11% |
| 2012 | 2.8% | 9.9% |
| 2011 | 2.2% | 19.5% |
| 2010 | 2.4% | 11.2% |
| 2009 | 2.4% | 3.7% |
| 2008 | 4.1% | 19% |
| 2007 | 2.5% | 7.9% |
| 2006 | 2.1% | 10.8% |
| 2005 | 1.7% | 9.9% |
| 2004 | 1.4% | 12.5% |
| 2003 | 1.3% | 10.8% |
| 2002 | - | 12.2% |
| 2001 | - | 11.9% |
| 2000 | - | 11% |
| 1999 | - | 7.9% |
| 1998 | - | 11.5% |
| 1997 | - | 4.6% |
Data sources: International Monetary Fund (IMF) | World Economic Outlook (1997–2024, retrieved 2026-02-20).
GeoRank.org/economy/san-marino/yemen | CC BY
Over the past 22 years, San Marino has recorded an average annual inflation rate of 1.95%, compared with 17% in Yemen. In 2024, inflation was 1.2% in San Marino and 33.9% in Yemen.
Balance of trade
|
|
|
|
|---|---|---|
|
Current account balance
|
$446M
2023 |
-$2.42B
2016 |
| Current account balance ranking |
64/190
2023 |
148/190
2016 |
| Current account balance, % of GDP |
+22%
2023 |
-7.72%
2016 |
| Goods imports |
$2.25B
2023 |
$6.8B
2016 |
| Goods exports |
$2.53B
2023 |
$473M
2016 |
| Service imports |
$894M
2023 |
$1.46B
2016 |
| Service exports |
$1.25B
2023 |
$466M
2016 |
| Imports of goods and services, % of GDP |
155%
2023 |
47.3%
2018 |
| Exports of goods and services, % of GDP |
186%
2023 |
8.76%
2018 |
Economic freedom indices
The indices of economic freedom below are issued by the Heritage Foundation. Higher scores indicate stronger economic health.
|
|
|
|
|---|---|---|
| Economic freedom | 76 | 53.7 |
| Economic freedom ranking | 16/197 | 138/197 |
| Property rights | n/a | 3.5 |
| Government integrity | n/a | 6.2 |
| Judicial effectiveness | n/a | 9.9 |
| Tax burden | n/a | 93.7 |
| Government spending | n/a | 0 |
| Fiscal health | n/a | 71.2 |
| Business freedom | n/a | 31.3 |
| Labor freedom | n/a | 31.2 |
| Monetary freedom | n/a | 48.1 |
| Trade freedom | n/a | 67.4 |
| Investment freedom | n/a | 50 |
| Financial freedom | n/a | 30 |
Other economic metrics
|
|
|
|
|---|---|---|
| Services, % of GDP |
56.9%
2023 |
41.8%
2018 |
| Industry, % of GDP |
35.8%
2023 |
25.4%
2018 |
| Agriculture, forestry, and fishing, % of GDP |
0.02%
2023 |
28.7%
2018 |
|
GNI, Atlas method
|
$1.82B
2023 |
$25.3B
2018 |
| GNI per capita, PPP |
$71,860
2023 |
$3,020
2013 |
| Total reserves including gold |
$759M
2024 |
$1.25B
2022 |
| Total reserves ranking |
146/177
2024 |
139/177
2022 |
|
Net foreign direct investment
|
$52.7M
2023 |
$15.4M
2015 |
|
Net inflows of foreign direct investment
|
-$18.1M
2023 |
-$371M
2019 |
|
Net outflows of foreign direct investment
|
$0
2024 |
$0
2024 |
|
Servicing debt to the IMF, % of GNI
|
n/a |
0.53%
2018 |
| Poverty at national poverty lines | n/a |
48.6%
2014 |
|
Gross capital formation, % of GDP
|
16.6%
2023 |
6.18%
2018 |
GDP per capita map
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/yemen | 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:
- World Bank | Economy & Growth (1985–2024, retrieved 2026-04-06)
- International Monetary Fund (IMF) | Fiscal Monitor (1990–2024, retrieved 2026-02-20)
- U.S. Census Bureau (1985–2024, retrieved 2026-02-08)
- The Heritage Foundation | Economic Freedom Index (2015–2026, retrieved 2026-03-09)
- International Monetary Fund (IMF) | Public Finances in Modern History (1990–1998, retrieved 2026-02-20)
- United Nations | World Population Prospects (2026, retrieved 2026-03-10)
- 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.