Skip to content

Economy of Ghana vs San Marino compared: GDP & Debt

Updated on by Georank team

Ghana has a GDP of $82.3B compared to $2.03B for San Marino, ranking 80/197 and 180/197 by economy size, respectively.

Ghana has $57.9B in government debt (70.3% of GDP), compared to $1.39B (63.9% of GDP) in San Marino.

Ghana vs San Marino GDP by year

Ghana
San Marino
1x
Year GDP, current $
Ghana San Marino
2024 $82,308,110,386 -
2023 $80,547,146,878 $2,027,527,228
2022 $73,919,003,210 $1,829,211,864
2021 $79,514,204,730 $1,855,652,786
2020 $70,008,243,860 $1,541,248,249
2019 $68,352,629,246 $1,616,340,692
2018 $67,259,353,966 $1,655,353,653
2017 $60,385,409,435 $1,528,620,346
2016 $56,144,179,398 $1,468,343,140
2015 $49,436,806,230 $1,419,401,071
2014 $54,678,533,806 $1,673,911,426
2013 $62,845,721,960 $1,678,741,475
2012 $41,271,701,061 $1,604,701,299
2011 $39,336,668,081 $1,813,717,439
2010 $32,197,655,567 $1,881,191,925
2009 $26,048,720,006 $2,064,277,126
2008 $28,679,383,241 $2,403,213,305
2007 $24,827,339,138 $2,188,654,628
2006 $20,885,037,597 $1,909,765,165
2005 $10,744,568,381 $1,786,514,058
2004 $8,881,417,907 $1,715,340,543
2003 $7,632,723,556 $1,462,590,267
2002 $6,166,197,848 $1,148,872,072
2001 $5,314,872,854 $1,059,529,812
2000 $4,982,850,662 $1,007,661,367
1999 $7,718,109,982 $1,109,473,368
1998 $7,482,069,162 $1,048,316,226
1997 $6,891,443,192 $976,606,911
1996 $6,932,991,739 -
1995 $6,464,382,808 -
1994 $5,446,383,727 -
1993 $5,968,922,939 -
1992 $6,416,103,926 -
1991 $6,603,185,268 -
1990 $5,889,106,573 -
1989 $5,251,858,440 -
1988 $5,197,765,032 -
1987 $5,074,829,932 -
1986 $5,735,677,434 -
1985 $4,504,306,723 -
1984 $4,412,279,843 -
1983 $4,057,275,132 -
1982 $4,035,994,398 -
1981 $4,222,441,860 -
1980 $4,445,228,216 -
1979 $4,020,227,920 -
1978 $3,662,478,185 -
1977 $3,189,428,571 -
1976 $2,765,254,237 -
1975 $2,810,106,383 -
1974 $2,894,409,938 -
1973 $3,006,766,758 -
1972 $2,112,293,280 -
1971 $2,417,108,578 -
1970 $2,215,028,588 -
1969 $1,962,050,556 -
1968 $1,666,909,518 -
1967 $1,747,187,645 -
1966 $2,126,300,672 -
1965 $2,053,462,968 -
1964 $1,731,296,200 -
1963 $1,540,797,589 -
1962 $1,382,515,654 -
1961 $1,302,674,325 -
1960 $1,217,230,095 -

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

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

GDP per capita in Ghana vs San Marino by year

Ghana
GDP per capita

GDP per capita, PPP
San Marino
GDP per capita

