Skip to content

Economy of Iran vs San Marino compared: GDP & Debt

Updated on by Georank team

Iran has a GDP of $475B compared to $2.03B for San Marino, ranking 34/197 and 180/197 by economy size, respectively.

Iran has $162B in government debt (34% of GDP), compared to $1.39B (63.9% of GDP) in San Marino.

Iran vs San Marino GDP by year

Iran
San Marino
1x
Year GDP, current $
Iran San Marino
2024 $475,252,089,215 -
2023 $457,510,482,317 $2,027,527,228
2022 $422,662,261,526 $1,829,211,864
2021 $407,350,685,583 $1,855,652,786
2020 $280,934,329,280 $1,541,248,249
2019 $347,988,400,958 $1,616,340,692
2018 $411,903,303,606 $1,655,353,653
2017 $510,239,893,418 $1,528,620,346
2016 $478,618,064,871 $1,468,343,140
2015 $409,191,686,497 $1,419,401,071
2014 $462,284,793,281 $1,673,911,426
2013 $500,399,839,840 $1,678,741,475
2012 $644,019,315,004 $1,604,701,299
2011 $629,082,257,472 $1,813,717,439
2010 $487,069,570,464 $1,881,191,925
2009 $414,059,094,949 $2,064,277,126
2008 $406,070,949,554 $2,403,213,305
2007 $349,736,591,832 $2,188,654,628
2006 $265,602,187,404 $1,909,765,165
2005 $224,970,371,325 $1,786,514,058
2004 $187,754,571,248 $1,715,340,543
2003 $151,911,222,119 $1,462,590,267
2002 $128,626,917,504 $1,148,872,072
2001 $126,878,750,296 $1,059,529,812
2000 $109,591,707,802 $1,007,661,367
1999 $113,848,450,088 $1,109,473,368
1998 $110,276,913,363 $1,048,316,226
1997 $113,919,163,421 $976,606,911
1996 $120,403,931,885 -
1995 $96,419,225,744 -
1994 $71,841,461,173 -
1993 $63,743,623,232 -
1992 $119,768,691,217 -
1991 $131,637,664,958 -
1990 $124,813,263,926 -
1989 $120,496,362,916 -
1988 $123,057,861,334 -
1987 $134,009,995,923 -
1986 $209,094,561,833 -
1985 $180,183,629,600 -
1984 $162,276,728,620 -
1983 $156,365,156,618 -
1982 $125,948,756,439 -
1981 $100,499,312,750 -
1980 $94,362,275,580 -
1979 $90,391,877,326 -
1978 $77,994,316,621 -
1977 $80,600,122,702 -
1976 $68,055,295,081 -
1975 $51,776,222,350 -
1974 $46,209,092,072 -
1973 $27,081,698,250 -
1972 $17,153,463,263 -
1971 $13,731,802,833 -
1970 $10,976,245,154 -
1969 $9,743,089,607 -
1968 $8,623,172,960 -
1967 $7,555,383,690 -
1966 $6,789,938,672 -
1965 $6,197,319,929 -
1964 $5,379,845,648 -
1963 $4,928,628,018 -
1962 $4,693,566,416 -
1961 $4,426,949,095 -
1960 $4,199,134,390 -

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

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

GDP per capita in Iran vs San Marino by year

Iran
GDP per capita

GDP per capita, PPP
San Marino
GDP per capita

