Skip to content

Economy of Ecuador vs San Marino compared: GDP & Debt

Updated on by Georank team

Ecuador has a GDP of $125B compared to $2.03B for San Marino, ranking 62/197 and 180/197 by economy size, respectively.

Ecuador has $67B in government debt (53.8% of GDP), compared to $1.39B (63.9% of GDP) in San Marino.

Ecuador vs San Marino GDP by year

Ecuador
San Marino
1x
Year GDP, current $
Ecuador San Marino
2024 $124,676,074,700 -
2023 $121,147,057,000 $2,027,527,228
2022 $116,133,121,000 $1,829,211,864
2021 $107,179,074,000 $1,855,652,786
2020 $95,865,473,000 $1,541,248,249
2019 $107,595,830,000 $1,616,340,692
2018 $107,478,961,000 $1,655,353,653
2017 $104,467,486,000 $1,528,620,346
2016 $97,671,433,000 $1,468,343,140
2015 $97,209,558,000 $1,419,401,071
2014 $102,717,794,000 $1,673,911,426
2013 $96,570,334,000 $1,678,741,475
2012 $87,735,048,000 $1,604,701,299
2011 $78,986,648,000 $1,813,717,439
2010 $68,151,329,000 $1,881,191,925
2009 $60,094,978,000 $2,064,277,126
2008 $61,139,438,000 $2,403,213,305
2007 $49,848,725,000 $2,188,654,628
2006 $45,690,762,000 $1,909,765,165
2005 $40,278,849,000 $1,786,514,058
2004 $35,194,947,000 $1,715,340,543
2003 $30,965,208,000 $1,462,590,267
2002 $27,054,197,000 $1,148,872,072
2001 $23,127,055,000 $1,059,529,812
2000 $17,539,454,727 $1,007,661,367
1999 $19,645,272,636 $1,109,473,368
1998 $27,981,896,948 $1,048,316,226
1997 $28,162,053,027 $976,606,911
1996 $25,226,393,197 -
1995 $24,432,884,442 -
1994 $22,708,673,337 -
1993 $18,938,717,359 -
1992 $18,094,238,119 -
1991 $16,988,535,268 -
1990 $15,239,272,612 -
1989 $13,890,823,705 -
1988 $13,051,881,851 -
1987 $13,945,426,859 -
1986 $15,314,138,472 -
1985 $17,149,088,413 -
1984 $16,912,509,092 -
1983 $17,152,477,037 -
1982 $19,929,846,396 -
1981 $21,810,759,354 -
1980 $17,881,508,242 -
1979 $14,175,160,902 -
1978 $11,922,497,876 -
1977 $11,026,342,618 -
1976 $9,091,921,030 -
1975 $7,731,674,472 -
1974 $6,599,257,044 -
1973 $3,891,754,150 -
1972 $3,185,986,087 -
1971 $2,754,219,271 -
1970 $2,862,503,139 -
1969 $3,112,165,727 -
1968 $2,582,179,864 -
1967 $2,553,595,172 -
1966 $2,429,308,639 -
1965 $2,387,047,396 -
1964 $2,244,146,103 -
1963 $1,824,343,871 -
1962 $1,518,207,703 -
1961 $1,753,850,955 -
1960 $2,069,464,937 -

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

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

GDP per capita in Ecuador vs San Marino by year

Ecuador
GDP per capita

GDP per capita, PPP
San Marino
GDP per capita