GDP per capita, PPP
1x
Year Current $
Ghana San Marino
GDP per capita GDP per capita, PPP GDP per capita GDP per capita, PPP
2024 $2,391 $8,020 - -
2023 $2,384 $7,556 $59,880 $78,745
2022 $2,230 $7,208 $54,191 $75,941
2021 $2,445 $6,608 $54,176 $64,745
2020 $2,195 $6,047 $44,327 $55,207
2019 $2,187 $6,003 $46,630 $57,444
2018 $2,195 $5,536 $47,951 $54,461
2017 $2,012 $5,171 $45,192 $52,463
2016 $1,912 $5,011 $44,359 $53,033
2015 $1,723 $5,191 $43,147 $52,247
2014 $1,950 $5,517 $51,260 $52,909
2013 $2,295 $5,215 $50,808 $50,770
2012 $1,544 $4,934 $47,946 $51,274
2011 $1,507 $4,381 $55,601 $56,240
2010 $1,264 $3,855 $56,543 $58,926
2009 $1,048 $3,617 $62,429 $61,970
2008 $1,183 $3,516 $75,902 $71,724
2007 $1,050 $3,241 $70,124 $71,744
2006 $906 $3,103 $63,271 $67,434
2005 $479 $2,904 $59,878 $63,739
2004 $406 $2,729 $58,232 $61,114
2003 $358 $2,584 $52,530 $60,224
2002 $297.5 $2,475 $41,791 $57,584
2001 $263.5 $2,397 $39,035 $57,252
2000 $253.7 $2,315 $37,601 $53,713
1999 $403 $2,239 $41,932 $52,064
1998 $400 $2,167 $40,127 $47,679
1997 $378 $2,097 $37,853 $44,426
1996 $389 $2,026 - -
1995 $372 $1,947 - -
1994 $321 $1,875 - -
1993 $360 $1,821 - -
1992 $396 $1,739 - -
1991 $418 $1,678 - -
1990 $383 $1,581 - -
1989 $350 - - -
1988 $355 - - -
1987 $355 - - -
1986 $411 - - -
1985 $330 - - -
1984 $330 - - -
1983 $311 - - -
1982 $319 - - -
1981 $344 - - -
1980 $372 - - -
1979 $347 - - -
1978 $326 - - -
1977 $292.3 - - -
1976 $261 - - -
1975 $273 - - -
1974 $289.4 - - -
1973 $310 - - -
1972 $223.8 - - -
1971 $263.4 - - -
1970 $248.2 - - -
1969 $225.8 - - -
1968 $196.7 - - -
1967 $211.2 - - -
1966 $263.3 - - -
1965 $260.5 - - -
1964 $225 - - -
1963 $205 - - -
1962 $188.4 - - -
1961 $181.9 - - -
1960 $174.9 - - -

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

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

Ghana's GDP per capita is $2,391, ranking 151/197, compared to $59,880 in San Marino, ranking 15/197. Adjusted for purchasing power (GDP per capita PPP), Ghana ranks 140th at $8,020, while San Marino ranks 17th at $78,745.

Economic indicators

Ghana San Marino
Gross domestic product
$82.3B
2024
$2.03B
2023
GDP rank
80/197
2024
180/197
2023
GDP growth
5.59%
2023-2024
0.4%
2022-2023
GDP per capita
$2,391
2024
$59,880
2023
GDP per capita rank
151/197
2024
15/197
2023
GDP per capita, PPP
$8,020
2024
$78,745
2023
GDP per capita PPP rank
140/197
2024
17/197
2023
Government debt
$57.9B
2024
$1.39B
2023
Debt-to-GDP ratio
70.3%
2024
63.9%
2024
Government debt per person
$1,682
2024
$40,919
2023
Government debt per person rank
123/185
2024
13/185
2023
Average annual personal income after taxes
$2,110
2026
$45,474
2026
Market capitalization of domestic companies
$7.58B
2024
n/a
Income share by richest 10%
32.2%
2016
n/a
Income share by poorest 10%
1.6%
2016
n/a
Government expenditure, % of GDP
23.2%
2024
21%
2024
Consumer prices inflation
22.8%
2023-2024
1.2%
2023-2024
Central bank interest rate
25%
2025
n/a
Unemployment rate
2.87%
2022
4.91%
2022
Population
35885254
33967

Spending and national debt comparison by year

Ghana
Spending

Debt
San Marino
Spending