GDP per capita, PPP
1x
Year Current $
Iran San Marino
GDP per capita GDP per capita, PPP GDP per capita GDP per capita, PPP
2024 $5,190 $19,874 - -
2023 $5,049 $18,917 $59,880 $78,745
2022 $4,721 $17,546 $54,191 $75,941
2021 $4,605 $15,884 $54,176 $64,745
2020 $3,203 $15,119 $44,327 $55,207
2019 $3,997 $13,928 $46,630 $57,444
2018 $4,783 $15,324 $47,951 $54,461
2017 $6,001 $15,719 $45,192 $52,463
2016 $5,711 $15,195 $44,359 $53,033
2015 $4,953 $14,274 $43,147 $52,247
2014 $5,672 $16,065 $51,260 $52,909
2013 $6,223 $16,215 $50,808 $50,770
2012 $8,114 $17,021 $47,946 $51,274
2011 $8,026 $19,275 $55,601 $56,240
2010 $6,291 $18,628 $56,543 $58,926
2009 $5,416 $17,615 $62,429 $61,970
2008 $5,377 $17,549 $75,902 $71,724
2007 $4,688 $17,384 $70,124 $71,744
2006 $3,619 $15,907 $63,271 $67,434
2005 $3,132 $15,016 $59,878 $63,739
2004 $2,672 $14,425 $58,232 $61,114
2003 $2,209 $13,755 $52,530 $60,224
2002 $1,891 $12,554 $41,791 $57,584
2001 $1,881 $11,533 $39,035 $57,252
2000 $1,650 $11,187 $37,601 $53,713
1999 $1,740 $10,489 $41,932 $52,064
1998 $1,709 $10,285 $40,127 $47,679
1997 $1,790 $10,101 $37,853 $44,426
1996 $1,915 $9,916 - -
1995 $1,550 $9,255 - -
1994 $1,168 $8,951 - -
1993 $1,038 $8,933 - -
1992 $1,957 $8,888 - -
1991 $2,194 $8,580 - -
1990 $2,138 $7,566 - -
1989 $2,125 - - -
1988 $2,234 - - -
1987 $2,513 - - -
1986 $4,064 - - -
1985 $3,634 - - -
1984 $3,395 - - -
1983 $3,397 - - -
1982 $2,845 - - -
1981 $2,393 - - -
1980 $2,368 - - -
1979 $2,352 - - -
1978 $2,101 - - -
1977 $2,243 - - -
1976 $1,954 - - -
1975 $1,532 - - -
1974 $1,409 - - -
1973 $851 - - -
1972 $555 - - -
1971 $457 - - -
1970 $377 - - -
1969 $345 - - -
1968 $314 - - -
1967 $283.7 - - -
1966 $262.9 - - -
1965 $247.5 - - -
1964 $221.7 - - -
1963 $209.6 - - -
1962 $205.8 - - -
1961 $200.1 - - -
1960 $195.6 - - -

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

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

Iran's GDP per capita is $5,190, ranking 119/197, compared to $59,880 in San Marino, ranking 15/197. Adjusted for purchasing power (GDP per capita PPP), Iran ranks 97th at $19,874, while San Marino ranks 17th at $78,745.

Economic indicators

Iran San Marino
Gross domestic product
$475B
2024
$2.03B
2023
GDP rank
34/197
2024
180/197
2023
GDP growth
3.66%
2023-2024
0.4%
2022-2023
GDP per capita
$5,190
2024
$59,880
2023
GDP per capita rank
119/197
2024
15/197
2023
GDP per capita, PPP
$19,874
2024
$78,745
2023
GDP per capita PPP rank
97/197
2024
17/197
2023
Government debt
$162B
2024
$1.39B
2023
Debt-to-GDP ratio
34%
2024
63.9%
2024
Government debt per person
$1,764
2024
$40,919
2023
Government debt per person rank
122/185
2024
13/185
2023
Average annual personal income after taxes
$2,964
2026
$45,474
2026
Market capitalization of domestic companies
$172B
2024
n/a
Income share by richest 10%
28.2%
2023
n/a
Income share by poorest 10%
2.8%
2023
n/a
Government expenditure, % of GDP
14.2%
2024
21%
2024
Consumer prices inflation
32.5%
2023-2024
1.2%
2023-2024
Central bank interest rate
23%
2023
n/a
Unemployment rate
7.63%
2024
4.91%
2022
Population
93468444
33967

Spending and national debt comparison by year

Iran
Spending

Debt
San Marino
Spending