GDP per capita, PPP
1x
Year Current $
Ecuador San Marino
GDP per capita GDP per capita, PPP GDP per capita GDP per capita, PPP
2024 $6,875 $15,840 - -
2023 $6,738 $15,919 $59,880 $78,745
2022 $6,516 $15,198 $54,191 $75,941
2021 $6,061 $13,507 $54,176 $64,745
2020 $5,464 $11,527 $44,327 $55,207
2019 $6,205 $12,543 $46,630 $57,444
2018 $6,304 $12,187 $47,951 $54,461
2017 $6,233 $11,793 $45,192 $52,463
2016 $5,918 $10,881 $44,359 $53,033
2015 $5,976 $10,878 $43,147 $52,247
2014 $6,406 $11,836 $51,260 $52,909
2013 $6,109 $11,296 $50,808 $50,770
2012 $5,634 $10,245 $47,946 $51,274
2011 $5,154 $9,769 $55,601 $56,240
2010 $4,520 $8,969 $56,543 $58,926
2009 $4,053 $8,662 $62,429 $61,970
2008 $4,195 $8,663 $75,902 $71,724
2007 $3,479 $8,112 $70,124 $71,744
2006 $3,244 $7,885 $63,271 $67,434
2005 $2,909 $7,457 $59,878 $63,739
2004 $2,586 $6,980 $58,232 $61,114
2003 $2,316 $6,475 $52,530 $60,224
2002 $2,059 $6,282 $41,791 $57,584
2001 $1,791 $5,999 $39,035 $57,252
2000 $1,382 $5,728 $37,601 $53,713
1999 $1,575 $5,638 $41,932 $52,064
1998 $2,284 $5,940 $40,127 $47,679
1997 $2,341 $5,793 $37,853 $44,426
1996 $2,136 $5,560 - -
1995 $2,108 $5,469 - -
1994 $1,997 $5,339 - -
1993 $1,698 $5,112 - -
1992 $1,655 $4,998 - -
1991 $1,587 $4,887 - -
1990 $1,455 $4,632 - -
1989 $1,356 - - -
1988 $1,304 - - -
1987 $1,426 - - -
1986 $1,604 - - -
1985 $1,842 - - -
1984 $1,864 - - -
1983 $1,940 - - -
1982 $2,314 - - -
1981 $2,601 - - -
1980 $2,190 - - -
1979 $1,783 - - -
1978 $1,541 - - -
1977 $1,465 - - -
1976 $1,242 - - -
1975 $1,086 - - -
1974 $954 - - -
1973 $579 - - -
1972 $488 - - -
1971 $434 - - -
1970 $465 - - -
1969 $521 - - -
1968 $445 - - -
1967 $454 - - -
1966 $445 - - -
1965 $450 - - -
1964 $436 - - -
1963 $365 - - -
1962 $312 - - -
1961 $371 - - -
1960 $451 - - -

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

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

Ecuador's GDP per capita is $6,875, ranking 103/197, compared to $59,880 in San Marino, ranking 15/197. Adjusted for purchasing power (GDP per capita PPP), Ecuador ranks 110th at $15,840, while San Marino ranks 17th at $78,745.

Economic indicators

Ecuador San Marino
Gross domestic product
$125B
2024
$2.03B
2023
GDP rank
62/197
2024
180/197
2023
GDP growth
-2%
2023-2024
0.4%
2022-2023
GDP per capita
$6,875
2024
$59,880
2023
GDP per capita rank
103/197
2024
15/197
2023
GDP per capita, PPP
$15,840
2024
$78,745
2023
GDP per capita PPP rank
110/197
2024
17/197
2023
Government debt
$67B
2024
$1.39B
2023
Debt-to-GDP ratio
53.8%
2024
63.9%
2024
Government debt per person
$3,695
2024
$40,919
2023
Government debt per person rank
93/185
2024
13/185
2023
Average annual personal income after taxes
$5,894
2026
$45,474
2026
Market capitalization of domestic companies
$747M
2000
n/a
Income share by richest 10%
33.4%
2024
n/a
Income share by poorest 10%
1.5%
2024
n/a
Government expenditure, % of GDP
38.1%
2024
21%
2024
Consumer prices inflation
1.55%
2023-2024
1.2%
2023-2024
Unemployment rate
3.39%
2024
4.91%
2022
Population
18487749
33967

Spending and national debt comparison by year

Ecuador
Spending

Debt
San Marino
Spending

Debt
1x
Year % of GDP
Ecuador San Marino
Government spending Government debt Government spending Government debt
2024 38.1% 53.8% 21% 63.9%
2023 39.5% 54.3% 21.7% 68.3%
2022 38.9% 57.2% 21.7% 70.6%
2021 37.5% 61.8% 37.1% 77.2%
2020 40.2% 63.6% 59.2% 69.8%
2019 39.8% 52.1% 22.4% 56.2%
2018 40.9% 49.5% 24.5% 56.7%
2017 40.5% 47.4% 25.6% 56.6%
2016 44.1% 46.1% 23.4% 21.4%
2015 44.1% 36.4% 26.3% 19.3%
2014 45.9% 28.2% 23.7% 21%
2013 46.7% 23.4% 30.2% 23.2%
2012 43.2% 19.3% 30.6% 17.2%
2011 39.6% 18.6% 25.4% 16.6%
2010 35.4% 18.4% 24.4% 20%
2009 34.3% 19.7% 24.8% 20.1%
2008 35.6% 24.9% 22% 15.5%
2007 24.7% 29.6% 20.7% 12.6%
2006 21.7% 33.1% 19.7% 14.2%
2005 22% 35.8% 19.3% 14.5%
2004 21.3% 40.2% 19% 16.9%
2003 21.3% 47.2% - 16.1%
2002 22.8% 55% - 17.2%
2001 21.4% 63.8% - 11.6%
2000 24.3% 92.2% - -
1999 24.1% 105.2% - -
1998 21.5% 70.3% - -
1997 22% 61.5% - -
1996 22.7% 69.3% - -
1995 22% 70.5% - -

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

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

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