Debt
1x
Year % of GDP
Ghana San Marino
Government spending Government debt Government spending Government debt
2024 23.2% 70.3% 21% 63.9%
2023 18.5% 79.1% 21.7% 68.3%
2022 27.5% 92.7% 21.7% 70.6%
2021 27.2% 86.9% 37.1% 77.2%
2020 31.5% 79.1% 59.2% 69.8%
2019 22.5% 62.9% 22.4% 56.2%
2018 20.9% 62% 24.5% 56.7%
2017 17.6% 57% 25.6% 56.6%
2016 19.9% 55.9% 23.4% 21.4%
2015 18.6% 53.9% 26.3% 19.3%
2014 21% 50.1% 23.7% 21%
2013 21.6% 42.9% 30.2% 23.2%
2012 22.1% 35.5% 30.6% 17.2%
2011 19.5% 31.2% 25.4% 16.6%
2010 19% 32.9% 24.4% 20%
2009 16.6% 25.4% 24.8% 20.1%
2008 16.6% 23.2% 22% 15.5%
2007 16.8% 21.1% 20.7% 12.6%
2006 14.4% 17.3% 19.7% 14.2%
2005 12.9% 31.7% 19.3% 14.5%
2004 13.7% 38.4% 19% 16.9%
2003 12.1% 49.3% - 16.1%
2002 10.7% 54.1% - 17.2%
2001 13.8% 57.8% - 11.6%
2000 12% 74.5% - -
1999 11.1% 51.7% - -
1998 11.8% 37.6% - -
1997 12% 45.2% - -
1996 12.4% 42.9% - -
1995 13% 47.6% - -
1994 12.7% 50.6% - -
1993 12.1% 34.1% - -
1992 9.2% 21.3% - -
1991 7.09% 17.3% - -
1990 6.59% 17.8% - -
1989 7.24% 23% - -
1988 7.23% 23.5% - -
1987 7.32% 26.8% - -
1986 7.29% 18.2% - -
1985 6.08% 14.4% - -
1984 4.64% 13% - -
1983 3.49% 9.21% - -
1982 4.73% 8.51% - -
1981 5.74% 8.77% - -
1980 7.51% 9.75% - -
1979 9.14% 11.5% - -
1978 6.54% 11.4% - -
1977 10.5% 20.7% - -
1976 12.8% 26% - -
1975 13.2% 21.8% - -
1974 9.52% 21.8% - -
1973 9.35% 25.4% - -
1972 11.4% 29.8% - -
1971 11.7% 29.5% - -
1970 12.2% 31.9% - -
1969 11.2% 31.4% - -
1968 12.3% 34.5% - -
1967 11.5% 33.9% - -
1966 9.12% 29.8% - -
1965 14.2% 30.2% - -
1964 15.8% 30.8% - -
1963 15.3% 30.5% - -
1962 12.5% 11.8% - -

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

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

Debt-to-GDP ratio is 70.3% in Ghana and 63.9% in San Marino, ranking 57/185 and 71/185, respectively.

Government deficit by year

Deficit/surplus
Ghana

San Marino
1x
Year Deficit/surplus, % of GDP
Ghana San Marino
2024 -7.31% -0.53%
2023 -3.37% -0.72%
2022 -11.8% 0.42%
2021 -12% -16.4%
2020 -17.4% -37.6%
2019 -7.52% -0.11%
2018 -6.79% -1.56%
2017 -3.97% -3.49%
2016 -6.75% -0.19%
2015 -4.01% -3.32%
2014 -7.81% 1.06%
2013 -9.12% -7.74%
2012 -8.36% -7.08%
2011 -5.47% -4.05%
2010 -7.13% -2.24%
2009 -5.05% -2.46%
2008 -5.56% 0.18%
2007 -4.91% 1.83%
2006 -3.11% 1.51%
2005 -1.87% 3.58%
2004 -2.02% 2.44%
2003 -1.99% -
2002 -2.73% -
2001 -3.64% -
2000 -3.98% -
1999 -5.64% -
1998 -5.27% -
1997 -6.14% -
1996 -5.61% -
1995 -4.52% -
1994 -4.99% -
1993 -5.39% -
1992 -4.5% -
1991 -1.47% -
1990 -1.93% -
1989 -0.81% -
1988 -1.08% -
1987 -0.92% -
1986 -1.26% -
1985 -1.19% -
1984 -0.98% -
1983 -1.13% -
1982 -2.03% -
1981 -3.8% -
1980 -4.73% -
1979 -3.61% -
1978 -1.21% -
1977 -4.68% -
1976 -5.53% -
1975 -4.05% -
1974 -2.06% -
1973 -2.64% -
1972 -2.19% -
1971 0.13% -
1970 -2.35% -
1969 -2.67% -
1968 -2.34% -
1967 -2.32% -
1966 -1.29% -
1965 -3.29% -
1964 -3.72% -
1963 -5.66% -
1962 -5.04% -

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

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

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