Debt
1x
Year % of GDP
Iran San Marino
Government spending Government debt Government spending Government debt
2024 14.2% 34% 21% 63.9%
2023 12.8% 29.6% 21.7% 68.3%
2022 12.8% 34.5% 21.7% 70.6%
2021 13.4% 39.9% 37.1% 77.2%
2020 12.1% 47.1% 59.2% 69.8%
2019 13.6% 44.6% 22.4% 56.2%
2018 14.8% 41.6% 24.5% 56.7%
2017 16.4% 43.2% 25.6% 56.6%
2016 16.3% 45.9% 23.4% 21.4%
2015 14.1% 32.1% 26.3% 19.3%
2014 12.3% 10.9% 23.7% 21%
2013 11.5% 10.2% 30.2% 23.2%
2012 11.4% 11.7% 30.6% 17.2%
2011 14.6% 10.6% 25.4% 16.6%
2010 14.1% 12.8% 24.4% 20%
2009 15.7% 11.5% 24.8% 20.1%
2008 16.8% 10.6% 22% 15.5%
2007 14.2% 13.5% 20.7% 12.6%
2006 18.7% 15.2% 19.7% 14.2%
2005 17.9% 18.3% 19.3% 14.5%
2004 15.1% 21.1% 19% 16.9%
2003 15.7% 21.9% - 16.1%
2002 15.6% 23.4% - 17.2%
2001 13.6% 21% - 11.6%
2000 13.3% 18.2% - -
1999 15.7% 22.2% - -
1998 16.9% 29.6% - -
1997 17.4% 30.9% - -
1996 17.3% 29.3% - -
1995 21% 31.2% - -
1994 23% 41.7% - -
1993 27.2% 25.6% - -
1992 14.4% 25.2% - -
1991 14% 29.3% - -
1990 16.4% 37% - -
1989 20% 48.8% - -
1988 23.6% 53.2% - -
1987 18.6% 48.6% - -
1986 19% 47.4% - -
1985 21.6% 8.73% - -
1984 23.7% 10% - -
1983 27.5% 35.7% - -
1982 29.7% 47.7% - -
1981 33.7% 47.6% - -
1980 35.8% 35.5% - -
1979 - - - -
1978 - - - -
1977 - 9.23% - -
1976 - 6.92% - -
1975 - 8.81% - -
1974 - 6.68% - -
1973 - 12.8% - -
1972 - 12.7% - -
1971 - 14.2% - -
1970 - 14.1% - -
1969 - - - -
1968 23.6% - - -
1967 22.3% - - -
1966 20.5% - - -
1965 16.3% 14.9% - -
1964 15.4% 15.2% - -
1963 14.8% 12.4% - -
1962 15.6% 13.4% - -

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

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

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

Debt-to-GDP ratio is 34% in Iran and 63.9% in San Marino, ranking 147/185 and 71/185, respectively.

Government deficit by year

Deficit/surplus
Iran

San Marino
1x
Year Deficit/surplus, % of GDP
Iran San Marino
2024 -3.83% -0.53%
2023 -2.54% -0.72%
2022 -2.64% 0.42%
2021 -3.01% -16.4%
2020 -4.87% -37.6%
2019 -4.3% -0.11%
2018 -1.59% -1.56%
2017 -1.55% -3.49%
2016 -1.7% -0.19%
2015 -1.3% -3.32%
2014 -0.91% 1.06%
2013 -0.72% -7.74%
2012 -0.5% -7.08%
2011 -0.66% -4.05%
2010 -0.84% -2.24%
2009 -3.3% -2.46%
2008 -4.39% 0.18%
2007 -2.41% 1.83%
2006 -4.91% 1.51%
2005 -2.44% 3.58%
2004 -2.45% 2.44%
2003 -2.76% -
2002 -2.88% -
2001 0.02% -
2000 5.42% -
1999 -0.51% -
1998 -5.03% -
1997 -1.81% -
1996 -0.75% -
1995 -2.63% -
1994 -3.36% -
1993 -5.15% -
1992 -0.86% -
1991 -1.64% -
1990 -1.73% -
1989 -4.45% -
1988 -10.3% -
1987 -6.84% -
1986 -7.84% -
1985 -3.74% -
1984 -4.02% -
1983 -6.15% -
1982 -5.55% -
1981 -10.7% -
1980 -14.2% -
1979 - -
1978 - -
1977 - -
1976 - -
1975 - -
1974 - -
1973 - -
1972 - -
1971 - -
1970 - -
1969 - -
1968 -4.57% -
1967 -4% -
1966 -2.63% -
1965 -1.23% -
1964 -0.04% -
1963 0.26% -
1962 -1.39% -

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

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

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

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