Debt-to-GDP ratio is 53.8% in Ecuador and 63.9% in San Marino, ranking 98/185 and 71/185, respectively.

Government deficit by year

Deficit/surplus
Ecuador

San Marino
1x
Year Deficit/surplus, % of GDP
Ecuador San Marino
2024 -1.28% -0.53%
2023 -3.48% -0.72%
2022 0.04% 0.42%
2021 -1.59% -16.4%
2020 -7.38% -37.6%
2019 -3.47% -0.11%
2018 -2.8% -1.56%
2017 -5.77% -3.49%
2016 -10.3% -0.19%
2015 -6.87% -3.32%
2014 -8.11% 1.06%
2013 -8.17% -7.74%
2012 -2.83% -7.08%
2011 -0.13% -4.05%
2010 -1.39% -2.24%
2009 -3.71% -2.46%
2008 0.57% 0.18%
2007 2.66% 1.83%
2006 2.92% 1.51%
2005 0.66% 3.58%
2004 1.94% 2.44%
2003 1.05% -
2002 0.74% -
2001 0.03% -
2000 -0.32% -
1999 -4.82% -
1998 -5.1% -
1997 -2.83% -
1996 -3.44% -
1995 -2.02% -

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

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

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

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

Inflation comparison by year

Inflation
Ecuador

San Marino
1x
Year Consumer prices inflation
Ecuador San Marino
2024 1.55% 1.2%
2023 2.22% 5.9%
2022 3.47% 5.3%
2021 0.13% 1.6%
2020 -0.34% -0.1%
2019 0.27% 0.5%
2018 -0.22% 1.2%
2017 0.42% 1%
2016 1.73% 0.6%
2015 3.97% 0.1%
2014 3.59% 1.1%
2013 2.72% 1.6%
2012 5.1% 2.8%
2011 4.47% 2.2%
2010 3.55% 2.4%
2009 5.16% 2.4%
2008 8.4% 4.1%
2007 2.28% 2.5%
2006 3.3% 2.1%
2005 2.17% 1.7%
2004 2.74% 1.4%
2003 7.93% 1.3%
2002 12.5% -
2001 37.7% -
2000 96.1% -
1999 52.2% -
1998 36.1% -
1997 30.7% -

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

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

Balance of trade

Ecuador San Marino
Current account balance
$7.06B
2024
$446M
2023
Current account balance ranking
27/190
2024
64/190
2023
Current account balance, % of GDP
+5.66%
2024
+22%
2023
Goods imports
$27.9B
2024
$2.25B
2023
Goods exports
$34.7B
2024
$2.53B
2023
Service imports
$6.18B
2024
$894M
2023
Service exports
$3.86B
2024
$1.25B
2023
Imports of goods and services, % of GDP
26.9%
2024
155%
2023
Exports of goods and services, % of GDP
30.3%
2024
186%
2023

Economic freedom indices

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

Ecuador San Marino
Economic freedom 55.6 76
Economic freedom ranking 127/197 16/197
Property rights 33.2 n/a
Government integrity 33 n/a
Judicial effectiveness 48.1 n/a
Tax burden 74.2 n/a
Government spending 54.9 n/a
Fiscal health 90.3 n/a
Business freedom 64.3 n/a
Labor freedom 56.9 n/a
Monetary freedom 76.3 n/a
Trade freedom 66.4 n/a
Investment freedom 30 n/a
Financial freedom 40 n/a

Other economic metrics

Ecuador San Marino
Services, % of GDP
57.2%
2024
56.9%
2023
Industry, % of GDP
26.5%
2024
35.8%
2023
Agriculture, forestry, and fishing, % of GDP
9.48%
2024
0.02%
2023
GNI, Atlas method
$117B
2024
$1.82B
2023
GNI per capita, PPP
$15,410
2024
$71,860
2023
Total reserves including gold
$6.91B
2024
$759M
2024
Total reserves ranking
87/177
2024
146/177
2024
Net foreign direct investment
-$438M
2024
$52.7M
2023
Net inflows of foreign direct investment
$443M
2024
-$18.1M
2023
Net outflows of foreign direct investment
$0
2024
$0
2024
Servicing debt to the IMF, % of GNI
7%
2024
n/a
Poverty at national poverty lines
28%
2024
n/a
Gross capital formation, % of GDP
18.5%
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/ecuador/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 (1995–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. International Monetary Fund (IMF) | Public Finances in Modern History (1995–2000, retrieved 2026-02-20)
  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.

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.