Inflation comparison by year

Inflation
Ghana

San Marino
1x
Year Consumer prices inflation
Ghana San Marino
2024 22.8% 1.2%
2023 38.1% 5.9%
2022 31.3% 5.3%
2021 9.97% 1.6%
2020 9.89% -0.1%
2019 7.14% 0.5%
2018 7.81% 1.2%
2017 12.4% 1%
2016 17.5% 0.6%
2015 17.1% 0.1%
2014 15.5% 1.1%
2013 11.7% 1.6%
2012 11.2% 2.8%
2011 8.73% 2.2%
2010 10.7% 2.4%
2009 19.2% 2.4%
2008 16.5% 4.1%
2007 10.7% 2.5%
2006 11.7% 2.1%
2005 15.4% 1.7%
2004 18% 1.4%
2003 29.8% 1.3%
2002 9.36% -
2001 41.5% -
2000 40.2% -
1999 4.87% -
1998 14.6% -
1997 27.9% -

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

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

Balance of trade

Ghana San Marino
Current account balance
$1.68B
2024
$446M
2023
Current account balance ranking
49/190
2024
64/190
2023
Current account balance, % of GDP
+2.04%
2024
+22%
2023
Goods imports
$15.4B
2024
$2.25B
2023
Goods exports
$19.2B
2024
$2.53B
2023
Service imports
$11.5B
2024
$894M
2023
Service exports
$9.27B
2024
$1.25B
2023
Imports of goods and services, % of GDP
34.3%
2024
155%
2023
Exports of goods and services, % of GDP
35.5%
2024
186%
2023

Economic freedom indices

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

Ghana San Marino
Economic freedom 57.3 76
Economic freedom ranking 118/197 16/197
Property rights 50.2 n/a
Government integrity 45.4 n/a
Judicial effectiveness 57.5 n/a
Tax burden 79.4 n/a
Government spending 84 n/a
Fiscal health 10.1 n/a
Business freedom 64.5 n/a
Labor freedom 54.9 n/a
Monetary freedom 56.7 n/a
Trade freedom 65.2 n/a
Investment freedom 60 n/a
Financial freedom 60 n/a

Other economic metrics

Ghana San Marino
Services, % of GDP
40.9%
2024
56.9%
2023
Industry, % of GDP
31.5%
2024
35.8%
2023
Agriculture, forestry, and fishing, % of GDP
20.9%
2024
0.02%
2023
GNI, Atlas method
$79.5B
2024
$1.82B
2023
GNI per capita, PPP
$7,720
2024
$71,860
2023
Total reserves including gold
$3.62B
2023
$759M
2024
Total reserves ranking
112/177
2023
146/177
2024
Net foreign direct investment
-$1.76B
2024
$52.7M
2023
Net inflows of foreign direct investment
$1.77B
2024
-$18.1M
2023
Net outflows of foreign direct investment
$5.37M
2024
$0
2024
Servicing debt to the IMF, % of GNI
3.45%
2024
n/a
Poverty at national poverty lines
23.4%
2016
n/a
Gross capital formation, % of GDP
10%
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/ghana/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–1989, 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)

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.