Inflation comparison by year

Inflation
Iran

San Marino
1x
Year Consumer prices inflation
Iran San Marino
2024 32.5% 1.2%
2023 44.6% 5.9%
2022 43.5% 5.3%
2021 43.4% 1.6%
2020 30.6% -0.1%
2019 39.9% 0.5%
2018 18% 1.2%
2017 8.04% 1%
2016 7.25% 0.6%
2015 12.5% 0.1%
2014 16.6% 1.1%
2013 36.6% 1.6%
2012 27.3% 2.8%
2011 26.3% 2.2%
2010 10.1% 2.4%
2009 13.6% 2.4%
2008 25.4% 4.1%
2007 17.3% 2.5%
2006 10% 2.1%
2005 13.4% 1.7%
2004 14.8% 1.4%
2003 16.5% 1.3%
2002 14.3% -
2001 11.3% -
2000 14.5% -
1999 20.1% -
1998 17.9% -
1997 17.3% -

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

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

Balance of trade

Iran San Marino
Current account balance
$12.5B
2000
$446M
2023
Current account balance ranking
22/190
2000
64/190
2023
Current account balance, % of GDP
+11.4%
2000
+22%
2023
Goods imports
$15.2B
2000
$2.25B
2023
Goods exports
$28.3B
2000
$2.53B
2023
Service imports
$2.3B
2000
$894M
2023
Service exports
$1.38B
2000
$1.25B
2023
Imports of goods and services, % of GDP
28.5%
2024
155%
2023
Exports of goods and services, % of GDP
23.6%
2024
186%
2023

Economic freedom indices

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

Iran San Marino
Economic freedom 41.8 76
Economic freedom ranking 185/197 16/197
Property rights 20.2 n/a
Government integrity 16.2 n/a
Judicial effectiveness 18.7 n/a
Tax burden 81.3 n/a
Government spending 94.7 n/a
Fiscal health 83.3 n/a
Business freedom 37.4 n/a
Labor freedom 41.8 n/a
Monetary freedom 42.2 n/a
Trade freedom 55.8 n/a
Investment freedom 5 n/a
Financial freedom 5 n/a

Other economic metrics

Iran San Marino
Services, % of GDP
49.8%
2024
56.9%
2023
Industry, % of GDP
36.1%
2024
35.8%
2023
Agriculture, forestry, and fishing, % of GDP
10.8%
2024
0.02%
2023
GNI, Atlas method
$469B
2024
$1.82B
2023
GNI per capita, PPP
$19,820
2024
$71,860
2023
Total reserves including gold
$7.69B
1982
$759M
2024
Total reserves ranking
85/177
1982
146/177
2024
Net foreign direct investment
-$39M
2000
$52.7M
2023
Net inflows of foreign direct investment
$1.45B
2024
-$18.1M
2023
Net outflows of foreign direct investment
$89.4M
2024
$0
2024
Servicing debt to the IMF, % of GNI
0.08%
2024
n/a
Poverty at national poverty lines
18.7%
2020
n/a
Gross capital formation, % of GDP
44.3%
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/iran/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) | Fiscal Monitor (1990–2024, retrieved 2026-02-20)
  3. International Monetary Fund (IMF) | Public Finances in Modern History (1962–1995, 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)
  8. Central Intelligence Agency (CIA) (2020, retrieved 2026-02-20)

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.